Translation avatar
Translation
Under maintenance

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Translation

Translation

Under maintenance

Translate text between languages using AI. Support for 100+ languages with automatic detection. Perfect for content localization, multilingual apps, and international communication.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Fabio Suizu

Fabio Suizu

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

7 hours ago

Last modified

Share

Translation API

AI-powered text translation supporting 100+ languages. Automatic language detection and high-quality neural translations.

Features

  • Fast Processing: Lightning-fast translation api powered by Azure
  • Reliable: 99.9% uptime with automatic failover
  • Scalable: Handle single requests or bulk operations
  • Secure: Enterprise-grade security with API key authentication
  • Well Documented: Comprehensive API documentation and examples

Use Cases

  • Content Generation: Automate content creation workflows
  • Data Analysis: Extract insights from unstructured data
  • Automation: Integrate AI capabilities into your apps

Input Parameters

ParameterTypeRequiredDescription
textstringNoThe text you want to translate
textsarrayNoList of texts for bulk translation
targetLanguagestringYesLanguage code to translate to (e.g., es, pt, fr, de, ja, zh)
sourceLanguagestringNoSource language code (leave empty for auto-detection)
detectLanguagebooleanNoOnly detect language without translating

Output Format

{
"success": true,
"result": { ... },
"timestamp": "2026-01-07T00:00:00Z"
}

Code Examples

JavaScript (Node.js)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const input = {
"text": "Hello, how are you?",
"texts": [
"Hello",
"Goodbye",
"Thank you"
],
"targetLanguage": "es",
"sourceLanguage": "en",
"detectLanguage": false
};
const run = await client.actor("vivid_astronaut/translation").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run_input = {
"text": "Hello, how are you?",
"texts": [
"Hello",
"Goodbye",
"Thank you"
],
"targetLanguage": "es",
"sourceLanguage": "en",
"detectLanguage": false
}
run = client.actor("vivid_astronaut/translation").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

cURL

curl -X POST "https://api.apify.com/v2/acts/vivid_astronaut~translation/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello, how are you?",
"texts": [
"Hello",
"Goodbye",
"Thank you"
],
"targetLanguage": "es",
"sourceLanguage": "en",
"detectLanguage": false
}'

Pricing

Model: Pay per result Price: $0.020 per result

You only pay for successful results. Platform usage costs are included.

API Documentation

Full API documentation is available at:

Support

Version History

See ./CHANGELOG.md for version history.


Powered by Azure Cloud Infrastructure