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

Request
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

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

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 →