---
title: "Lists top domains."
method: GET
path: "/reporting/topdomains"
tags: ["reporting"]
---

# Lists top domains.

`GET /reporting/topdomains`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/reporting/topdomains`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/reporting/topdomains/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint lists the top domains based on activity or performance metrics for a specified period, helping users identify the most active or highest-performing domains.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `200` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive data retrieval:** Returns a comprehensive list of the top domains, providing a complete and accurate overview for seamless management and analysis.</br>- **Comprehensive error handling:** Returns a `401` error code with a clear description when requests fail. specified means the current month to date.</br>- **Flexible domain limiting:** Uses the `limit` parameter to specify the number of top domains to return, optimizing data retrieval and ensuring focused, relevant results.</br>- **Periodic filtering:** Uses the `month` and `year` parameters to filter results, enabling in-depth trend analysis, performance monitoring, and tailored reporting.

## Query parameters

- `year` integer
- `month` integer: Valid values are 1 to 12
- `limit` integer: Valid values are 1 to 12

## Response `200`

Top domains listed successfully.

- DomainUsage[]
  - `id` integer
  - `name` string
  - `type` string
  - `month` string
  - `queries` DomainStats
    - `total` integer
    - `refused` integer
    - `servfail` integer
    - `notimpl` integer
    - `responsecount` integer
    - `noerror` integer
    - `nxdomain` integer
    - `formerr` integer

## Other responses

- `401`: Token is missing or expired.

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
