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
| Name | Type | Description |
|---|---|---|
| X-API-Key | header | Required for programmatic API calls (not needed in the web UI). |
| domain | string | FQDN to resolve (required) |
| format | string | `json` (default) or `plain` for text output |
| hide_ipv6 | boolean | Optional; 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.