Skip to content
Admin Toolkit
Sign inSign up free
For developers

Developer API

Use the toolkit checks from scripts, monitors and onboarding flows. Every endpoint returns JSON and is described in an OpenAPI document.

Getting started

Without a key, calls share the free allowance of your network address. With a key from the API keys page a call counts against that key's own daily quota and per-minute limit instead, which you set per key below (10 to 50,000 a day, 1 to 60 a minute). Send the key as Authorization: Bearer or x-api-key. A wrong key gets 401, a used-up quota 429 with retryAfter in seconds.

curl -s "https://YOUR-TOOLKIT-HOST/api/mail-health?domain=example.com&expectedSpf=_spf.orbitly.example" \ -H "Authorization: Bearer ftk_your_key_here"

Download the OpenAPI document

The open port check is not part of the API: it needs a browser check on purpose, so it cannot be used for scanning.

Quota per key

Each key has its own daily quota (10 to 50,000 calls) and a limit per minute (1 to 60). Use a low quota for a monitor and a higher one for a batch job. Create or revoke keys.

DNS

GET/api/dnsDNS records

Looks up one record type, or the common types together, through a public resolver.

ParameterRequiredMeaning
domainYesA domain name (the alias `name` also works). Example: example.com
typeNoRecord type, or ALL (the default). Example: MX
GET/api/propagationDNS propagation

Asks twelve public resolvers (different operators and regions) the same question and compares the answers with an expected value.

ParameterRequiredMeaning
nameYesName to look up. Example: example.com
typeNoRecord type. Example: A
expectedNoValue the record should have now.

Registry

GET/api/rdapRegistration details

Registrar, dates, status and name servers from the registry (RDAP, or WHOIS text where the ending has no RDAP).

ParameterRequiredMeaning
domainYesA domain name. Internationalised names are accepted. Example: example.com
GET/api/domain-availabilityDomain availability

Available, taken or premium for each name and ending (at most 24 checks).

ParameterRequiredMeaning
namesYesComma separated names without the ending, up to 8. Example: coffeehub,brewlabs
tldsNoComma separated endings, up to 6. Example: com,in

Email

GET/api/mail-healthEmail setup summary

MX, SPF, DKIM and DMARC together, with a score, the fixes in priority order and records to add. The expected* parameters are how Mail onboarding checks the records it asked a customer to publish.

ParameterRequiredMeaning
domainYesA domain name. Internationalised names are accepted. Example: example.com
dkimSelectorNoDKIM selector to check. Without one, common selectors are tried.
expectedMxNoComma separated mail hosts the MX records should contain.
expectedSpfNoComma separated includes the SPF record should contain, at any depth, for example _spf.orbitly.example.
GET/api/checkOne email check

Runs the SPF, DKIM, DMARC or MX check on its own.

ParameterRequiredMeaning
checkYesWhich check to run. Example: spf
domainYesA domain name. Internationalised names are accepted. Example: example.com
selectorNoDKIM selector (dkim only).
GET/api/blocklistBlocklist check

Checks an IPv4 address, or the addresses of a domain's mail servers, against 16 public DNS blocklists and links to each list's delisting page.

ParameterRequiredMeaning
domainNoDomain whose mail servers to check. Example: example.com
ipNoIPv4 address to check instead. Example: 192.0.2.10

Network

GET/api/ip-ownerIP ownership

Network name, address range, country and abuse contact from the regional internet registry.

ParameterRequiredMeaning
ipYesIPv4 or IPv6 address. Example: 203.0.113.7
GET/api/reverse-ipReverse IP

The PTR record of an address and, when a passive DNS source is connected, the domains seen on it.

ParameterRequiredMeaning
ipYesIPv4 or IPv6 address. Example: 203.0.113.7
limitNoPage size, 1 to 100. Example: 25
offsetNoItems to skip. Example: 0
GET/api/geoipIP location

Country, network and city for public IP addresses, from the GeoIP data file the operator has loaded.

ParameterRequiredMeaning
ipYesUp to 20 public addresses, comma separated. Example: 8.8.8.8
GET/api/tlsTLS certificate or SMTP banner

Certificate chain, expiry, host match and protocol of a public server; with smtp=1, the SMTP greeting and STARTTLS support (no mail is sent).

ParameterRequiredMeaning
hostYesPublic host name or address. Example: example.com
portNoOne of 25, 465, 587, 443, 993, 995, 8443. Example: 443
smtpNoSet to 1 for the SMTP test.

Security

GET/api/pgp-lookupPublic key lookup

Public keys for an email address from Web Key Directory and keys.openpgp.org.

ParameterRequiredMeaning
emailYesEmail address. Example: sample@example.com

More tools