DomaineeDocs

DNS Record Lookup API

Free public REST API for the DNS Record Lookup on Domainee. No API key, CORS-enabled, rate-limited per IP.

GEThttps://api.domainee.dev/v1/tools/dns-record-lookup?domain=domainee.dev

Look up DNS records for any hostname. Returns all common record types (A, AAAA, CNAME, MX, TXT, NS, SOA) by default, or only the type you specify.

Free. No API key required. CORS-enabled. Rate-limited per IP at 30/min and 500/day.

Parameters

NameInTypeDescription
domainrequiredquerystring
Domain or hostname to query.
example: domainee.dev
typequeryA | AAAA | CNAME | MX | TXT | NS | SOA
Restrict to one record type. Defaults to all common types.

Example request

curl
curl -s "https://api.domainee.dev/v1/tools/dns-record-lookup?domain=domainee.dev" | jq

Example response

response.json
{
  "ok": true,
  "data": {
    "domain": "domainee.dev",
    "records": [
      {
        "type": "A",
        "values": [
          "35.165.194.233",
          "52.39.55.154"
        ]
      },
      {
        "type": "MX",
        "values": [
          "10 mail.example.com."
        ]
      },
      {
        "type": "NS",
        "values": [
          "abdullah.ns.cloudflare.com.",
          "audrey.ns.cloudflare.com."
        ]
      }
    ]
  }
}

Other languages

fetch.js
const res = await fetch("https://api.domainee.dev/v1/tools/dns-record-lookup?domain=domainee.dev&type=");
const { ok, data } = await res.json();
requests.py
import requests
r = requests.get(
    "https://api.domainee.dev/v1/tools/dns-record-lookup",
    params={"domain":"domainee.dev","type":""},
)
data = r.json()["data"]

Rate limits & errors

  • 30 requests/minute and 500 requests/day per IP. Exceeding either returns HTTP 429 with a Retry-After header.
  • All responses are JSON with the envelope { "ok": true, "data": {...} } on success or { "ok": false, "error": { "code", "message" } } on failure.
  • code values are stable; safe to switch on programmatically. message is human-friendly and may change.

See also

On this page