---
title: "DNS history count"
method: GET
path: "/history/dns/count/{domain_name}"
tags: ["History"]
---

# DNS history count

`GET /history/dns/count/{domain_name}`

Returns the number of historical DNS records about the given domain name.

## Path parameters

- `domain_name` string, required

## Response `200`

Operation successful

- DNSHistoryCountResponse — DNSHistoryCountResponse includes returning data
  - `data` DNSHistoryCountResponseData
    - `items` DNSHistoryCounter[]
      - `count` integer — The total number of DNS records.
      - `type` string — DNS record type.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/spyse/apis/data-api.md) · [All operations](https://skmtc.dev/spyse/apis/data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spyse/data-api/revisions/fd05b83ed2c5/schema)
