Endpoints
All responses are application/json. CORS is open for GET.
GET https://dnsfetch.com/api/dns?domain=example.com&type=NS GET https://dnsfetch.com/api/whois?domain=example.com GET https://dnsfetch.com/api/rdap?domain=example.com GET https://dnsfetch.com/api/ip?ip=8.8.8.8 GET https://dnsfetch.com/api/uptime?host=example.com
Example
curl "https://dnsfetch.com/api/dns?domain=example.com&type=A"
Record types for /dns: A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, SRV, ALL. Default is NS.
Do not scrape. If you need a higher cap, contact us.