Skip to main content

Endpoint

Authentication

Overview

Translate text between 100+ languages with a single API call. Bunny’s Translation API accepts source and target language codes and returns the translated text along with a confidence score.

Use cases

  • Build multilingual UIs without a dedicated i18n backend
  • Translate user-generated content in real time
  • Power customer support tools with automatic message translation
  • Add language detection to content pipelines

Details

Uses ISO 639-1 language codes (e.g. en, pt, es, fr, de). The confidence field (0–1) reflects translation quality. Long texts are supported but response time scales with length.

Request body

Example

Response

200 OK

Example

401 Unauthorized

402 Payment Required

422 Unprocessable Entity

Invalid language code or empty text.

429 Too Many Requests

cURL example