Skip to main content
← All APIs

DNS clarity, from records to mail policies.

Resolve DNS records and check a domain’s email security configuration.

Usage priceVaries by operation
OutputRecords, DNSSEC & mail audit
DNS resolutionPOST /lookup
Domain
antapi.dev
IPv4 address
93.184.216.34
Mail server
aspmx.l.google.com
TXT record
v=spf1 -all
Resolver
1.1.1.1:53
DNSSEC authenticated
Yes

Published example, not a live lookup.

View full response contract

Inspect domains before you rely on them.

Verify DNS changes

Inspect A, AAAA, CNAME, MX, TXT and NS records alongside resolver context and TTLs.

Audit mail authentication

Evaluate SPF, DMARC, DKIM, MTA-STS and TLS-RPT policies with prioritized issue summaries.

Automate domain onboarding

Validate customer DNS and mail setup programmatically before enabling sending or routing.

Read DNS evidence with full context.

Public DNS is cached and distributed. Pair raw record sets with resolver metadata and treat mail checks as configuration audits.

Read the guide

Records with resolver & DNSSEC context

Every lookup returns the queried resolver and DNSSEC authenticated status alongside record sets so you can compare propagation accurately.

Configuration is evidence, not a message verdict

Email security checks evaluate published DNS policies. Supply known DKIM selectors; an unchecked selector does not prove a key is missing.

Operations and pricing

Release v1.0.0 · 2 endpoints

API reference
PathDescriptionBilling
POST/lookupLook up DNS records$0.001 / request
POST/email-securityInspect domain email security$0.003 / request
Technical limits
ⓘThese limits apply unless an endpoint lists different limits.
Timeout
15 s
Request body
16 KiB
Response body
512 KiB

Your first API request

Send requests to https://api.antapi.dev with ANTAPI_KEY in your environment.

Call directly from your AI agent

Connect over Streamable HTTP MCP with browser OAuth under your project budget.

dns_lookupdns_email_security
POST /dns/v1/lookup
curl --request POST 'https://api.antapi.dev/dns/v1/lookup' \
  --header "Authorization: Bearer $ANTAPI_KEY" \
  --data-raw '{"domain":"antapi.dev","types":["A","MX","TXT"]}' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <YOUR_SAVED_OPERATION_KEY>'

Put reliable DNS inspection into your stack.

Create an account, issue a key, and make your first request.

Start building