---
title: "Returns usage statistics."
method: GET
path: "/accounting/usage"
tags: ["accounting"]
---

# Returns usage statistics.

`GET /accounting/usage`

## Request

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

This endpoint returns detailed usage statistics, allowing users to track their resource consumption and make informed decisions based on this data.</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 usage summary, providing a complete and accurate overview for seamless management and analysis.</br>- **Comprehensive error handling:** Returns `400` and `404` error codes with clear descriptions when requests fail.

## Response `200`

Usage statistics returned successfully.

- Usage
  - `dnsqueries` integer
  - `failover` integer
  - `useraccounts` integer
  - `domains` integer
  - `gtddns` integer
  - `querylogging` integer
  - `records` integer

## Other responses

- `400`: Request is malformed or invalid.
- `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)
