TapCub is live — analytics, insights and live chat, free on one platform

Website checks API DNS and WHOIS Lookup API

Send a domain and get its DNS records and registration data, such as registrar and dates, in one response.

POSThttps://api.pathclue.com/v1/site/dnsBeta
Request

Call it from your code

Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.

terminal
curl -X POST https://api.pathclue.com/v1/site/dns \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com","types":"A,MX,TXT"}'
Parameters

Request parameters

Request parameters
ParameterTypeRequiredDefaultDescription
domainstringYes—Domain name (a URL or email address also works). An IP address looks up its PTR record.
typesstringNo—Record types to look up, comma separated (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV). Default: all except SRV.
whoisbooleanNotrueAlso look up registration data (RDAP, the successor of WHOIS) at the registry and registrar.
Response

Example response

Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.

response.json
{
  "domain": "example.com",
  "queryName": "example.com",
  "exists": true,
  "dnssec": true,
  "queries": [
    {
      "type": "A",
      "rcode": "NOERROR",
      "count": 1
    },
    {
      "type": "MX",
      "rcode": "NOERROR",
      "count": 1
    },
    {
      "type": "TXT",
      "rcode": "NOERROR",
      "count": 2
    }
  ],
  "records": [
    {
      "type": "A",
      "name": "example.com",
      "ttl": 300,
      "value": "93.184.215.14"
    },
    {
      "type": "MX",
      "name": "example.com",
      "ttl": 300,
      "value": "0 .",
      "priority": 0,
      "host": ".",
      "provider": null
    },
    {
      "type": "TXT",
      "name": "example.com",
      "ttl": 300,
      "value": "v=spf1 -all",
      "kind": "spf"
    }
  ],
  "issues": [
    {
      "level": "ok",
      "key": "found",
      "vars": {
        "n": 3,
        "name": "example.com"
      }
    },
    {
      "level": "ok",
      "key": "dnssecAd"
    }
  ],
  "resolver": "cloudflare-dns.com",
  "whois": {
    "domain": "example.com",
    "state": "ok",
    "server": "rdap.verisign.com",
    "registered": true,
    "name": "example.com",
    "created": "1995-08-14T04:00:00Z",
    "expires": "2027-08-13T04:00:00Z",
    "ageDays": 11433,
    "expiresInDays": 254,
    "registrar": {
      "name": "RESERVED-Internet Assigned Numbers Authority",
      "ianaId": "376",
      "abuse": null
    },
    "status": [
      "clientDeleteProhibited",
      "clientTransferProhibited",
      "clientUpdateProhibited"
    ],
    "nameservers": [
      "a.iana-servers.net",
      "b.iana-servers.net"
    ],
    "dnssec": true,
    "contacts": [],
    "issues": [
      {
        "level": "ok",
        "key": "registered",
        "vars": {
          "domain": "example.com",
          "date": "1995-08-14",
          "server": "rdap.verisign.com"
        }
      },
      {
        "level": "ok",
        "key": "locked"
      },
      {
        "level": "ok",
        "key": "dnssecOn"
      }
    ]
  }
}
Price and limits

What it costs

What it costs
Price1 credit per call
In US dollarsabout $0.001 · $1 / 1,000
CreditsFree or paid credits
Rate limitFree 10 / min · Plus 60 / min · Pro 300 / min
Free daily cap1,000 calls a day per key on free accounts
ChargedOnly on success — errors and timeouts are free
Use cases

What people build with it

Domain due diligence

Check age, registrar and records before you buy or trust a domain.

Email setup checks

Confirm MX and TXT records after a migration.

Change monitoring

Get alerted when nameservers or records change.

FAQ

Frequently asked questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Is WHOIS data complete?

Many registries hide owner details for privacy. The result returns what the registry publishes, such as registrar and dates.

How fresh are DNS results?

Lookups are live queries, so results follow each record’s TTL like any resolver.

How much does the DNS and WHOIS Lookup API cost?

Each successful call costs 1 credit per call (about $0.001). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.

Can I try it for free?

Yes. New accounts get 300 credits and every account gets 30 free credits a day, and they work on this endpoint. You can also try the matching free tool on tapcub.com without a key.

What are the rate limits?

Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.

How do I get an API key?

Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.

Get your API key

Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.