Welcome to the Voxa Web Translation API! Easily translate text between different languages using a simple HTTP request.
https://voxa-translate.replit.app/api
Parameter | Description | Example |
---|---|---|
translate |
The text you wish to translate. | Hello |
from |
The original language of the text (ISO 639-1 code). | en |
to |
The target language to which you want the text translated (ISO 639-1 code). | fr |
Note:
The API returns a JSON object containing the following fields:
Field | Description |
---|---|
translated |
The translated text. |
original |
The original text that was to be translated |
from |
The original language of the text. |
to |
The language to which the text was translated. |
Example Request:
https://voxa-translate.replit.app/api?translate=Hello&from=en&to=fr
Response:
{
"translated": "Bonjour",
"original": "Hello",
"from": "en",
"to": "fr"
}