---
title: "Transliterate between Hebrew and Latin script"
method: POST
path: "/v1/transliterate"
tags: ["Translation"]
---

# Transliterate between Hebrew and Latin script

`POST /v1/transliterate`

## Request

- Base URL: `https://hc.itsbaba.com`
- URL: `https://hc.itsbaba.com/v1/transliterate`
- Auth: HTTP bearer

Romanize Hebrew into Latin letters (`direction: "he-to-latin"`, the default), or write Latin spelling in Hebrew letters (`direction: "latin-to-he"`), which is useful for name entry and search.

**Quota.** Consumes the monthly character quota: the length of `text`.

**Limits.** `text` up to 5,000 characters.

## Request body

- TransliterateRequest
  - `text` string, required: Text to transliterate, up to 5,000 characters.
  - `direction` 'he-to-latin' | 'latin-to-he': `he-to-latin` (default) romanizes Hebrew. `latin-to-he` writes Latin spelling in Hebrew letters, for name entry and search.

## Response `200`

Transliteration

- TransliterateResponse
  - `text` string, required: The input.
  - `transliteration` string, required: The transliterated text.
  - `scheme` string, required: Romanization scheme used.
  - `direction` string, required: Direction used.

## Other responses

- `400`: Invalid request: the body failed validation or a value is out of range.
- `401`: Missing, malformed, invalid or revoked API key.
- `402`: A new self-serve account must save a card in the console before it can use the API. Adding a card is free.
- `403`: The connection used TLS older than 1.2.
- `429`: Too many requests this minute (`rate_limited`), or the monthly character quota is used up (`quota_exceeded`). Retry `rate_limited` after a short wait; `quota_exceeded` lasts until the quota resets or the plan changes.
- `500`: Unexpected server error. Safe to retry.
- `502`: The model provider failed or returned an empty result. Nothing was charged. Safe to retry.
- `503`: A model feature is temporarily unavailable.

---

[API](https://skmtc.dev/itsbaba/apis/hebrewcore-api.md) · [All operations](https://skmtc.dev/itsbaba/apis/hebrewcore-api/llms.txt) · [OpenAPI document](https://skmtc.dev/itsbaba/apis/hebrewcore-api/revisions/f54229695236?raw)
