{"uid":"cap_s9T4qYZTI_dNfTUteDyrI","slug":"swift-bot-labs-dns-reverse-lookup-8fa4c7a5","name":"Swift Bot Labs DNS Reverse Lookup","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/dns/reverse?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"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["ip"],"properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"dns-reverse","result":{"ip":"8.8.8.8","ptrName":"8.8.8.8.in-addr.arpa","hostnames":["dns.google"],"forwardConfirmed":true}}},"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_3BY7cz84vMgsSOywyPSMg","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":"Performs a reverse DNS lookup for an IPv4 or IPv6 address, returning PTR hostname(s) and forward-confirmation status","exampleAgentPrompt":"What hostname does reverse DNS give for the IP 8.8.8.8, and is it forward-confirmed?","exampleUseCases":[{"title":"Identify server behind an IP","prompt":"Can you do a reverse DNS lookup on 104.21.15.42 and tell me what hostname it maps to and whether it's forward-confirmed?"},{"title":"Validate email sender IP","prompt":"I got an email from a server at 209.85.220.41 — can you check the reverse DNS and see if the PTR record matches a legitimate hostname?"},{"title":"Investigate suspicious traffic IP","prompt":"We're seeing traffic from 45.33.32.156 in our logs — do a reverse DNS lookup and tell me what hostname it resolves to and if that checks out forward."}],"resultDescription":"A JSON object containing the input IP, its PTR record name (e.g. '8.8.8.8.in-addr.arpa'), an array of resolved hostnames (e.g. ['dns.google']), and a boolean forwardConfirmed indicating whether the hostname resolves back to the original IP.","failureModes":["IP with no PTR record returns empty hostnames array and forwardConfirmed: false","Malformed or non-IP input may return a 400 error","Payment failure via x402 returns a 402 Payment Required before any lookup is performed","Temporary DNS resolution failures may return an error or empty result"],"whenToPreferThis":"Use this endpoint when you need a pay-per-call, no-account reverse DNS lookup that also validates forward confirmation. Ideal for one-off enrichment of IP addresses in logs, email headers, or network security contexts where you don't want to manage DNS client libraries or API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:47.758Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-dns-reverse-lookup-8fa4c7a5"}