Network
Know who registered a domain, when, and how it handles email
Send a domain, a URL or an email address. The API finds the RDAP server of the registry in the IANA bootstrap file and reads the registration: creation and expiry dates, age, registrar, status codes, nameservers and DNSSEC. It resolves the A, AAAA, MX, NS and TXT records and sums up email authentication: MX, SPF, DMARC policy and whether the domain is a disposable email domain.
What one lookup returns
The fields this product reads from the response. The full schema is in the API reference.
| Field | Type | Meaning |
|---|---|---|
| status | string | registered, not_registered or unknown. |
| rdap.status | string | found, not_found, unsupported (no RDAP server for the TLD) or error. |
| registration.created_at | string or null | Registration date, from the registry. |
| registration.expires_at | string or null | Expiration date, from the registry. |
| registration.age_days | integer or null | Whole days since the registration date. |
| registration.registrar.name | string or null | Name of the registrar. |
| registration.statuses | array | RDAP status values, such as client transfer prohibited. |
| registration.nameservers | array | Nameservers the registry delegates to. |
| registration.dnssec | boolean or null | true when the delegation is signed. |
| dns.a | array | IPv4 addresses of the domain. |
| dns.mx | array | Mail exchangers, by priority. |
| dns.txt.verifications | array | Services whose verification token is published in TXT. |
| email.spf | boolean | true when the domain publishes an SPF record. |
| email.dmarc_policy | string or null | none, quarantine or reject. |
| email.disposable | boolean | true when the domain is a disposable email domain. |
Live example
The response below was returned by the API for this request.
curl https://api.qelka.com/v1/domain \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"domain":"cloudflare.com"}'| domain | string · RequiredA domain name. A URL or an email address also works: its registrable domain is used. |
|---|---|
| fresh | boolean · Default falsetrue skips the result cache and runs the lookup again. |
Response
{
"id": "lkp_01M875D1RE89KBPYC9QGDPVNSN",
"object": "domain",
"input": "cloudflare.com",
"domain": "cloudflare.com",
"tld": "com",
"status": "registered",
"rdap": {
"status": "found",
"server": "https://rdap.verisign.com/com/v1/"
},
"registration": {
"created_at": "2009-02-17T22:07:54.000Z",
"updated_at": "2024-01-09T16:45:28.000Z",
"expires_at": "2033-02-17T22:07:54.000Z",
"age_days": 6488,
"expires_in_days": 2277,
"registrar": {
"name": "Cloudflare, Inc.",
"iana_id": "1910"
},
"statuses": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited",
"server delete prohibited",
"server transfer prohibited",
"server update prohibited"
],
"nameservers": [
"ns3.cloudflare.com",
"ns4.cloudflare.com",
"ns5.cloudflare.com",
"ns6.cloudflare.com",
"ns7.cloudflare.com"
],
"dnssec": true
},
"dns": {
"status": "NOERROR",
"a": [
"104.16.132.229",
"104.16.133.229"
],
"aaaa": [
"2606:4700::6810:84e5",
"2606:4700::6810:85e5"
],
"mx": [
{
"priority": 5,
"exchange": "mxa-canary.global.inbound.cf-emailsecurity.net"
},
{
"priority": 5,
"exchange": "mxb-canary.global.inbound.cf-emailsecurity.net"
},
{
"priority": 10,
"exchange": "mxa.global.inbound.cf-emailsecurity.net"
},
{
"priority": 10,
"exchange": "mxb.global.inbound.cf-emailsecurity.net"
}
],
"ns": [
"ns3.cloudflare.com",
"ns4.cloudflare.com",
"ns5.cloudflare.com",
"ns6.cloudflare.com",
"ns7.cloudflare.com"
],
"txt": {
"records": 29,
"spf": "v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all",
"verifications": [
"apple",
"atlassian",
"cisco",
"facebook",
"google",
"microsoft",
"miro",
"onetrust",
"stripe"
]
}
},
"email": {
"mx": true,
"null_mx": false,
"provider": null,
"spf": true,
"spf_all": "fail",
"dmarc": true,
"dmarc_policy": "reject",
"disposable": false
},
"credits_used": 1,
"cached": false
}Use cases
Screen new sign-ups
A domain registered a few days ago, without MX or DMARC, is worth a second look before you grant a trial.
Qualify leads
Read the age, mail provider and DNS setup of a company domain before sales reaches out.
Watch your own domains
Track expiry dates, registry locks and DNSSEC on the domains your business depends on.
Review suppliers and partners
Check that the domain in an invoice or a payment request is not days old.
Price
1 credit per lookup, from the same balance as every other product.
- Starter
- $2.90 per 1,000 lookups
- Growth
- $1.98 per 1,000 lookups
- Scale
- $1.50 per 1,000 lookups
- Business
- $1.07 per 1,000 lookups
The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.
See pricingData source and freshness
Queried live from the source at request time. Results are cached for 1 days; send "fresh": true to query again.
- IANA RDAP bootstrap file for domain names, and the registry RDAP servers it lists
License: CC0-1.0 · Refresh: per request
- disposable-email-domains blocklist
License: CC0-1.0 · Refresh: weekly
Frequently asked questions
Where does the registration data come from?
Why is the registration empty for some domains?
How is the age computed?
Does the response include the owner of the domain?
What costs a credit?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time