{"uid":"cap_DCtwk2lAPpjlxetO381mh","slug":"ipintel-ai-dns-lookup-7ce0e725","name":"IPIntel.ai DNS Lookup","description":"DNS Lookup API. Resolve domain DNS records and receive structured JSON with A, AAAA, MX, NS, TXT, CAA, and SOA records. Useful for agents, developers, domain diagnostics, email setup checks, DNS troubleshooting, and infrastructure investigation. Paid per call via x402.","url":"https://tools.ipintel.ai/dns-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["domain"],"properties":{"types":{"type":"array","items":{"enum":["A","AAAA","MX","NS","TXT","CAA","SOA"],"type":"string"},"description":"Optional DNS record types to return"},"domain":{"type":"string","description":"Domain name to query, for example example.com"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"types":{"type":"array","items":{"type":"string"}},"domain":{"type":"string"},"records":{"type":"object","properties":{"A":{"type":"array","items":{"type":"string"}},"MX":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"priority":{"type":"integer"}},"additionalProperties":true}},"NS":{"type":"array","items":{"type":"string"}},"TXT":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"service":{"type":"string"},"timestamp":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"types":["A","MX","NS","TXT"],"domain":"example.com","records":{"A":["93.184.216.34"],"MX":[{"host":"mail.example.com","priority":10}],"NS":["a.iana-servers.net","b.iana-servers.net"],"TXT":["v=spf1 -all"]},"service":"dns_lookup","timestamp":"2026-06-22T18:15:01+00:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zDF55BZVipouhFP1zC30y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a full DNS record lookup for a domain, returning A, MX, NS, TXT, and other record types in a structured JSON response.","exampleAgentPrompt":"Can you look up all the DNS records for stripe.com — I want to see the A, MX, NS, and TXT records?","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok status, domain name, service identifier, timestamp, and a records map containing arrays for each DNS record type found (e.g. A records as IP strings, MX records as host/priority pairs, NS records as nameserver strings, TXT records as raw strings).","failureModes":["Domain does not exist or cannot be resolved — returns error or empty records","Invalid domain format supplied — may return validation error","Network timeout reaching upstream DNS resolver — may return 5xx error","Payment not attached or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need programmatic, pay-per-call DNS record resolution for a specific domain without managing DNS resolver infrastructure yourself. Ideal for agents performing domain diagnostics, email deliverability checks, or infrastructure validation that need structured JSON output of all major DNS record types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:37:35.412Z","isFirstParty":false}