GET /translate/file 🔒 Requires Auth
← Back to Endpoint

Translate file from URL (Synchronous) — Test

Translates a file from URL synchronously. Returns HTML page by default or JSON if format=json. Use this for small files (< 10MB). Supports bilingual mode to keep original text alongside translation.

Stats

Avg response time

452ms

Subscriptions

7

API Popularity

100.0%

Endpoint Test Success Rate

100.0%

Success rate for tests run on this endpoint only

Subscribe to test this endpoint

Parameters

file *
query • string

URL of the file to translate (must be publicly accessible)

target
query • string

Target language code (ISO 639-1). Default: en

format
query • string

Response format

async
query • string

Enable asynchronous processing. Use 'true' for large files to avoid timeouts.

bilingual
query • string

Enable bilingual mode. When true, original text is kept and translation is added below it. Also accepts: keep_original, dual_language, show_original as aliases.