Email authentication
GET
/api/v1/dkim-checkerPacketFlo DKIM Checker API
Cost: 1 credit per request
Check whether a DKIM key is published for a domain and selector.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain to check. |
selector | string | Yes | DKIM selector, e.g. "google" or "selector1". |
Example request
curl "https://packetflo.io/api/v1/dkim-checker?domain=example.com&selector=google&api_key=YOUR_API_KEY"
Example response
{ "ok": true, "data": { "domain": "example.com", "selector": "google", "found": false, "record": null, "keyType": null, "hasPublicKey": false }, "meta": { "tool": "dkim-checker", "version": "v1" } }
Reading the result
Looks up TXT data at the supplied selector. found means TXT data exists there; it does not prove a message signature is valid.
Response fields
| Field | What it tells you |
|---|---|
domain / selector | The name used to query selector._domainkey.domain. |
record / found | The first TXT record or null when none was returned. |
keyType / hasPublicKey | Declared key type (defaulting to RSA when omitted) and whether a nonempty public-key tag exists. This does not validate the key cryptographically. |
Scope and limits
Requires the actual selector; it does not discover selectors or verify email signatures. DNS failures can appear as missing records.
Authentication and errors
Send your key in the x-api-key header, or the supported api_key query parameter. Each request uses 1 credit from the key's shared 300-credit rolling 24-hour budget. Credits are charged before parameter validation. Successful responses and quota errors include usage headers; GET and OPTIONS support CORS.
| API status | Meaning |
|---|---|
200 | The diagnostic returned a result in data, with ok: true and version information in meta. Read the diagnostic fields to determine the target's condition. |
400 | Invalid or blocked input, or a lookup/check failure that could not be returned as a diagnostic result. Read error for details. |
401 | Missing, invalid or revoked API key. |
429 | The request would exceed the key's available credit budget. |