{"uid":"cap_zzge5VSYx8nAWN7okyTUF","slug":"dns-record-lookup-cfb540c2","name":"DNS Record Lookup","description":"Live DNS records resolved via Cloudflare 1.1.1.1 DNS-over-HTTPS (public facts, real time). Query: ?name=anthropic.com&type=MX (type in A|AAAA|MX|TXT|NS|CNAME, default MX). Or ?name=anthropic.com&check=email -> combined MX + SPF + DMARC with an email_ready boolean, useful before emailing or invoicing a contact. JSON with records list; 5 min cache.","url":"https://data.greeneris.io/v1/domain/dns","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","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Domain to resolve, e.g. anthropic.com"},"type":{"enum":["A","AAAA","MX","TXT","NS","CNAME"],"type":"string","default":"MX","description":"DNS record type"},"check":{"enum":["email"],"type":"string","description":"check=email returns combined MX + SPF + DMARC instead of raw records"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"type":"MX","domain":"anthropic.com","source":"Cloudflare 1.1.1.1 DNS-over-HTTPS (live resolution)","records":[{"ttl":1800,"data":"1 aspmx.l.google.com.","name":"anthropic.com"}],"record_count":1}},"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_7FojikL7hcJ1bFS9rhacI","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":"Resolves DNS records (A, AAAA, MX, TXT, NS, CNAME) for a domain, or returns a combined email-deliverability check (MX + SPF + DMARC) via Cloudflare DNS-over-HTTPS","exampleAgentPrompt":"Can you look up the MX records for anthropic.com so I know which mail servers handle their email? Also check if they have SPF and DMARC set up.","exampleUseCases":[{"title":"Verify email deliverability before outreach","prompt":"I'm about to send a bulk email campaign to contacts at several companies. Can you check the MX, SPF, and DMARC records for their domains to make sure our emails won't bounce or get flagged as spam?"},{"title":"Debug DNS configuration for domain","prompt":"Our new domain isn't receiving emails properly. Can you pull all the DNS records—especially the MX, nameservers, and TXT records—so we can see what's misconfigured?"},{"title":"Validate partner domain setup","prompt":"Before we integrate with this vendor, can you check their domain's DNS records to confirm they have proper email authentication set up with SPF and DMARC?"}],"resultDescription":"Returns a JSON object containing the DNS record type, domain queried, data source (Cloudflare 1.1.1.1 DoH), and an array of records each with TTL, name, and data fields. For email checks, returns combined MX, SPF, and DMARC records in one response. Record count is included.","failureModes":["Domain does not exist — returns empty records or NXDOMAIN","Invalid DNS record type enum — 400 bad request","No MX records found for domain — empty records array","Payment not provided — HTTP 402 with machine-readable USDC quote on Base","Transient DNS resolution failure from upstream Cloudflare resolver"],"whenToPreferThis":"Choose this endpoint when you need live DNS resolution backed by Cloudflare's 1.1.1.1 DoH for reliability and speed, especially for email-deliverability checks combining MX + SPF + DMARC in a single call. Prefer over generic DNS tools when you want pay-per-call pricing with no account setup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:07.428Z","isFirstParty":false}