API Reference

JSON-first DNS lookup API for topology, records, and enrichment. All endpoints return structured data suitable for automation.

Programmatic API calls require an API key via X-API-Key. The web UI does not require a key.

Base URL
https://dnsrecon.io/api/lookup
Parameters
NameTypeDescription
X-API-KeyheaderRequired for programmatic API calls (not needed in the web UI).
domainstringFQDN to resolve (required)
formatstring`json` (default) or `plain` for text output
hide_ipv6booleanOptional; set to `true` to omit AAAA records
Example
GET https://dnsrecon.io/api/lookup?domain=example.com

{
  "success": true,
  "timestamp": "2025-11-28T00:00:00Z",
  "query": "example.com",
  "data": {
    "records": {...}
  },
  "meta": { "query_time_ms": 42 }
}
          
Export
  • Append `format=plain` for newline-delimited text.
  • Use the UI export controls for CSV/JSON; responses include identical fields.