{"uid":"cap_5eFGlEmdv7sQY_0MD7rQc","slug":"databg-dns-lookup-14ae92dd","name":"DataBG DNS Lookup","description":"Global structured data and machine-payable tools built for AI agents, developers and intelligent applications.","url":"https://api.databg.tech/v1/tools/dns","method":"POST","headers":{},"bodySchema":{"type":"object","required":["domain"],"properties":{"type":{"enum":["A","AAAA","MX","CNAME","NS","TXT","SOA"],"type":"string"},"domain":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"type":{"type":"string"},"domain":{"type":"string"},"status":{"type":"integer"},"records":{"type":"array","items":{"type":"object"}},"success":{"type":"boolean"},"resolver":{"type":"string"},"queried_at":{"type":"string","format":"date-time"},"record_count":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BTfSgg43U3rYJQofFqowg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves DNS records for a given domain, returning structured record data for any standard record type.","exampleAgentPrompt":"Can you look up the MX records for example.com so I can see which mail servers are configured for it?","exampleUseCases":[{"title":"Email deliverability verification","prompt":"Check the MX and TXT records for mybusiness.com — I want to see if SPF and the mail servers are set up correctly."},{"title":"Nameserver delegation check","prompt":"What nameservers (NS records) is shopify.com currently using? I want to confirm the DNS delegation is set up right."},{"title":"Subdomain CNAME resolution","prompt":"Look up the CNAME record for blog.acmecorp.com — I need to verify it's pointing to the right hosting provider."}],"resultDescription":"Returns a structured JSON object containing the queried domain, record type, an array of DNS records (each as an object), the resolver used, a query timestamp, record count, HTTP status, and a success boolean flag.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty records array with success false","Invalid domain format — validation error on input","Unsupported record type — enum validation rejects value","DNS resolver timeout — upstream resolver unavailable","Network error reaching the DataBG API — HTTP 5xx response"],"whenToPreferThis":"Use this endpoint when an AI agent needs machine-readable, structured DNS records with a pay-per-call micropayment model (x402/USDC), avoiding the need to integrate with a traditional DNS API provider. Ideal when you need any standard record type (A, AAAA, MX, CNAME, NS, TXT, SOA) with consistent JSON output and no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:42.175Z","isFirstParty":false}