Lecto Translation API

Text Analysis / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Lecto Translation API offers text translation with a free tier and competitive pricing, accessible through RapidAPI. It supports multiple languages and provides clean JSON responses suitable for straightforward integration. Developers on a budget can start with the free tier and scale up without switching providers.

💡

Beginner Tip

Access Lecto Translation through RapidAPI — subscribe on the RapidAPI marketplace first, then use your RapidAPI key in the "X-RapidAPI-Key" header for all requests.

Available Data

translated text
source language
target language
confidence score

Example Response

JSON Response
{
  "translatedText": "Bonjour le monde",
  "detectedSourceLanguage": "en",
  "targetLanguage": "fr"
}

Field Reference

translations Array of translation result objects, one per input text string
translated List of translated strings corresponding to each entry in the input texts array
from ISO 639-1 code of the source language used for translation
to ISO 639-1 code of the target language the input texts were translated into

Implementation Example

const url = "https://rapidapi.com/lecto-lecto-default/api/lecto-translation/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

403 Forbidden - not subscribed You have not subscribed to Lecto Translation on RapidAPI
Visit the Lecto Translation page on RapidAPI and click "Subscribe" to enable access with your key
429 Too Many Requests Free tier quota has been exceeded for the current billing period
Upgrade to a paid plan or wait for the quota to reset at the start of the next month
Missing translations in response "texts" field sent as a string instead of an array
Always wrap your input in a JSON array: "texts": ["your text here"] even for a single string

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Text Analysis
Difficulty Intermediate
Verified: 2026-04-04

Alternatives to Lecto Translation

Technical alternatives for different use cases.

Translation API with language detection

Better For

Self-hosting and open-source requirements

Trade-off

Commercial translation with reliable uptime

Similar APIs

View All →