Translation API

Translate text with a single API call

Drop-in replacement for Google Cloud Translation v2. Same request format, better translations, lower price.

Up and running in minutes

Install our SDK, paste your API key, and start translating. No complex setup, no configuration files.

from langbly import LangblyClient

client = LangblyClient("YOUR_API_KEY")

result = client.translate(
    q=["Hello, world!"],
    target="es",
    source="en"
)

print(result.translations[0].translated_text)
# → "¡Hola, mundo!"
pip install langbly
100+
Languages
Including CJK, Arabic, and RTL
2
Global regions
US (api.langbly.com) + EU (eu.langbly.com)
500K
Free characters/mo
No credit card required
v2
Google Translate compatible
Drop-in replacement

Built for production use

Everything you need to ship multilingual products. From basic text translation to document-level workflows.

Google Translate v2 compatible

Same request and response format as Google Cloud Translation Basic (v2). Switch your base URL and API key. Everything else stays the same.

HTML preservation

Send HTML content and get translated HTML back. Tags, attributes, and structure stay intact. Just add format=html to your request.

Auto language detection

Skip the source parameter and let the API detect the input language. The detected language code is returned in the response.

Formality control

Set the tone of your translations. Formal for legal documents, informal for marketing copy, neutral for everything in between.

Glossaries and instructions

Define how specific terms should be translated with glossaries. Use instruction sets to control style, tone, and domain-specific behavior.

EU data residency

Route all traffic through our EU endpoint at eu.langbly.com. Data stays in Europe, processed in the Netherlands. GDPR-friendly by design.

Official SDKs

Type-safe clients with auto-retry, typed errors, and Retry-After support. Published on PyPI and npm.

🐍

Python

PyPI: langbly

pip install langbly
View on PyPI →
📦

JavaScript / TypeScript

npm: langbly

npm install langbly
View on npm →

Simple, transparent pricing

Pay for what you use. No hidden fees.
Billed on input characters.

Free

$0/ mo
  • 500K characters per month
  • All 100+ languages
  • HTML preservation
  • Language detection
  • Community support

Pay-as-you-go

$5/ 1M chars
  • 500K free characters per month
  • $5 per 1M additional characters
  • All features included
  • Glossaries and instruction sets
  • Translation memory
  • Document translation
  • Priority support
  • Billed at $5 threshold

Enterprise

Contact
  • Volume discounts
  • Custom SLA and support
  • Security and compliance reviews
  • Dedicated account manager

Start translating today

500,000 characters per month, free. No credit card required.