API documentation
Build with PolyLingo
Structure-safe translation for Markdown, JSON, HTML, and plain text. Start with authentication and your first request, then dive into every endpoint.
Getting started
Production base URL, Bearer tokens, first cURL and Node examples, health checks, and CORS.
Open guide →02API reference
POST /translate, batch, async jobs, usage, languages — request and response shapes, errors, and limits.
Open reference →03Supported languages
Full list of language codes and regional variants — French (Canada), Portuguese (Brazil), English (UK), and more.
View all languages →04Node SDK
TypeScript-first. npm install polylingo. Translate, batch, async jobs, and usage.
View SDK docs →05Python SDK
Sync and async. pip install polylingo. Same API surface with type hints.
View SDK docs →06Ruby SDK
Zero runtime dependencies. gem install polylingo. Timeouts in seconds.
View SDK docs →07PHP SDK
Guzzle-based. composer require usepolylingo/polylingo. PHP 7.4+.
View SDK docs →08Go SDK
Stdlib net/http only. go get …/polylingo. Context-first API.
View SDK docs →09Java SDK
Java 11+. Maven Central com.usepolylingo:polylingo. HttpClient + Jackson.
View SDK docs →10Translate HTML in CI
Delta-friendly HTML translation for static builds — subdir or suffix layouts, optional async jobs, commit or PR.
Open guide →