
DNS API · FreeTXT Record Lookup
TXT Record Lookup
API
Fetch all TXT records on a domain and classify them: SPF, DKIM, DMARC, BIMI, verification tokens (Google, Microsoft, Atlassian, etc.), or general.
Free. No API key. CORS-enabled. Rate-limited per IP.
GET
https://api.domainee.dev/v1/tools/txt-record-lookup?domain=domainee.devFetch all TXT records on a domain and classify them: SPF, DKIM, DMARC, BIMI, verification tokens (Google, Microsoft, Atlassian, etc.), or general.
Free. No API key required. CORS-enabled. Rate-limited per IP at 30/min and 500/day.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
domainrequired | query | string | Domain to fetch TXT records for. example: domainee.dev |
Example request
curl
curl -s "https://api.domainee.dev/v1/tools/txt-record-lookup?domain=domainee.dev" | jqExample response
response.json
{
"ok": true,
"data": {
"domain": "domainee.dev",
"count": 3,
"records": [
{
"value": "v=spf1 include:_spf.google.com ~all",
"classification": "SPF"
},
{
"value": "google-site-verification=...",
"classification": "verification"
},
{
"value": "MS=ms123456",
"classification": "verification"
}
]
}
}Other languages
fetch.js
const res = await fetch("https://api.domainee.dev/v1/tools/txt-record-lookup?domain=domainee.dev");
const { ok, data } = await res.json();requests.py
import requests
r = requests.get(
"https://api.domainee.dev/v1/tools/txt-record-lookup",
params={"domain":"domainee.dev"},
)
data = r.json()["data"]Rate limits & errors
- 30 requests/minute and 500 requests/day per IP. Exceeding either returns HTTP 429 with a
Retry-Afterheader. - All responses are JSON with the envelope
{ "ok": true, "data": {...} }on success or{ "ok": false, "error": { "code", "message" } }on failure. codevalues are stable; safe to switch on programmatically.messageis human-friendly and may change.
Prefer a UI?
Try the txt record lookup in your browser →
No code, no curl. Type a domain, get a result.
Full reference
Documentation for /v1/tools/txt-record-lookup →
All parameters, error codes, edge cases.
Need more than free?
Domainee's full platform: Custom Domains API, MCP for AI agents, Buy-a-Domain API, and 50 customer domains free forever. The same engineering team that built these free APIs.