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
Try it on any domain






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 customers say.
“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.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.
One account works from an agent, a workflow builder, an SDK or your own service.
MCP server
Sign in once and Claude, ChatGPT, Cursor or Codex can use Geekflare's tools directly, with no glue code to write.
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.
How many lookups each plan covers.
A lookup costs the same whichever record types you ask for. Failed requests cost nothing.
| Covered per month | Free $0/mo No card | Starter $19/mo | Most popular Growth $69/mo | Business 500K $299/mo | Business 1M $499/mo |
|---|---|---|---|---|---|
Credits a month | 500 | 20,000 | 100,000 | 500,000 | 1,000,000 |
LookupsEvery record type, or only the ones you ask for.0.5 credits | 1,000 | 40,000 | 200,000 | 1,000,000 | 2,000,000 |
| Requests per second | 1 | 5 | 10 | 25 | 25 |
- Free$0/moNo card
- Credits a month
- 500
- Lookups0.5 credits
- 1,000
- Requests per second
- 1
- Starter$19/mo
- Credits a month
- 20,000
- Lookups0.5 credits
- 40,000
- Requests per second
- 5
- GrowthMost popular$69/mo
- Credits a month
- 100,000
- Lookups0.5 credits
- 200,000
- Requests per second
- 10
- Business 500K$299/mo
- Credits a month
- 500,000
- Lookups0.5 credits
- 1,000,000
- Requests per second
- 25
- Business 1M$499/mo
- Credits a month
- 1,000,000
- Lookups0.5 credits
- 2,000,000
- Requests per second
- 25
Before 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.Ask AI about Geekflare
Open the question in the assistant you already use.
1,000 lookups a month, free.
The free tier renews every month and needs no card. Look up your first domain in a single call.