# Translate text (v1)

Translates up to 30,000 characters into the target language in one call, detecting the source language when it is not given. Returns the translation, the source language with the detector's confidence, and a Latin-script transliteration for languages written in other scripts.

- Platform: Google Translate
- Request: `POST https://api.toolzerhub.com/v1/google-translate/translate`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/google-translate/translate/post-google-translate-translate

## Example request

```bash
curl -X POST "https://api.toolzerhub.com/v1/google-translate/translate" \
  -H "x-api-key: $TOOLZERHUB_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
