{"uid":"cap_7jkSFAIB904x_Y74ZSqX_","slug":"dns-inventory-lookup-api-aa393b0a","name":"DNS Inventory Lookup API","description":"Paid deterministic utility APIs settled in native USDC on Base.","url":"https://x402-url-evidence.vercel.app/api/dns-inventory?utm_source=zero.xyz","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":{"required":["domain"],"properties":{"domain":{"type":"string","description":"DNS hostname without a URL path"},"recordTypes":{"type":"array","items":{"enum":["A","AAAA","CNAME","MX","NS","TXT"],"type":"string"}}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"domain":"example.com","records":{"A":{"status":"ok","values":["93.184.216.34"]}},"recordTypes":["A"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__Oe-z-18EY7mvGWzMFdTS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up DNS records for a given hostname and returns the values for specified record types (A, AAAA, CNAME, MX, NS, TXT).","exampleAgentPrompt":"Can you pull up all the DNS records for github.com — I want to see the A, MX, and TXT records?","exampleUseCases":[{"title":"Email deliverability audit","prompt":"Can you check the MX and TXT DNS records for mycompany.com? I need to see if SPF and DKIM are configured correctly before we send our campaign."},{"title":"Domain takeover detection","prompt":"Look up the CNAME and A records for staging.acme.io — I want to make sure the subdomain is still pointing somewhere valid and hasn't been abandoned."},{"title":"IPv6 readiness check","prompt":"Does api.example.com have an AAAA record? I'm trying to find out if it supports IPv6 before we migrate our infrastructure."}],"resultDescription":"Returns a JSON object containing the queried domain name, the list of requested record types, and for each type the resolution status ('ok' or error) and an array of resolved values (e.g. IP addresses, hostnames, TXT strings).","failureModes":["Invalid or non-existent domain returns an error status per record type","Unsupported record types are rejected at input validation","Network/DNS resolution timeout may result in a failed status","Malformed domain string (e.g. including URL path) causes a validation error","Payment failure via x402 prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, paid, programmatic DNS lookup with structured JSON output for specific record types. Prefer it over free public DNS APIs when you need reliable, auditable results settled on-chain, or when operating in an x402-native agent payment environment. It is especially useful when you need to inspect multiple record types (A, AAAA, CNAME, MX, NS, TXT) in a single call for a given hostname.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:57:01.376Z","isFirstParty":false,"canonicalSlug":"dns-inventory-lookup-api-aa393b0a"}