DNS Lookup API Documentation
Complete reference for the DNS Lookup API
Authentication
Authorization: Bearer sk_live_your_key_here
GET POST /v1/dns/lookup
Parameters
| Field | Type | Description |
|---|---|---|
domain | string | Domain to query (required) |
types | string | Comma-separated record types: A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, PTR (default: A,AAAA,CNAME,MX,NS,TXT,SOA) |
Example
curl "https://snapapis.com/api/v1/dns/lookup?api_key=YOUR_KEY&domain=example.com&types=A,MX,TXT"