Explore DeepL API offering designed for admins
/v2/admin/developer-keys
, available under our API pro endpoint https://api.deepl.com
.
POST /v2/admin/developer-keys
You can optionally give an API key a name of your choosing during the creation process. If you do not name the key, the
name “DeepL API Key” will be given to the key automatically.
Up to 25 simultaneously active API keys are allowed.
GET /v2/admin/developer-keys
This method will return both active and deactivated keys.
PUT /v2/admin/developer-keys/deactivate
:
symbol.
PUT /v2/admin/developer-keys/label
To rename a key, pass its ID in the request and the new label, as shown below.
The key ID is composed of two GUIDs separated by the :
symbol.
PUT /v2/admin/developer-keys/limits
Key-level limits restrict the number of total characters (across text translation, document translation, and text
improvement) that can be consumed by an API key in a one-month usage period.
For example, if you set a key-level usage limit of 1,000,000 characters, the API key will not consume more than 1,000,000 characters per usage period.
The character count will “reset” at the start of the next usage period, at which point the key will again be able to consume characters.
As with subscription-level cost control:
456 Quota exceeded
errors when 100% of a key-level limit has been reached0
means the API key will not be able to consume characters.null
disables the limit, effectively allowing unlimited usage.