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.

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
Playground
Request
POST /dnsrecord
{
  "url": "stripe.com"
}
loading example…
Want every endpoint and every parameter?
The Geekflare playground has every API and option, plus saved requests. Free with 500 credits a month.
Open the playground
Trusted by teams at
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
Handled for you

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
Use cases

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=…
Quickstart

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)
Ways in

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.

ClaudeCursorCodexany 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.

RAGagentsmarkdown-llmgrounded 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
Pricing

1 credit a lookup. Here is what that buys.

Credits are shared with every other Geekflare API. Failed requests cost nothing.

5002M

Growth covers up to ~100,000 lookups a month (100K credits), about $0.69 per 1,000 lookups. Or $58/mo billed yearly.

lookups
60,000
Plan
Growth · $69/mo
FreeNo card
$0/mo
~500
lookups / month
  • 500 credits / month
  • 1 team member
  • 7 days log retention
  • 1 request per second
Starter
$19/mo
~10,000
lookups / month
  • 10K credits / month
  • 3 team members
  • 30 days log retention
  • 5 requests per second
GrowthMost popular
$69/mo
~100,000
lookups / month
  • 100K credits / month
  • 5 team members
  • 30 days log retention
  • 10 requests per second
Business
$349/mo
~1,000,000
lookups / month
  • 1M credits / month
  • 25 team members
  • 90 days log retention
  • 25 requests per second
Start freeCompare plans and credit packsEvery account starts free. Upgrade from the dashboard when you need more, or buy a credit pack from $10.
Testimonials

Loved by SaaS engineering teams.

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 Engnieer
“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
Questions

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 1 credit, 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.

500 lookups a month, free.

The free tier renews every month and needs no card. Look up your first domain in a single call.