{"uid":"cap_x4KQ-rQ8tb4q1X9pii8Gq","slug":"allthebot-dns-lookup-c8e75739","name":"AllTheBot DNS Lookup","description":"Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.","url":"https://api.zkrobotics.fr/x402/domain/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["domain"],"properties":{"type":{"type":"string","maxLength":60},"domain":{"type":"string","maxLength":253}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"domain":"coinbase.com","exists":true,"source":"Cloudflare public DNS-over-HTTPS (1.1.1.1)","records":{"A":[{"ttl":135,"value":"172.64.152.241"},{"ttl":135,"value":"104.18.35.15"}],"MX":[{"ttl":300,"host":"aspmx.l.google.com","priority":1},{"ttl":300,"host":"alt1.aspmx.l.google.com","priority":5}]},"dnssec_validated":false}},"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_05JA2IGg463B1eFsvPQ5n","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 lookup for a given domain name, returning DNS records (A, MX, etc.), existence status, TTL, and DNSSEC validation info via Cloudflare DoH.","exampleAgentPrompt":"Can you look up the DNS records for github.com — I want to see the A records and MX records, including their TTL values?","exampleUseCases":[{"title":"Verify email domain MX records","prompt":"Check the DNS records for sendgrid.net — specifically the MX records — so I can confirm the mail servers are configured correctly before setting up email routing."},{"title":"Resolve website IP address","prompt":"What IP addresses does stripe.com resolve to? I need the A records and their TTL values."},{"title":"Check if a domain exists in DNS","prompt":"Does the domain newstartupname.io actually exist in DNS yet? I just registered it and want to confirm it's propagated."}],"resultDescription":"Returns a JSON object with the domain name, a boolean indicating whether it exists, the DNS source (Cloudflare 1.1.1.1), a map of record types (e.g. A, MX, TXT) each containing an array of records with values and TTL, and a DNSSEC validation flag.","failureModes":["Domain does not exist in DNS — returns exists: false with empty records","Invalid domain string format — rejected by input validation (maxLength 253)","No records of the requested type found — returns empty array for that record type","Cloudflare DoH upstream timeout — may return an error or partial result","Network error reaching the API — HTTP 402 payment required if payment header missing"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call DNS resolution without managing API keys or accounts. It is ideal for lightweight agent workflows that need to verify domain existence, resolve IPs, or inspect mail server configuration on demand. It uses Cloudflare's reliable DoH infrastructure, making it more trustworthy than ad-hoc DNS lookups. Prefer it over raw DNS libraries when operating in a sandboxed agent environment that cannot make arbitrary UDP calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:34:39.582Z","isFirstParty":false,"canonicalSlug":"allthebot-dns-lookup-c8e75739"}