---
title: "Translate text"
method: POST
path: "/translations/{provider}/translate"
tags: ["translations"]
---

# Translate text

`POST /translations/{provider}/translate`

## Path parameters

- `provider` string, required

## Request body

- TranslateRequest
  - `source_language` string
  - `target_language` string
  - `text` string, required

## Response `200`

Translation result

- TranslateResponseEnvelope
  - `success` true, required
  - `data` TranslateResponse, required
    - `translations` TextTranslation[], required
      - `detected_source_language` string
      - `text` string, required
      - `audio_url` string

## Other responses

- `400` — Error response
- `401` — Error response
- `429` — Error response
- `500` — Error response
- `502` — Error response

---

[API](https://skmtc.dev/beyondtranslate/apis/beyondtranslate-api.md) · [All operations](https://skmtc.dev/beyondtranslate/apis/beyondtranslate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beyondtranslate/beyondtranslate-api/revisions/59ea99eb1568/schema)
