{"uid":"cap_-t2CVJxtnKoAvgIT9vk2j","slug":"pennyrail-dns-a-record-lookup-5957bbd0","name":"PennyRail DNS A Record Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/network/dns.a--domain-ip-address","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2YU-JzJuTudoDhjGufWHc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a domain name to its IPv4 address(es) via a paid DNS A-record lookup API","exampleAgentPrompt":"What IP address does example.com resolve to? Use the PennyRail DNS lookup to get the A record.","exampleUseCases":[{"title":"Verify server IP before deployment","prompt":"Before I push this update, can you check what IP address api.myservice.com currently resolves to so I can confirm it's pointing at the right server?"},{"title":"Detect IP change for a competitor site","prompt":"Look up the current IP address for competitor.com — I want to know if they've changed hosting providers recently."},{"title":"Automate hostname-to-IP resolution in a workflow","prompt":"I need the IP address for db.internal.company.io so I can whitelist it in our firewall rules — can you resolve that domain for me?"}],"resultDescription":"Returns a JSON object containing the resolved IPv4 address or addresses associated with the queried domain's DNS A record. The response format is open-ended but expected to include the IP address(es) mapped to the input domain.","failureModes":["Domain does not exist or has no A record — returns error or empty result","Invalid input format (e.g. not a valid domain string) — likely a 400 or error JSON","DNS resolution timeout — upstream DNS failure","Payment failure via x402 protocol — 402 response if funds insufficient","Vercel cold-start latency may cause occasional slow responses"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use DNS A record resolution without setting up your own DNS resolver infrastructure. It's well-suited for low-volume, on-demand hostname-to-IP lookups inside agent workflows that already support x402 micropayments. Prefer dedicated DNS APIs (e.g. Google DNS-over-HTTPS or Cloudflare) for high-volume or free-tier needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:15.326Z","isFirstParty":false}