Skip to content
@Langbly

Langbly Translator

Translation API for developers. High-quality machine translation across 240+ languages, compatible with the Google Translate v2 API.

Langbly

Translation API — drop-in Google Translate v2 replacement, context-aware, 81-90% cheaper

PyPInpmPackagistWebsiteDocs

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.

Why developers switch to Langbly

Google TranslateDeepLLangbly
Price per 1M chars$20$25$1.99–$4
API compatibilityOwn formatGoogle Translate v2
Translation qualityStatisticalNeuralContext-aware
Free tierNone500K/mo500K trial
Locale formatting✅ Automatic

Install

pip install langbly # Python
npm install langbly # JavaScript / TypeScript
composer require langbly/langbly-php # PHP

Quick Start

fromlangblyimportLangblyclient=Langbly(api_key="your-api-key")
result=client.translate("Hello world", target="nl")
print(result.text) # "Hallo wereld"
import{Langbly}from"langbly";constclient=newLangbly({apiKey: "your-api-key"});constresult=awaitclient.translate("Hello world",{target: "nl"});console.log(result.text);// "Hallo wereld"

Migrate from Google Translate in 2 minutes

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

SDKs & Resources

RepositoryDescriptionInstall
langbly-pythonPython SDK with async support, auto-retry, typed errorspip install langbly
langbly-jsJS/TS SDK with native fetch, zero dependencies, TypeScriptnpm install langbly
langbly-phpPHP SDK with Guzzle, auto-retry, typed exceptionscomposer require langbly/langbly-php
examplescurl examples, migration guides, code samples

Features

  • Google Translate v2 compatible - same /language/translate/v2 endpoint
  • 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

Pricing

PlanPriceCharactersPer 1M chars
Free$0500K trial
Starter$19/mo5M$3.80
Growth$69/mo25M$2.76
Scale$199/mo100M$1.99

Annual plans: 20% off. Overage: $4/1M characters.

Start free - no credit card required


Built by Jasper de Winter · langbly.com

Popular repositories Loading

  1. .github .githubPublic

    Langbly organization profile

  2. langbly-python langbly-pythonPublic

    Official Python SDK for the Langbly translation API. Drop-in Google Translate v2 replacement, 81-90% cheaper.

    Python

  3. langbly-js langbly-jsPublic

    Official JavaScript/TypeScript SDK for the Langbly translation API. Drop-in Google Translate v2 replacement, 81-90% cheaper.

    TypeScript

  4. examples examplesPublic

    Code examples and migration guides for the Langbly translation API. Switch from Google Translate in minutes.

    Shell

  5. langbly-i18n-action langbly-i18n-actionPublic archive

    ⚠️ Archived. Use Langbly/translate instead. GitHub Action for i18n translation.

    TypeScript

  6. translate translatePublic

    GitHub Action to translate JSON locale files and Markdown docs using the Langbly API. CI/CD translation automation.

    TypeScript

Repositories

Showing 10 of 13 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…