---
title: "Returns daily usage statistics for all domains."
method: GET
path: "/usage/stats/daily"
tags: ["usage"]
---

# Returns daily usage statistics for all domains.

`GET /usage/stats/daily`

## Request

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

This endpoint returns daily usage statistics for all domains within a specified month, defaulting to the current month if no month is provided.</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 daily usage summary, providing a complete and accurate overview for seamless management and analysis.</br>- **Comprehensive error handling:** Returns `401` and `404` error codes with clear descriptions when requests fail.</br>- **Periodic filtering:** Uses the `month` parameter to filter results, enabling in-depth trend analysis, performance monitoring, and tailored reporting.

## Query parameters

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

## Response `200`

Usage statistics returned successfully.

- UsageStatsDaily[]
  - `month` string
  - `stats` UsageStatsDailyStats[]
    - `day` integer
    - `totalQueries` integer

## Other responses

- `401`: Token is missing or expired.
- `404`: Resource not found.

---

[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)
