Check Usage and Limits Run in API Explorer
Retrieve usage information within the current billing period together with the corresponding account limits. Usage is returned for:
- translated characters
- translated documents
- translated documents, team totals (for team accounts only)
Character usage includes both text and document translations, and is measured by the source text length in Unicode code points, so for example "A", "Δ", "あ", and "深" are each counted as a single character.
Document usage only includes document translations, and is measured in individual documents.
Depending on the user account type, some usage types will be omitted. Character usage is only included for developer accounts. Document usage is only included for non-developer accounts, and team-combined document usage is only included for non-developer team accounts.
Responses
-
The account's usage and limits.
-
Bad request. Please check error message and your parameters.
-
Authorization failed. Please supply a valid
DeepL-Auth-Keyvia theAuthorizationheader. -
The requested resource could not be found.
-
The request size exceeds the limit.
-
Too many requests. Please wait and resend your request.
-
Quota exceeded. The character limit has been reached.
-
Internal error.
-
Resource currently unavailable. Try again later.
-
Too many requests. Please wait and resend your request.
curl \
--request GET 'https://api.deepl.com/v2/usage' \
--header "Authorization: $API_KEY"
{
"character_count": 180118,
"character_limit": 1250000
}
{
"character_count": 5947223,
"character_limit": 1000000000000,
"products": [
{
"product_type": "write",
"billing_unit": "characters",
"api_key_unit_count": 0,
"account_unit_count": 5643,
"api_key_character_count": 0,
"character_count": 5643
},
{
"product_type": "translate",
"billing_unit": "characters",
"api_key_unit_count": 636,
"account_unit_count": 5941580,
"api_key_character_count": 636,
"character_count": 5941580
},
{
"product_type": "speech_to_text",
"billing_unit": "milliseconds",
"api_key_unit_count": 1800000,
"account_unit_count": 1800000,
"api_key_character_count": 0,
"character_count": 0
}
],
"api_key_character_count": 636,
"api_key_character_limit": 1000000000000,
"speech_to_text_milliseconds_count": 1800000,
"speech_to_text_milliseconds_limit": 36000000,
"start_time": "2025-05-13T09:18:42Z",
"end_time": "2025-06-13T09:18:42Z"
}