Translation API

Our translation API gives you programmatic access to translation data that isn't available through any official API. Get data on original text, translated text, language pairs, timestamps, unlimited translations, and more. And the best part? You can try the translation API entirely for free, no credit card required.

Trusted by industry leaders all over the world

Integrate our translation API

Access the translation API using Python, JavaScript, CLI, cURL, OpenAPI, or MCP. Choose your preferred option and start extracting translation data in minutes.

Python

Python

JavaScript

JavaScript

HTTP

HTTP

MCP

MCP

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "phrases": [
10 "Hello guys how are you doing? i hope you are okey",
11 "I have been to Paris last summer, during the olympic games 2024",
12 "This is a second example sentence to translate",
13 "Good morning, have a nice day",
14 ],
15 "source_language": "english 🇬🇧",
16 "target_language": "spanish 🇪🇸",
17}
18
19# Run the Actor and wait for it to finish
20run = client.actor("scrapestorm/deepl-translate-scraper").call(run_input=run_input)
21
22# Fetch and print Actor results from the run's dataset (if there are any)
23print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25 print(item)
26
27# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Get data with translation API

Extract DeepL translation data by providing text phrases, source language, and target language. The DeepL translation API returns structured JSON data with original text, translated text, language pairs, and timestamps for each translation processed.

Input

{
"lang": "english 🇬🇧",
"phrases": [
{
"original": "hello guys how are you doing? i hope you are okey",
"translation": "hola chicos, ¿cómo están? espero que estén bien"
},
{
"original": "This is a second example sentence to translate",
"translation": "Esta es una segunda oración de ejemplo para traducir"
},
{
"original": "Good morning, have a nice day",
"translation": "Buenos días, que tengas un buen día"
}
],
"desired_lang": "spanish 🇪🇸"
}

Output

[
{
"timestamp": "2025-03-27T22:17:12.835135+00:00",
"language_pair": "en→es",
"original_text": "hello guys how are you doing? i hope you are okey",
"translated_text": "hola chicos ¿como estais? espero que bien"
},
{
"timestamp": "2025-03-27T22:17:19.199071+00:00",
"language_pair": "en→es",
"original_text": "This is a second example sentence to translate",
"translated_text": "Esta es una segunda frase de ejemplo para traducir"
},
{
"timestamp": "2025-03-27T22:17:25.569182+00:00",
"language_pair": "en→es",
"original_text": "Good morning, have a nice day",
"translated_text": "Buenos días, que tenga un buen día"
}
]

How to use translation API

Sign up for Apify account01

Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.

Get started for free
Get your Apify API token02

Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.

Integrate translation API03

Navigate to the translation API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more.

Open translation API
Get your translation data via API04

Now, you can use the API and get the data you need from translation.

Why use Apify?

Never get blocked

Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.

Customers love us

We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.

Monitor your runs

With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.

Export to various formats

Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.

Integrate Apify to your workflow

You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.

Large developer community

Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!

Frequently asked questions

DeepL does not provide an official public API for free scraping. However, this scraper uses DeepL's web interface to extract translation data, providing structured access to DeepL's translation capabilities without requiring official API credentials.

Yes, you can try the DeepL translation scraper for free. Apify offers a free tier that allows you to test the scraper with limited usage. The full version is available for $18.99/month plus usage-based costs for unlimited translations.

You can extract original text, translated text, language pairs (like en→es), timestamps showing when each translation was processed, and unlimited translation results. The scraper supports customizable input with multiple phrases and language selection for comprehensive translation data extraction.

Getting started is simple: Sign up for an Apify account, access the DeepL Translate Scraper, input your list of phrases with source and target languages, run the scraper, and download results in JSON, CSV, XML, Excel, or HTML formats. The scraper processes unlimited translations with timestamp tracking.

Get started with translation API today

Get your first translation data in less than 5 minutes. No credit card required. No commitment. Cancel anytime.