API reference for retrieving usage and quota for the current billing period with the DeepL API.
/usage
endpoint returns the following:
/write
) characters consumed in the current billing period in total and for the API key used to make the requestapi_key_character_limit
field in the response; 1000000000000
will be returned if no key-level limit is set)character_limit
field in the response; 1000000000000
will be returned if no limit is set)character_count
and character_limit
.character_count
field includes both text and document translations as well as text improvement (DeepL API for Write) characters. Characters are counted based on the source text length in Unicode code points, so for example “A”, “Δ”, “あ”, and “深” are each counted as a single character.
We also provide a spec that is auto-generated from DeepL’s OpenAPI file. You can find it here.