
Translation API
Translate text between about 100 languages with the M2M100 model running on the platform. Send a short string with GET or a longer body with POST, and let the API detect the source language or set it yourself. No third-party keys and nothing leaves the platform.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
X-Api-Key
Query Parameters
from(Optional)
text(Required)
to(Required)
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});