Pela Translation API

Fast, DeepL-compatible machine translation. If you already use DeepL's /v2/translate, you can point your client at Pela by changing the base URL and API key — no other code changes needed.

Base URL

https://app.pelapela.app

Authentication

Authenticate every request with your API key in the Authorization header, using either format:

Authorization: DeepL-Auth-Key pela_xxxxxxxxxxxx
Authorization: Bearer pela_xxxxxxxxxxxx

Keys are created from your Pela account (App/site settings → API Keys) and are shown only once at creation — store them securely. If you lose a key, revoke it and create a new one.

Translate text

POST /v2/translate

Translates one or more strings into the target language.

Request body (JSON)

Field Type Description
text required string or array of strings The text to translate. Maximum 50 strings per request.
target_lang required string Language to translate into: EN, ES, JA, ZH, KO, PT, FR, IT, DE. Regional variants like EN-US are accepted.
source_lang optional string Language of the input text. Omit for auto-detect.

Response

{
  "translations": [
    {
      "detected_source_language": "EN",
      "text": "..."
    }
  ]
}

Example

curl -X POST https://app.pelapela.app/v2/translate \
  -H "Authorization: DeepL-Auth-Key pela_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "text": ["Hello, how are you?"],
    "target_lang": "JA"
  }'

Response:

{
  "translations": [
    {
      "detected_source_language": "EN",
      "text": "こんにちは、お元気ですか?"
    }
  ]
}

Errors

Status Meaning
400 Invalid request — malformed JSON or missing target_lang.
401 Missing Authorization header.
403 Invalid or revoked API key.
413 Text too long.
429 Rate limited — slow down and retry with backoff.
456 Quota exceeded (DeepL-compatible status code).
500 Internal error — retry, or contact us if it persists.

Rate limits

Per-key request limits apply. If you need higher volumes, contact us.

Pricing

Usage-based pricing, billed per character. Early access — contact us.

API keys

Checking sign-in…

Languages

Language Code
EnglishEN
SpanishES
JapaneseJA
ChineseZH
KoreanKO
PortuguesePT
FrenchFR
ItalianIT
GermanDE