Skip to content
@Langbly

Langbly Translator

LLM-powered translation API for developers. High-quality machine translation across 100+ languages, compatible with the Google Translate v2 API.

Langbly

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

PyPI npm Website Docs

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 Translate DeepL Langbly
Price per 1M chars $20 $25 $1.99–$4
API compatibility Own format Google Translate v2
Translation quality Statistical Neural Context-aware
Free tier None 500K/mo 500K trial
Locale formatting ✅ Automatic

Install

pip install langbly          # Python
npm install langbly          # JavaScript / TypeScript

Quick Start

from 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"

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

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
examples curl 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

Plan Price Characters Per 1M chars
Free $0 500K trial
Starter $19/mo 5M $3.80
Growth $69/mo 25M $2.76
Scale $199/mo 100M $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 .github Public

    Langbly organization profile

  2. langbly-python langbly-python Public

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

    Python

  3. langbly-js langbly-js Public

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

    TypeScript

  4. examples examples Public

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

    Shell

  5. langbly-i18n-action langbly-i18n-action Public archive

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

    TypeScript

  6. translate translate Public

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

    TypeScript

Repositories

Showing 10 of 11 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…