{"uid":"cap_-wcFjwox4zzFDA9Bx7AFO","slug":"pennyrail-dns-mx-txt-records-lookup-bffec8dd","name":"PennyRail DNS MX/TXT Records Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/dns.records--dns-mx-txt","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UzdFXXqvRdMcFFIg99hB9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up DNS MX and TXT records for a given domain via a paid micro-transaction API endpoint","exampleAgentPrompt":"Can you look up the MX and TXT DNS records for example.com? I need to see the mail servers and any SPF or DKIM entries.","exampleUseCases":[{"title":"Email deliverability audit for a domain","prompt":"Pull the MX and TXT DNS records for acme.com so I can check their SPF, DKIM, and DMARC configuration and see if their email setup is correct."},{"title":"Verify domain ownership TXT record","prompt":"Look up the TXT records for mybusiness.io — I need to confirm the Google site verification token is published there."},{"title":"Find mail servers for incoming email routing","prompt":"What are the MX records for newsletter.co? I need to know which mail servers handle their inbound email and their priority order."}],"resultDescription":"Returns the MX records (mail exchange hostnames and priorities) and TXT records (SPF, DKIM, DMARC, verification tokens, etc.) published in DNS for the queried domain, as a structured JSON object.","failureModes":["Domain does not exist or has no MX/TXT records — empty or null record sets returned","Invalid or malformed domain name input — may return an error or empty result","DNS resolution timeout — slow or unreachable upstream resolvers","Overly broad input object with missing domain field — schema allows freeform input so incorrect keys may be silently ignored","Payment failure via x402 protocol — request rejected before DNS lookup is performed"],"whenToPreferThis":"Use this endpoint when you need a pay-per-query, programmatic DNS MX and TXT record lookup without managing your own DNS resolver infrastructure. Prefer it for lightweight, on-demand checks billed at $0.001 USDC per call via the x402 micropayment protocol, especially in agentic workflows where you want metered usage without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:17:39.329Z","isFirstParty":false}