Domain
DNS record lookup API
Resolve common DNS records for a domain using the gateway resolver.
Price$0.01per request
MethodGET
Route/v1/domain/dns
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache60s public
domaindnsresolvetrust
API URL
Integration docshttps://x402.hexl.dev/v1/domain/dnsExample request
{
"domain": "example.com",
"type": "ALL"
}Example response
{
"domain": "example.com",
"records": {
"A": [
"93.184.216.34"
],
"MX": []
},
"errors": [],
"provider": "node-dns"
}Input schema
{
"type": "object",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"A",
"AAAA",
"MX",
"TXT",
"NS",
"CAA",
"SOA",
"ALL"
],
"default": "ALL"
}
}
}Output schema
{
"type": "object",
"required": [
"domain",
"records",
"provider"
],
"properties": {
"domain": {
"type": "string"
},
"records": {
"type": "object",
"additionalProperties": true
},
"errors": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"provider": {
"type": "string"
}
}
}