> DNS History

DNS History API

Retrieve the full DNS record history for any monitored domain as JSON.

Endpoint

GET /api/{domain}

Example

GET /api/example.com

Response

{
  "domain": "example.com",
  "status": "active",
  "first_seen": 1700000000,
  "last_checked": 1700200000,
  "versions": [
    {
      "checked_at": 1700200000,
      "until": null,
      "resolved": true,
      "records": {"A": ["2.2.2.2"], "AAAA": [], "MX": [], "SPF": [], "DMARC": [], "CNAME": [], "CAA": []}
    }
  ]
}

Every version lists all seven record types; unused types are returned as empty arrays. until is null for the current version. resolved is false for a period in which the domain did not resolve (NXDOMAIN); its record types are then all empty.

Rate Limit

60 requests per minute per IP (burst: 90).

Errors

400  { "error": "invalid domain" }
404  { "error": "domain not found" }
503  { "error": "service temporarily unavailable" }