Skip to content

Easily translate text between different languages using a simple HTTP request.

Notifications You must be signed in to change notification settings

ruben-david-roy/Voxa-Web-Docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 

Repository files navigation

🌐 Voxa: A Language Translation API

Welcome to the Voxa Web Translation API! Easily translate text between different languages using a simple HTTP request.

πŸ“Œ Table of Contents

🎯 Endpoint

https://voxa-translate.replit.app/api

πŸ“ Parameters

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: ⚠️ Ensure all parameters are URL encoded to handle special characters and spaces.

πŸ“¦ Response Format

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

Example Request:

https://voxa-translate.replit.app/api?translate=Hello&from=en&to=fr

Response:

{
    "translated": "Bonjour",
    "original": "Hello",
    "from": "en",
    "to": "fr"
}