{"uid":"cap_VEHl96yymZnDkShNSzgb0","slug":"toll402-dns-lookup-15c897d3","name":"Toll402 DNS Lookup","description":"The OpenRouter for AI-agent tools: one gateway, every capability, pay per call. Built-in tools, agent-forged tools, a global verified business directory, 2,438 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation) and aggregated x402 services. Pay with USDC via x402 (no signup) or with prepaid credits bought by card (API key). Charged only on success.","url":"https://toll402.dev/v1/t/dns_lookup?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":{"type":"object","required":["domain","type"],"properties":{"type":{"enum":["A","AAAA","MX","TXT","NS","CNAME"],"type":"string","description":"DNS record type"},"domain":{"type":"string","description":"Domain name to query, e.g. 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"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hzSTIPmUZsf8lto_a8m9h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a DNS record lookup for a given domain and record type (A, AAAA, MX, TXT, NS, CNAME), returning the resolved records.","exampleAgentPrompt":"Can you look up the MX records for example.com so I can see which mail servers it's using?","exampleUseCases":[{"title":"Verify email domain mail servers","prompt":"What are the MX records for gmail.com? I want to see which mail servers handle their incoming email."},{"title":"Check domain IPv4 resolution","prompt":"Look up the A record for stripe.com — I need to know what IP address it resolves to."},{"title":"Confirm SPF record for deliverability","prompt":"Can you fetch the TXT records for my domain shopify.com so I can check the SPF record is set up correctly?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean and the resolved DNS records for the queried domain and record type, including the record values as returned by the DNS resolver.","failureModes":["Domain does not exist — NXDOMAIN response, ok: false","Invalid domain format — validation error returned","Unsupported record type requested — enum validation fails","DNS timeout or upstream resolver failure — error response","No records of the requested type exist for the domain — empty result set"],"whenToPreferThis":"Choose this endpoint when an agent needs to programmatically resolve DNS records for any domain without setting up its own DNS resolver or managing API keys for a DNS provider. Ideal for pay-per-call workflows where you only occasionally need DNS lookups, or when already using Toll402 for other agent tools and want a single billing integration via USDC or prepaid credits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:22.578Z","isFirstParty":false,"canonicalSlug":"toll402-dns-lookup-15c897d3"}