---
title: "Transliterate text"
method: POST
path: "/v1/transliterate"
tags: ["Transliteration"]
---

# Transliterate text

`POST /v1/transliterate`

## Request

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

## Query parameters

- `to` string
- `from` string

## Request body

- object
  - `from` string: auto (default: the script of the text), a script, or iso15919 or iast for romanised input.
  - `text` string, required: The text.
  - `to` string: A script (devanagari, bengali, gurmukhi, gujarati, odia, tamil, telugu, kannada, malayalam), a language code such as ta or hi, or iso15919, iast, ascii.

## 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)
