Skip to main content

Quickstart

1) Get an API key​

Sign up at langbly.com/signup, verify your email, and create an API key from your dashboard.

2) Make a request​

curl -sS 'https://api.langbly.com/language/translate/v2' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"q": "Hello world",
"target": "nl"
}'

Example response:

{
"data": {
"translations": [
{
"translatedText": "Hallo wereld",
"detectedSourceLanguage": "en"
}
]
}
}

Next: Authentication and Translate v2.

Frequently asked questions​

How do I specify the source language?​

Set the source field in your request body. If you omit it, Langbly automatically detects the source language and returns it in the detectedSourceLanguage field of the response.

Is a credit card required to get started?​

No. The free tier gives you 500,000 characters per month. No credit card needed.

Can I process data within the EU?​

Yes. Use the EU endpoint eu.langbly.com instead of the global one. The API format and parameters are identical.

How do I translate multiple texts in one request?​

Pass an array of strings as the q parameter instead of a single string. For example: {"q": ["Hello", "Goodbye"], "target": "de"}.