# Multitran — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Translate words and phrases across multiple languages while browsing specialized subject areas and terminology. Explore available languages, search the dictionary index, and discover professional terms organized by field of study.

**Category:** Other | **Website:** [multitran.com/](https://multitran.com/) | **Docs:** [parse.bot/marketplace/e7c14c07-9163-4d41-b168-607cdfb59583/multitran-com-api](https://parse.bot/marketplace/e7c14c07-9163-4d41-b168-607cdfb59583/multitran-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_subject_terms_full

Convenience endpoint that fetches the first page of terms for the first N subject areas in a single call. Combines get_dictionary_index and get_subject_terms internally. Returns a list of glossary objects each containing a subject name and its terms. Useful for building glossaries across multiple subjects without multiple calls. Limited to the first page of terms per subject.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `l1` | string | No | Source language numeric ID. |
| `l2` | string | No | Target language numeric ID. |
| `subject_limit` | string | No | Maximum number of subjects to fetch terms for (numeric string, e.g. '2', '5'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/get_all_subject_terms_full \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"l1":"<string>","l2":"<string>","subject_limit":"<string>"}'
```

### get_available_languages

Retrieve all languages supported by the Multitran dictionary along with their numeric IDs. These IDs are used as l1 (source) and l2 (target) parameters in other endpoints. The list is stable and does not paginate.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/get_available_languages \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_dictionary_index

List all subject areas (terminology categories) available for a given source/target language pair. Each subject includes an ID usable with get_subject_terms. Entry counts may be null for some language pairs. Results are alphabetically sorted and returned in a single page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `l1` | string | No | Source language numeric ID from get_available_languages (e.g. '1' for English, '2' for Russian). |
| `l2` | string | No | Target language numeric ID from get_available_languages (e.g. '33' for Ukrainian, '2' for Russian). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/get_dictionary_index \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"l1":"<string>","l2":"<string>"}'
```

### get_subject_terms

Fetch terms and their translations for a specific subject area within a language pair. Supports alphabetical filtering by starting letter, and cursor-based pagination via the next_page URL in the response. Each page returns up to ~20 terms with their translations. The pagination object includes an alphabet array for letter-based navigation.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `l1` | string | No | Source language numeric ID. |
| `l2` | string | No | Target language numeric ID. |
| `letter` | string | No | Filter terms to those starting with this letter (single character, e.g. 'a'). |
| `pos` | string | No | Pagination position offset (numeric string, e.g. '0'). |
| `s` | string | No | Cursor/start term for pagination, taken from the next_page URL parameter. |
| `sc` | string | Yes | Subject area ID from get_dictionary_index results (e.g. '120' for Abbreviation, '52' for Accounting). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/get_subject_terms \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"l1":"<string>","l2":"<string>","letter":"<string>","pos":"<string>","s":"<string>","sc":"<string>"}'
```

### translate_term

Translate a word or phrase between two languages. Returns results grouped by subject area (e.g. gen., comp., IT, law), with each group containing an array of translation strings. If the term is not found, an empty results array is returned.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `l1` | string | No | Source language numeric ID. |
| `l2` | string | No | Target language numeric ID. |
| `term` | string | Yes | The word or phrase to translate. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-multitran-com-api-e7c14c07/translate_term \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"l1":"<string>","l2":"<string>","term":"<string>"}'
```
