Translate live international web pages into 15+ languages as clean, formatted Markdown.
Fetch foreign-language web pages and translate them into Spanish, French, German, Chinese, Japanese, and more while preserving headlines, links, tables, and document hierarchy.
Because this endpoint utilizes full headless Chromium rendering, dynamic JavaScript and single-page apps (SPAs) are executed completely before conversion:
Chromium initializes, fetches the URL, executes client JavaScript, resolves DOM mutations, and generates output.
Returned instantly from Valkey/Redis cache with header X-Lender-Cache: HIT (15-minute TTL).
curl -X POST https://api.headless-lender.com/api/v1/translate \
-H "Content-Type: application/json" \
-d '{
"url": "https://news.ycombinator.com",
"targetLang": "es"
}'No Authorization header required. Simply send a JSON POST request. Perfect for quick prototypes, small scripts, and low-volume scraping.
Sign up in 10s with no credit card required. Unlocks 1,000 free monthly requests, 600 browser minutes (10 hours), 120 req/min burst limits, and cache-bypass controls.
| Access Mode | Monthly Quota | Cloud Browser Time | Burst Limit | Credit Card | Action |
|---|---|---|---|---|---|
| Public Anonymous | Daily IP Allowance | 5-min trial sandbox | 10 req/min | None | Instant (No Setup) |
| Free Account (Highest Quota) | 1,000 Req / Month | 600 Mins (10 Hours) | 120 req/min | Zero ($0 forever) | Claim Free Key → |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | required | — | Webpage URL to translate. |
| targetLang | string | required | 'es' | Target language code (e.g. es, fr, de, zh, ja, ko, ar, pt, it, ru, hi). |
| sourceLang | string | optional | 'auto' | Source language code or 'auto' for automatic detection. |
| engine | 'mdream' | 'hybrid' | optional | 'mdream' | Markdown extraction engine. |
| includeFrontmatter | boolean | optional | true | Include translation metadata header. |
{
"url": "https://news.ycombinator.com",
"targetLang": "es",
"sourceLang": "en",
"translatedTitle": "Noticias de Hackers",
"translatedMarkdown": "# Noticias de Hackers\n\n1. Lanzamiento de Next.js 16.4\n2. Infraestructura en la nube de navegadores...",
"originalWordCount": 650,
"translatedWordCount": 710,
"durationMs": 620
}