{"uid":"cap_Xa2jaaItAdwc4wfl4kEdX","slug":"24k-labs-dns-lookup-0f255a7f","name":"24K Labs DNS Lookup","description":"Resolve A/AAAA/MX/TXT/NS/CNAME records for a domain over DNS-over-HTTPS (Google).","url":"https://api.24klabs.ai/api/v1/dns-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}}},"responseSchema":{"type":"json","example":{"answers":[]}},"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_or0cy10h8rhc1AfYtq8Ix","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 A, AAAA, MX, TXT, NS, and CNAME DNS records for a domain using DNS-over-HTTPS via Google.","exampleAgentPrompt":"Can you look up the MX records for example.com so I can see which mail servers handle its email?","exampleUseCases":[{"title":"Email delivery troubleshooting","prompt":"Look up the MX records for acme-corp.com — I need to see which mail servers are configured so I can figure out why our emails are bouncing."},{"title":"Verify SPF record in DNS","prompt":"Can you fetch the TXT records for mydomain.io? I want to check whether an SPF record is set up correctly."},{"title":"Domain IP resolution check","prompt":"What IP address does api.stripe.com resolve to? I need the A record to verify DNS is pointing to the right server after we updated it."}],"resultDescription":"Returns the resolved DNS records for the queried domain and record type, including values such as IP addresses (A/AAAA), mail server hostnames and priorities (MX), canonical names (CNAME), name server hostnames (NS), and raw text values (TXT), sourced via Google DNS-over-HTTPS.","failureModes":["Domain does not exist (NXDOMAIN) — returns error or empty record set","Unsupported record type requested — may return an error or empty result","DNS resolution timeout — upstream Google DoH unreachable","Invalid domain name format — returns validation error","Record type has no entries for the domain — returns empty result"],"whenToPreferThis":"Use this endpoint when you need programmatic, structured DNS record resolution without running your own DNS resolver or managing DoH infrastructure. It is well-suited for agents that need to verify email configuration (MX/TXT/SPF), check domain-to-IP mappings, audit nameserver delegations, or validate DNS propagation. Prefer this over generic HTTP-based domain lookup tools when you specifically need DNS record data for multiple record types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:56:31.830Z","isFirstParty":false}