Web
DNS record lookup API
Look up a domain's DNS records (A, AAAA, MX, TXT, NS, CNAME). Answers 'DNS records for this domain', 'what are the MX records', 'show the SPF/TXT records', 'where does this domain resolve'.
Price$0.01per request
MethodPOST
Route/v1/web/dns
StatusLive
MIME typeapplication/json
Rate limit90/minute
Cache300s public
webdnsdomainmxtxtrecordslookup
API URL
Integration docshttps://x402.hexl.dev/v1/web/dnsExample request
{
"domain": "example.com"
}Example response
{
"domain": "example.com",
"records": {
"A": [
"93.184.216.34"
],
"NS": [
"a.iana-servers.net"
]
}
}Input schema
{
"type": "object",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"examples": [
"example.com"
]
},
"types": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Output schema
{
"type": "object",
"required": [
"domain",
"records"
],
"properties": {
"domain": {
"type": "string"
},
"records": {
"type": "object",
"additionalProperties": true
}
}
}