DNS Lookup API • Live on Bitcoin mainnet

Resolve structured DNS records in one call.

Use a funded session to fetch A, AAAA, MX, TXT, NS, CNAME, and SOA records for a domain as clean JSON. Built for automation, troubleshooting, OSINT, and security workflows that should not have to parse raw command output.

3 sats / call
POST /api/dns-lookup
Structured record output

What It Does

DNS Lookup turns the common record types you would normally pull from a command-line tool into a compact JSON response that is easier to consume directly in applications and agent workflows.

  • Returns A, AAAA, MX, TXT, NS, CNAME, and SOA data when present
  • Good fit for domain enrichment and infrastructure checks
  • Useful when raw dig output is more detail than you need
  • Built for simple programmatic use with a funded bearer token

Why It Helps

DNS is a common primitive in security, uptime, and OSINT workflows. This endpoint gives you a consistent JSON format so you can enrich a domain, validate records, or compare hostnames without building one-off parsing logic.

  • Useful in scripts, dashboards, and agent loops
  • Pairs naturally with AXFR, WHOIS, and Domain Intel
  • Cheap enough for repeated checks and enrichment
  • Current deployment is Bitcoin mainnet

Example Request

curl -X POST https://arkapi.dev/api/dns-lookup \ -H "Authorization: Bearer ak_your_token" \ -H "Content-Type: application/json" \ -d '{"domain":"example.com"}' | jq

Use a funded token from the Fund page. The endpoint is also documented in /openapi.json and listed in the live catalog.

Example Body

{ "domain": "example.com" }
  • domain is required
  • Use a valid public domain name

Example Response

{ "success": true, "data": { "domain": "example.com", "a": ["93.184.216.34"], "aaaa": [], "mx": ["0 ."], "txt": ["v=spf1 -all"], "ns": ["a.iana-servers.net.", "b.iana-servers.net."], "cname": [], "soa": "ns.icann.org. noc.dns.icann.org. 2025010101 7200 3600 1209600 3600" }, "cost_sats": 3, "response_ms": 21, "endpoint": "/api/dns-lookup" }

Good Uses

For broader domain workflows, see WHOIS, AXFR Check, and Domain Intel.

Related APIs

Discovery