DNS Lookup API

Use our DNS record API to retrieve A, AAAA, MX, TXT, and other records to troubleshoot propagation issues and verify domain configurations.

99.9% UptimeAll DNS Record TypesNon-Intrusive
Trusted by 10,000+ developers

Integrate with your stack

# 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",
            type="A"
        )
    )
    print(result)
OpenAPI 3.0Type SafeSSL Encrypted

Integrations & SDKs

Integrate Geekflare API via no-code automation platforms, or build natively using our SDKs and REST API.

Why Geekflare DNS API

Record Support

Query all major DNS record types including A, AAAA, CNAME, MX, TXT, NS, SOA, and CAA in a single request.

Email Security Verification

Validate email configuration by retrieving SPF, DKIM, and DMARC policies stored within TXT records.

Targeted Record Queries

Filter your request to retrieve specific record types (e.g., just MX or TXT) instead of fetching the entire DNS zone.

Real-Time Data

We query authoritative nameservers directly to ensure you get the latest data without stale caching issues.

JSON Output

Receive structured JSON responses that make it easy to integrate DNS data into your monitoring tools.

High Availability

Built on a redundant Google Cloud infra to ensure your DNS queries are resolved quickly.

DNS Lookup API Use Cases

Resolve DNS record to verify domain ownership, audit email security, and monitor infrastructure changes

Query CNAME records to instantly verify a user's domain ownership and routing within your SaaS products.

api.geekflare.com/dnsrecord
CNAME
cka._domainkey.geekflare.com
CNAME
cka._domainkey
cka._domainkey.geekflare.com.dkim.amazonses.com
300
verify
Domain Check
Verified
Custom Domain
tenant: geekflare
active
Domain ownership
CNAME target
Mail route
Activate tenant domain automatically.
API Request Example
{
  "url": "cka._domainkey.geekflare.com",
  "types": ["CNAME"]
}

DNS Checker API pricing

Free

$0/mo

500 Credits/mo
Lookup ~500 Domains
1 Request per second

Starter

$9/mo

5K Credits/mo
Lookup ~5000 Domains
5 Requests per second

Growth

Most Popular

$49/mo

100K Credits/mo
Lookup ~100K Domains
25 Requests per second

Business

$249/mo

1M Credits/mo
Lookup ~1M Domains
50 Requests per second

Other Geekflare API services

Web Scraping API

Extract HTML, Markdown, or JSON from dynamic web pages with automatic CAPTCHA solving.

Site Load Time API

Check how much time your site takes to load including DNS, Connect, TLS, and TTFB metrics.

TLS Scanner API

Analyze SSL/TLS certificates for validity, issuer details, and expiration dates.

Broken Link Checker API

Find dead internal and external links on a webpage.

URL Redirection Checker API

Track redirect chains and analyze HTTP status codes to verify URL routing behavior.

Lovedby developers worldwide

Amit Vasu

Amit Vasu

DevOps Engnieer

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.

May 11, 2026
Geekflare
Brett Dutton

Brett Dutton

Developer

I am really happy with Geekflare. 1. You are incredibly responsive. - Fast to let me know of a billing problem, and with a good resolution - Fast to respond and fix 500 error. 2. Your platform is fast. 3. Consistent results

May 12, 2026
Email
Maia Pittman

Maia Pittman

Developer

If you are a developer building RAG pipelines, you need this. The URL to Markdown feature is much cheaper than the other big players in this space. It handles dynamic JS-heavy sites surprisingly well.

May 7, 2026
Geekflare
Okrogu Les

Okrogu Les

Creator

Easy-to-use REST API to extract website metadata for SEO analysis. Highly recommend for social tags and schema markup.

May 7, 2026
Geekflare
Ram Dasi

Ram Dasi

Architect at PA Consulting

Found Geekflare API to get markdown from URL for my AI agents. It is fast and cheaper and works on almost every website.

May 7, 2026
Geekflare
Dinny Roberson

Dinny Roberson

Developer

Finally found a screenshot API that handles full-page captures correctly. Most others mess up the rendering of dynamic elements. Geekflare API captures the whole thing.

May 7, 2026
Geekflare

Frequently Asked Questions

No. We perform a live query at the time of your request to ensure you are seeing the current state of the DNS records.

A DNS lookup consumes 1 credit per request.

Yes, you can provide the full hostname (e.g., app.example.com or mail.example.com) to retrieve records specific to that subdomain.

With our DNS record API, you can retrieve all standard DNS record types like A, AAAA, CNAME, MX, TXT, NS, SOA, and PTR records.

Yes, Geekflare Domain lookup API is developer-friendly REST API. You can integrate it into any custom application, SaaS dashboard, or backend script using standard HTTPS requests in your preferred programming language. Additionally, if you want to automate workflows, our DNS API connects seamlessly to no-code platforms like Zapier and Make to trigger automated domain monitoring and alerts.

Ready to query DNS records?

Join thousands of developers using Geekflare API to retrieve real-time DNS data.