WHOIS lookup

Look up a domain's registration details: registrar, registration and expiry dates, and authoritative nameservers.

This is a synchronous GET — the response is returned directly.

Endpoint

GET
/v1/info/whois?q={domain}
  • Base URLhttps://api-prod.idcd.com/v1
  • AuthAuthorization: Bearer sk_live_...
ParameterTypeRequiredDefaultDescription
qstring
required
Domain to look up (query string).

Response

FieldTypeDescription
domainstringThe looked-up domain.
registrarstringRegistrar name.
creation_datestringRegistration date.
expiry_datestringExpiry date.
name_serversstring[]Authoritative nameservers.
notestringPresent when the lookup partially failed or the TLD is unsupported.

Example

curl -s "https://api-prod.idcd.com/v1/info/whois?q=example.com" \
  -H "Authorization: Bearer sk_live_xxx"
# => {"data":{"domain":"example.com","registrar":"...","creation_date":"1995-08-14",
#             "expiry_date":"2026-08-13","name_servers":["a.iana-servers.net"]}}

WHOIS online tool

Look up a domain in the browser — no API key required.