UnifyAPI
← Back to catalog

whois.dns_lookup

mock data$0.003 / call

DNS Record Lookup

Get DNS records for a domain — A, AAAA, MX, NS, SOA, TXT, CNAME, SRV, CAA records with TTL and raw data (WhoisXML)

Securityprovider: Whois#whois#security

Input schema

domainrequired

Domain name to look up DNS records for (e.g. "google.com")

string
record_type

DNS record type to query: A, AAAA, MX, NS, SOA, TXT, CNAME, SRV, CAA, or _all (default _all)

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/whois.dns_lookup \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"domain":"<domain>","record_type":"<record_type>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.