{"uid":"cap_3gyLY6RjfQr5QlAJDaK6v","slug":"fastx402-dns-lookup-0541cda0","name":"FastX402 DNS Lookup","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/dns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Domain or host name"},"type":{"enum":["A","NS","CNAME","SOA","PTR","MX","TXT","AAAA","SRV","CAA"],"type":"string","description":"Record type, default A"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"answers":{"type":"array","items":{"type":"object","properties":{"ttl":{"type":"integer"},"data":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"MX","status":"NOERROR","answers":[{"ttl":3600,"data":"0 .","name":"example.com","type":"MX"}]}},"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":"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_geSpnM5cAGVDOtD11R9Nz","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 name and returns structured DNS record data including answers, TTL, and status.","exampleAgentPrompt":"What are the MX records for gmail.com right now?","exampleUseCases":[{"title":"Email deliverability verification","prompt":"Check the MX records for acme.com — I need to know what mail servers it's pointing to and their priority."},{"title":"Domain IP resolution check","prompt":"What IP address does stripe.com resolve to? Look up its A record for me."},{"title":"SPF record audit","prompt":"Pull the TXT records for shopify.com so I can see what SPF and DKIM entries are configured."}],"resultDescription":"Returns a JSON object with the queried domain name, record type, a status string (e.g. NOERROR), and an array of answer objects each containing the record name, type, TTL in seconds, and data value (e.g. IP address, mail server hostname, or text string).","failureModes":["Domain does not exist — returns NXDOMAIN status with empty answers array","Invalid record type enum value — request rejected with validation error","Network or resolver timeout — upstream DNS failure","Malformed domain name input — query rejected","Payment not fulfilled — x402 payment required error before processing"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-account-required DNS record lookup payable per-call with USDC on Base. Ideal for agents that occasionally need DNS resolution without maintaining API key credentials, or when querying specific record types (MX, TXT, CNAME, AAAA, etc.) in an automated pipeline. Not suited for bulk DNS scanning or high-volume lookups where a dedicated DNS API subscription would be more cost-effective.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:50.658Z","isFirstParty":false,"canonicalSlug":"fastx402-dns-lookup-0541cda0"}