NewMCP server live

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.

Get a free API key
4.9average across
G2 — 4.8 out of 5Google — 4.9 out of 5Product Hunt — 5.0 out of 5
  • 500 free credits every month
  • No card to start
  • Failed requests cost nothing

Try it on any domain

Try:
Trusted by teams at
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon

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: all

Only 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 cache

Structured JSON

Records come back grouped by type, with MX priorities, SOA timers and CAA tags as separate fields.

data.MX[].priority

Email 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.com

What customers say.

Read all reviews
“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.”
Amit VasuDevOps Engineer
“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.com

What 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
Typical request
POST /dnsrecord
{
  "url": "stripe.com",
  "types": ["TXT"]
}
Example output · stripe.com
TXTgoogle-site-verification=…
TXTfacebook-domain-verification=…
TXTdocusign=…

Your first DNS lookup, in a few lines.

quickstart.pyofficial SDK
# 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.

ClaudeChatGPTCursorCodexAny MCP client
Set up the MCP server

LLM & agent pipelines

LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.

RAGAgentsClean MarkdownGrounded search
See the solutions

Workflow builders

Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.

ZapierMaken8n
Browse integrations

SDKs & REST

First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.

PythonNode.jsPostman
Open the API reference

How many lookups each plan covers.

A lookup costs the same whichever record types you ask for. Failed requests cost nothing.

2 months free
  • Free
    $0/mo
    No 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
Start freeCompare plans and credit packsEvery account starts free. Upgrade when you need more, or buy a credit pack from $10.

Before you integrate DNS lookups.

Everything else is in the endpoint docs, and our support team replies to every email.

Open the endpoint docs

A, AAAA, CNAME, MX, CAA, NS, SOA, SRV and TXT. Leave out types to get all of them, or pass a list such as ["MX", "TXT"] to get only those.

A lookup costs 0.5 credits, whichever record types you ask for. Failed requests cost nothing.

No. Records are looked up live at the time of your request, so you see the current state of the domain's DNS.

Yes. Pass the full hostname, such as app.example.com or mail.example.com, to get the records for that subdomain.

Yes. Run lookups in the dashboard playground, use it from Zapier, Make or n8n, or let AI agents call it through our MCP server.

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.