Welcome to the Translayte API documentation. Below you'll find a list of our endpoints along with example requests to help you integrate seamlessly.
GET /api/translate
: Retrieve translation data.POST /api/translate
: Submit data for translation.GET /api/projects
: Retrieve a list of projects.fetch("https://api.translayte.it/api/translate", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" }, body: JSON.stringify({ key: "hello", language: "es" }) }) .then(response => response.json()) .then(data => console.log(data));
All endpoints return standard HTTP status codes. In case of errors, a JSON response with an error
field will be provided.