{"uid":"cap_8O2kj_BrOy_eo6McTuk0G","slug":"api-the402-ai-8d3fedf8","name":"the402.ai DNS Lookup","description":"Purchase: DNS Lookup","url":"https://api.the402.ai/v1/services/svc_e792d80431954f7b/purchase","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","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_uZqHVfDeZiMmxj8ffyOUJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a DNS lookup for a given domain and returns DNS records, paid per-call via x402 micropayment.","exampleAgentPrompt":"Look up the DNS records for github.com — I want to see the A, MX, and TXT records.","exampleUseCases":[{"title":"Verify email domain MX records","prompt":"Can you check the MX records for acmecorp.com? I need to confirm their mail servers are set up correctly before we try sending them emails."},{"title":"Confirm domain nameserver configuration","prompt":"Look up the nameservers for mybusiness.io — I just transferred the domain and want to make sure the NS records have propagated to the new registrar."},{"title":"Check TXT records for domain ownership","prompt":"Pull up the TXT records for startup.dev so I can verify the Google Search Console and SPF records are in place."}],"resultDescription":"Returns DNS records for the queried domain, including record types (A, AAAA, MX, CNAME, TXT, NS, etc.), values, and TTL information.","failureModes":["Domain does not exist (NXDOMAIN) — returns error indicating non-existent domain","Invalid domain format — returns validation error","DNS resolution timeout — returns timeout error","Unsupported record type — returns unsupported type error","Payment failure — x402 payment not accepted, returns 402 status"],"whenToPreferThis":"Use this endpoint when an agent needs programmatic DNS resolution as part of a workflow, domain validation, network diagnostics, or email configuration checks, and is operating in an x402-enabled micropayment environment on the the402.ai platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:27:42.165Z","isFirstParty":false}