Skip to main content

Get an API Key and Get Started

New user? Follow these quick steps to get started with the DeepL API.
After logging in, you will find your API keys at https://www.deepl.com/en/your-account/keys
Here are a few simple options that you can start with. Choose any one and replace{YOUR_API_KEY}with your own key.
  • Curl
  • Python
  • NodeJS
Open a terminal.
Set the API key
export API_KEY={YOUR_API_KEY}
Sample request
curl -X POST https://api.deepl.com/v2/translate \
  --header "Content-Type: application/json" \
  --header "Authorization: DeepL-Auth-Key $API_KEY" \
  --data '{
    "text": ["Hello world!"], 
    "target_lang": "DE"
}'
Sample response
{
  "translations": [
    {
      "detected_source_language": "EN",
      "text": "Hallo, Welt!"
    }
  ]
}
Note: If you are on a free API account, you can replace https://api.deepl.com with https://api-free.deepl.com.
You can use our API with popular programming languages (Python, JavaScript, .NET, PHP, Java, Ruby). Click here to learn more about our client libraries. You can also click here to find more examples and guides.

Start Developing

  • Cookbook - Explore a large variety of examples from both internal and external contributors for using the DeepL API for different applications.
  • Guides - Discover additional examples and guides for using the DeepL API.
  • Your First API Request - Get started quickly with DeepL.

Community and Support