{"uid":"cap_nNO1TIBhpaqXNMzTlHFjG","slug":"api-strale-io-33286503","name":"Strale DNS Lookup","description":"Perform a comprehensive DNS lookup for a domain. Returns A, AAAA, MX, NS, TXT, CNAME records plus SPF and DMARC detection.","url":"https://api.strale.io/x402/dns-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain name (e.g. example.com)"}}},"responseSchema":{"domain":{"type":"string"},"has_spf":{"type":"boolean"},"a_records":{"type":"array"},"has_dmarc":{"type":"boolean"},"mx_records":{"type":"array"},"ns_records":{"type":"array"}},"example":{"request":{"domain":"example.com"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0324,"settlement_id":"0x4b7611ce3cc25d00fec6a3e1e98ebff92e014e6664830f58c5d4798388876242"},"capability":"dns-lookup","latency_ms":10,"provenance":{"source":"dns","fetched_at":"2026-06-16T01:24:28.372Z"}},"domain":"example.com","has_spf":true,"a_records":["104.20.23.154","172.66.147.243"],"has_dmarc":true,"mx_records":[{"exchange":"","priority":0}],"ns_records":["elliott.ns.cloudflare.com","hera.ns.cloudflare.com"],"txt_records":["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9","v=spf1 -all"],"aaaa_records":["2606:4700:10::6814:179a","2606:4700:10::ac42:93f3"],"dmarc_record":"v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s","cname_records":[]}},"exampleRequest":{"domain":"example.com"},"tags":["x402"],"displayCostAmount":"0.0324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cvCkeveOFAN-YM1fXzHP_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a comprehensive DNS lookup for a domain, returning A, AAAA, MX, NS, TXT, CNAME records plus SPF and DMARC detection","exampleAgentPrompt":"Can you do a full DNS lookup for github.com and tell me all its record types including A, MX, NS, TXT, and whether SPF and DMARC are properly configured?","exampleUseCases":null,"resultDescription":"A structured response containing all major DNS record types (A, AAAA, MX, NS, TXT, CNAME) for the queried domain, along with parsed SPF policy details and DMARC configuration detection, giving a complete picture of the domain's DNS setup.","failureModes":["Domain does not exist (NXDOMAIN) — returns empty or error response","Invalid domain format provided — validation error","DNS timeout or upstream resolver failure — service error","Domain has no records of a specific type — returns empty array for that record type"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, single-call DNS audit covering all major record types plus email security records (SPF/DMARC) simultaneously, rather than making multiple separate DNS queries. Ideal for domain infrastructure investigation, email deliverability troubleshooting, or security audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:50:27.343Z","isFirstParty":false}