GETTranslate
https://api-translation.dataandapis.com/v1/translate
Query parameters
| Parameter | Example | |
|---|---|---|
| from | en | Optional |
| text | Hello, how are you? | Required |
| to | es | Required |
Example request
curl "https://api-translation.dataandapis.com/v1/translate?from=en&text=Hello%2C%20how%20are%20you%3F&to=es" \
-H "X-Api-Key: YOUR_API_KEY"{
"translated_text": "Hola, ¿cómo estás?",
"source_lang": "auto",
"target_lang": "es"
}



