GEThttps://api.deepinfo.com/v1/analyze/dns-history

Returns the historical DNS records Deepinfo has observed for a domain or FQDN, including values that have since changed or been removed (passive DNS). Use it to see how a domain's hosting, mail and name servers changed over time.

Authentication

Send your API key in the apikey request header.

Query Parameters

ParameterRequiredDescription
domainRequired
Domain name or FQDN, e.g. deepinfo.com or www.deepinfo.com. IP addresses are not accepted.
Exampledeepinfo.com
typeOptional
Record type to return, for example A. Omit to return every type.
ExampleA

Response Fields

FieldDescription
fqdn
The queried name
dn
Its registered domain
subdomain
Subdomain part, or null
records[]
One entry per record type
records[].type
Record type, in lower case, for example a or mx
records[].values[]
One entry per distinct value seen for that type
records[].values[].value
The value
records[].values[].time
Every time (UTC, newest first) that value was observed

Response Schema

Inferred from examples Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract.

FieldTypeExample
fqdnstring"deepinfo.com"
dnstring"deepinfo.com"
subdomainnull
recordsarray<object>
records[].typestring"a"
records[].valuesarray<object>
records[].values[].valuestring"104.26.10.21"
records[].values[].timearray<string>"2026-09-18T05:41:26Z"

Errors

400 if domain is not a valid FQDN.

Examples

The saved example from the Deepinfo API, shown in the request and response panels.

  • A RecordsGET/analyze/dns-history?domain=deepinfo.com&type=A200 OK

Worked Examples

Worked examples of this endpoint, each on its own page with the exact request and the response it returns.

See all examples

Reference updated