DNS Lookup API for any domain.
Get A, AAAA, CNAME, MX, CAA, NS, SOA, SRV and TXT records for any domain as structured JSON in one request.
- 500 free credits every month
- No card to start
- Failed requests cost nothing
POST /dnsrecord
{
"url": "stripe.com"
}





DNS records, ready to use in code.
No resolver libraries and no parsing dig output. Each request runs a live lookup and returns every record as clean JSON.
Every record type in one call
Leave out types and get A, AAAA, CNAME, MX, CAA, NS, SOA, SRV and TXT records together.
types: allOnly the records you need
Pass a list of types to fetch just those, such as MX and TXT for an email check.
types: ["MX", "TXT"]Live lookups
Records are looked up at the time of your request, so you see the current state.
no cacheStructured JSON
Records come back grouped by type, with MX priorities, SOA timers and CAA tags as separate fields.
data.MX[].priorityEmail and ownership checks
Read SPF, DMARC and verification TXT records to check email setup or confirm a customer owns a domain.
types: ["TXT"]Subdomains too
Pass a full hostname such as app.example.com to get the records for that subdomain.
url: app.example.comWhat you can do with the DNS Lookup API.
Confirm a customer owns their domain
Ask customers to add a TXT record, then look it up to verify ownership before you connect their domain to your product.
- Fetch just the TXT records
- Live lookup, no stale cache
- One request per check
POST /dnsrecord
{
"url": "stripe.com",
"types": ["TXT"]
}Your first DNS lookup, in a few lines.
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import DnsRecordDto
with GeekflareClient(api_key="<api-key>") as client:
result = client.dns_record(
DnsRecordDto(
url="example.com"
)
)
print(result)One API. Every stack.
The same key works from an agent, a workflow builder, an SDK or your own service. Pick the lane you already live in.
MCP server
One remote endpoint exposes Geekflare's tools to any MCP client. Your agent discovers them itself: no glue code, no per-tool wiring.
LLM & agent pipelines
LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.
Workflow builders
Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.
SDKs & REST
First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.
1 credit a lookup. Here is what that buys.
Credits are shared with every other Geekflare API. Failed requests cost nothing.
Growth covers up to ~100,000 lookups a month (100K credits), about $0.69 per 1,000 lookups. Or $58/mo billed yearly.
- 500 credits / month
- 1 team member
- 7 days log retention
- 1 request per second
- 10K credits / month
- 3 team members
- 30 days log retention
- 5 requests per second
- 100K credits / month
- 5 team members
- 30 days log retention
- 10 requests per second
- 1M credits / month
- 25 team members
- 90 days log retention
- 25 requests per second
Loved by SaaS engineering teams.
“We use the DNS API to verify our customer's domain ownership, and so far it is great. It responds mostly in less than 1 second.”
“Its been couple of years we are using Geekflare API, we like its stable production ready performance and cost-effectiveness of accessing multiple APIs through a single plan.”
Jitendra RauloDirector, Aarav Infotech“Works like a charm, easy to use and great support. Wished they offer more features for me to use.”
Pavel MarešCEO, webtero.comBefore you integrate DNS lookups.
Everything else is in the endpoint docs, and our support team replies to every email.
Open the endpoint docstypes to get all of them, or pass a list such as ["MX", "TXT"] to get only those.app.example.com or mail.example.com, to get the records for that subdomain.500 lookups a month, free.
The free tier renews every month and needs no card. Look up your first domain in a single call.