{"uid":"cap_j7GcRMsG9QlbWUysNljYR","slug":"dns-lookup-api-x402-9b05b257","name":"DNS Lookup API (x402)","description":"DNS lookup for AI agents — give a hostname (+ optional record type A/AAAA/MX/TXT/NS/CNAME/SOA) → its DNS records as JSON, resolved via public resolvers. Pay-per-call in USDC via x402 — no signup, no API key. Use for domain research, mail-deliverability (MX), SPF/DKIM/DMARC (TXT), and verifying where a name points.","url":"https://api-production-17e1.up.railway.app/dns","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_rGm8-cYwcsLR-5le8Rp_H","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":"Resolves DNS records for a given hostname and optional record type, returning structured JSON results via pay-per-call USDC payment.","exampleAgentPrompt":"Can you look up the MX and TXT records for example.com so I can check its mail deliverability and verify its SPF configuration?","exampleUseCases":[{"title":"Verify email authentication setup","prompt":"I need to check if our partner's domain has proper SPF, DKIM, and DMARC records configured. Can you look up all the TXT records for their domain and tell me if the email authentication looks solid?"},{"title":"Troubleshoot DNS configuration issues","prompt":"We're migrating our subdomain to a new hosting provider. Can you resolve the current CNAME and A records for api.ourcompany.com so I can see what they're pointing to right now?"},{"title":"Audit domain nameserver delegation","prompt":"I'm doing a security audit of our acquired company's infrastructure. Can you pull the NS records and MX records for their main domain so I can verify they're using the correct nameservers and mail providers?"}],"resultDescription":"A JSON object containing the resolved DNS records for the requested hostname, including record type, TTL, and record values (e.g. IP addresses, mail server hostnames, TXT strings, nameservers, etc.).","failureModes":["Invalid or non-existent hostname returns an error or empty record set","Unsupported record type parameter returns an error","DNS resolution timeout if the authoritative server is slow or unreachable","Payment failure (x402) if USDC balance is insufficient or payment not provided","Malformed hostname input returns a validation error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically resolve DNS records for a domain without requiring an API key or signup — ideal for one-off domain research, email deliverability checks (MX), SPF/DKIM/DMARC verification (TXT), or confirming where a hostname points (A/CNAME). Prefer this over manual DNS tools when operating in an automated pipeline that supports x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-08-24T04:42:40.687Z","isFirstParty":false}