---
title: "Gets account usage by endpoint"
method: GET
path: "/1.0/account/usage-by-endpoint"
tags: ["Account Usage"]
---

# Gets account usage by endpoint

`GET /1.0/account/usage-by-endpoint`

## Request

- Base URL: `https://customer-api.datadome.co`
- URL: `https://customer-api.datadome.co/1.0/account/usage-by-endpoint`
- Auth: API key in header `x-api-key`

## Query parameters

- `from` string, required
- `to` string

## Response `200`

Gets the number of requests by endpoint

- GetAccountUsageByEndpointResponse
  - `id` string: Endpoint ID (Guid)
  - `name` string: Endpoint Name
  - `requests` integer: Number of requests for this endpoint

## Other responses

- `400`: Lists the errors detected inside the request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/datadome/apis/management-api.md) - [All operations](https://skmtc.dev/datadome/apis/management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datadome/apis/management-api/revisions/80062169b99e?raw)
