---
title: "Roman typing to an Indian script (type English, get Tamil)"
method: POST
path: "/v1/transliterate/suggest"
tags: ["Transliteration"]
---

# Roman typing to an Indian script (type English, get Tamil)

`POST /v1/transliterate/suggest`

## Request

- Base URL: `https://api.dharun.dev`
- URL: `https://api.dharun.dev/v1/transliterate/suggest`
- Auth: none declared

Guesses how words typed in Roman letters are written in an Indian script with IndicXlit (AI4Bharat), giving up to eight suggestions per word, best first, and the text with the best guess for each word. 21 languages. Up to 60 words; anything that is not Roman letters is kept as it is.

## Query parameters

- `lang` string
- `count` integer

## Request body

- object
  - `count` integer: Suggestions per word, 1 to 8. Default 4.
  - `lang` string: as, bn, brx, gom, gu, hi, kn, ks, mai, ml, mni, mr, ne, or, pa, sa, sd, si, ta, te or ur.
  - `text` string, required: The text in Roman letters.

## Response `200`

Success

- Envelope
  - `data` unknown, required
  - `meta` object, required
    - `limit` integer
    - `note` string
    - `offset` integer
    - `source` object: Where the data came from and the credit its licence asks for.
      - `attribution` string
      - `licence` string
      - `name` string
      - `retrieved` string
      - `url` string
      - `version` string
    - `total` integer

## Other responses

- `400`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data.md) · [All operations](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/llms.txt) · [OpenAPI document](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/revisions/ecd8b0ec7863?raw)
