Skip to main content
GET
Get usage statistics as an admin

Date range

Specify the reporting window using the required start_date and end_date parameters. Both support the following formats (all in UTC): The maximum date range is 366 days.

Grouping

The optional group_by parameter controls how results are organized:

Response structure

All responses include a breakdown of usage by service type:

Authorizations

Authorization
string
header
default:DeepL-Auth-Key
required

Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>

Query Parameters

start_date
string<date>
required

Start date for the usage report (ISO 8601 date format).

end_date
string<date>
required

End date for the usage report (ISO 8601 date format).

group_by
enum<string>

Optional parameter to group usage statistics. Possible values:

  • key - Group by API key
  • key_and_day - Group by API key and usage date
Available options:
key,
key_and_day

Response

The usage statistics for the specified date range.

The response for admin usage statistics.

usage_report
object

Contains the detailed usage statistics for the specified date range.