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.
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
/api/dnsDNS recordsLooks up one record type, or the common types together, through a public resolver.
| Parameter | Required | Meaning |
|---|---|---|
domain | Yes | A domain name (the alias `name` also works). Example: example.com |
type | No | Record type, or ALL (the default). Example: MX |
/api/propagationDNS propagationAsks twelve public resolvers (different operators and regions) the same question and compares the answers with an expected value.
| Parameter | Required | Meaning |
|---|---|---|
name | Yes | Name to look up. Example: example.com |
type | No | Record type. Example: A |
expected | No | Value the record should have now. |
Registry
/api/rdapRegistration detailsRegistrar, dates, status and name servers from the registry (RDAP, or WHOIS text where the ending has no RDAP).
| Parameter | Required | Meaning |
|---|---|---|
domain | Yes | A domain name. Internationalised names are accepted. Example: example.com |
/api/domain-availabilityDomain availabilityAvailable, taken or premium for each name and ending (at most 24 checks).
| Parameter | Required | Meaning |
|---|---|---|
names | Yes | Comma separated names without the ending, up to 8. Example: coffeehub,brewlabs |
tlds | No | Comma separated endings, up to 6. Example: com,in |
/api/mail-healthEmail setup summaryMX, 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.
| Parameter | Required | Meaning |
|---|---|---|
domain | Yes | A domain name. Internationalised names are accepted. Example: example.com |
dkimSelector | No | DKIM selector to check. Without one, common selectors are tried. |
expectedMx | No | Comma separated mail hosts the MX records should contain. |
expectedSpf | No | Comma separated includes the SPF record should contain, at any depth, for example _spf.orbitly.example. |
/api/checkOne email checkRuns the SPF, DKIM, DMARC or MX check on its own.
| Parameter | Required | Meaning |
|---|---|---|
check | Yes | Which check to run. Example: spf |
domain | Yes | A domain name. Internationalised names are accepted. Example: example.com |
selector | No | DKIM selector (dkim only). |
/api/blocklistBlocklist checkChecks 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.
| Parameter | Required | Meaning |
|---|---|---|
domain | No | Domain whose mail servers to check. Example: example.com |
ip | No | IPv4 address to check instead. Example: 192.0.2.10 |
Network
/api/ip-ownerIP ownershipNetwork name, address range, country and abuse contact from the regional internet registry.
| Parameter | Required | Meaning |
|---|---|---|
ip | Yes | IPv4 or IPv6 address. Example: 203.0.113.7 |
/api/reverse-ipReverse IPThe PTR record of an address and, when a passive DNS source is connected, the domains seen on it.
| Parameter | Required | Meaning |
|---|---|---|
ip | Yes | IPv4 or IPv6 address. Example: 203.0.113.7 |
limit | No | Page size, 1 to 100. Example: 25 |
offset | No | Items to skip. Example: 0 |
/api/geoipIP locationCountry, network and city for public IP addresses, from the GeoIP data file the operator has loaded.
| Parameter | Required | Meaning |
|---|---|---|
ip | Yes | Up to 20 public addresses, comma separated. Example: 8.8.8.8 |
/api/tlsTLS certificate or SMTP bannerCertificate chain, expiry, host match and protocol of a public server; with smtp=1, the SMTP greeting and STARTTLS support (no mail is sent).
| Parameter | Required | Meaning |
|---|---|---|
host | Yes | Public host name or address. Example: example.com |
port | No | One of 25, 465, 587, 443, 993, 995, 8443. Example: 443 |
smtp | No | Set to 1 for the SMTP test. |
Security
/api/pgp-lookupPublic key lookupPublic keys for an email address from Web Key Directory and keys.openpgp.org.
| Parameter | Required | Meaning |
|---|---|---|
email | Yes | Email address. Example: sample@example.com |