Skip to main content
GET
Get custom tag usage statistics as an admin

Date range

Specify the reporting window using the required start_date and end_date parameters in ISO 8601 date format (e.g., 2026-05-01). The maximum date range is 366 days.

Aggregation

The optional aggregate_by parameter controls how usage is grouped: Use period when you need a summary for billing or reporting. Use day when you need to analyze usage trends over time.

Response structure

The response contains a custom_tag_usage_report object with the following fields: Each entry in usage includes:
  • custom_tag: the tag identifier
  • usage_date: the day the usage was recorded (ISO 8601 datetime). Only returned when aggregate_by is day
  • breakdown: character counts split by service type

Usage breakdown

Custom tag data is supported only for text translation. Support for other request types will be added in a future update.

Pagination

Results are paginated. If the response includes a non-null next_page value, pass it as the page parameter in your next request to retrieve the following page. Continue until next_page is null.

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

aggregate_by
enum<string>
default:period

Optional parameter to control aggregation of usage statistics. Possible values:

  • period - Aggregate usage over the entire date range (default)
  • day - Group usage by individual day
Available options:
period,
day
page
integer

Page number for pagination. Use the integer value returned in next_page from a previous response to retrieve the next page of results.

Response

The custom tag usage statistics for the specified date range.

The response for admin custom tag usage statistics.

custom_tag_usage_report
object

Contains the detailed custom tag usage statistics for the specified date range.