Translation API — drop-in Google Translate v2 replacement, context-aware, 75% cheaper than Google Translate
Website · Documentation · Pricing · Compare · Get Free API Key
Langbly is a translation API that's a drop-in replacement for Google Translate v2. Same request format, same response shape. Switch in one PR. Higher quality translations at a fraction of the cost.
| Google Translate | DeepL | Langbly | |
|---|---|---|---|
| Price per 1M chars | $20 | $25 | $5 (first 500K/mo free) |
| API compatibility | — | Own format | Google Translate v2 |
| Translation quality | Statistical | Neural | Context-aware |
| Free tier | None | 500K/mo | 500K/mo, recurring |
| Locale formatting | ❌ | ❌ | ✅ Automatic |
pip install langbly # Python
npm install langbly # JavaScript / TypeScript
composer require langbly/langbly-php # PHPfrom langbly import Langbly
client = Langbly(api_key="your-api-key")
result = client.translate("Hello world", target="nl")
print(result.text) # "Hallo wereld"import { Langbly } from "langbly";
const client = new Langbly({ apiKey: "your-api-key" });
const result = await client.translate("Hello world", { target: "nl" });
console.log(result.text); // "Hallo wereld"Already using Google Translate v2? Just change the base URL:
# Before: https://translation.googleapis.com/language/translate/v2
# After: https://api.langbly.com/language/translate/v2
curl -X POST https://api.langbly.com/language/translate/v2 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "Hello world", "target": "nl"}'→ Full migration guide: langbly.com/docs/migrate-google
| Repository | Description | Install |
|---|---|---|
| langbly-python | Python SDK with async support, auto-retry, typed errors | pip install langbly |
| langbly-js | JS/TS SDK with native fetch, zero dependencies, TypeScript | npm install langbly |
| langbly-php | PHP SDK with Guzzle, auto-retry, typed exceptions | composer require langbly/langbly-php |
| examples | curl examples, migration guides, code samples | — |
No code needed? Explore every endpoint in the Postman collection — imported straight from our OpenAPI spec, runnable in one click.
| Repository | Description |
|---|---|
| n8n-nodes-langbly | n8n community node - translate inside your automations, no code |
| translate | GitHub Action - translate JSON locale files and Markdown docs in CI/CD |
| langbly_translator | Drupal TMGMT translator plugin |
| langbly-for-translatepress | TranslatePress engine for WordPress |
| langbly-for-loco-translate | Loco Translate add-on for WordPress |
| strapi-provider-translate-langbly | Translation provider for Strapi |
| omegat-plugin-langbly | OmegaT CAT tool plugin |
- Google Translate v2 compatible - same
/language/translate/v2endpoint - Context-aware - understands tone, idioms, and locale conventions
- Auto-retry - exponential backoff with Retry-After support in both SDKs
- Locale formatting - automatic decimal, date, and currency formatting per target language
- Batch translation - translate multiple texts in a single request
- Language detection - identify source language automatically
- HTML support - translate HTML while preserving tags and attributes
Pure pay-as-you-go, no tiers.
| Plan | Base price | Included | Additional usage |
|---|---|---|---|
| Pay-as-you-go | $0 | 500K characters/month | $5 per 1M characters |
| Enterprise | Custom | Custom limits | Volume discounts, custom SLA |
A payment method is required to activate the API; you are not charged unless you go over the included 500K characters/month.
→ Start free - add a payment method, first 500K characters/month included
Built by Jasper de Winter · langbly.com