{"uid":"cap_O9pKVCnTQKscWIdpPtRH6","slug":"polyform-dns-lookup-api-838b2883","name":"Polyform DNS Lookup API","description":"Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.","url":"https://api.polyform.org/v1/dns/lookup?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"A","records":["93.184.216.34"]}},"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_AIqreDoDyCeDOPDHys-Bl","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 A-record lookup for a given domain name, returning its resolved IP addresses, via a pay-per-call micropayment model.","exampleAgentPrompt":"What IP address does api.github.com resolve to? Do a DNS A-record lookup for it.","exampleUseCases":[{"title":"Verify domain IP before deployment","prompt":"Before I deploy, can you check what IP address myapp.example.com currently resolves to? I want to make sure the DNS is pointing to the right place."},{"title":"Investigate suspicious domain activity","prompt":"I got a phishing email from support@secure-login-alert.net — can you look up the IP address that domain resolves to so I can investigate where it's hosted?"},{"title":"Automate infrastructure health check","prompt":"As part of my monitoring workflow, resolve the IP for api.myservice.io so I can confirm it still matches our expected server address."}],"resultDescription":"Returns a JSON object containing the queried domain name, the DNS record type (e.g. 'A'), and an array of resolved records (e.g. IPv4 addresses). Example: {\"name\": \"example.com\", \"type\": \"A\", \"records\": [\"93.184.216.34\"]}.","failureModes":["Domain does not exist (NXDOMAIN) — may return empty records or an error response","Network timeout if DNS resolution takes too long","Invalid domain name format — malformed input may cause a 4xx error","Payment failure or insufficient USDC balance — request blocked before DNS query is performed","Rate limiting if micropayment is not processed correctly"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, account-free, API-key-free DNS A-record resolution capability and are comfortable making micropayments in USDC on Base via the x402 protocol. Ideal for AI agents that need to resolve hostnames on-demand without setting up OAuth or managing API credentials. Best for low-volume, pay-per-use DNS lookups rather than high-frequency bulk resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:40.380Z","isFirstParty":false,"canonicalSlug":"polyform-dns-lookup-api-838b2883"}