Yandex Translate API · Schema
TranslateRequest
Request body for the Yandex Translate API translate endpoint
Machine TranslationNatural Language ProcessingLanguage DetectionTranslation DictionaryMultilingualYandex CloudLocalizationInternationalization
Properties
| Name | Type | Description |
|---|---|---|
| sourceLanguageCode | string | The language code of the source text. Most languages use ISO 639-1 format (e.g., 'ru'). Required when using a glossary. |
| targetLanguageCode | string | The target language code to translate the text into. Most languages use ISO 639-1 format (e.g., 'en'). |
| format | string | Format of the text to be translated. |
| texts | array | Array of strings to translate. The maximum total length of all strings is 10000 characters. |
| folderId | string | ID of the folder to which you have access. Required for user account authorization. |
| model | string | Model ID if using a custom translation model. |
| glossaryConfig | object | |
| speller | boolean | Enable spell checking for the source text. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/yandex-translate/main/json-schema/translate-request.json",
"title": "TranslateRequest",
"description": "Request body for the Yandex Translate API translate endpoint",
"type": "object",
"required": ["targetLanguageCode", "texts"],
"properties": {
"sourceLanguageCode": {
"type": "string",
"maxLength": 3,
"description": "The language code of the source text. Most languages use ISO 639-1 format (e.g., 'ru'). Required when using a glossary.",
"example": "ru"
},
"targetLanguageCode": {
"type": "string",
"maxLength": 3,
"description": "The target language code to translate the text into. Most languages use ISO 639-1 format (e.g., 'en').",
"example": "en"
},
"format": {
"type": "string",
"description": "Format of the text to be translated.",
"enum": ["FORMAT_UNSPECIFIED", "PLAIN_TEXT", "HTML"],
"default": "PLAIN_TEXT"
},
"texts": {
"type": "array",
"description": "Array of strings to translate. The maximum total length of all strings is 10000 characters.",
"minItems": 1,
"items": {
"type": "string"
}
},
"folderId": {
"type": "string",
"maxLength": 50,
"description": "ID of the folder to which you have access. Required for user account authorization."
},
"model": {
"type": "string",
"maxLength": 50,
"description": "Model ID if using a custom translation model."
},
"glossaryConfig": {
"$ref": "#/definitions/TranslateGlossaryConfig"
},
"speller": {
"type": "boolean",
"description": "Enable spell checking for the source text.",
"default": false
}
},
"definitions": {
"TranslateGlossaryConfig": {
"type": "object",
"description": "Configuration for applying a glossary during translation",
"properties": {
"glossaryData": {
"$ref": "#/definitions/GlossaryData"
}
}
},
"GlossaryData": {
"type": "object",
"description": "Inline glossary data with source-to-translation text pairs",
"properties": {
"glossaryPairs": {
"type": "array",
"description": "Array of text pairs. Max 50 pairs. Total source text ≤10000 chars, total translated text ≤10000 chars.",
"minItems": 1,
"maxItems": 50,
"items": {
"$ref": "#/definitions/GlossaryPair"
}
}
}
},
"GlossaryPair": {
"type": "object",
"required": ["sourceText", "translatedText"],
"description": "A source-to-translation term pair for use in a glossary",
"properties": {
"sourceText": {
"type": "string",
"description": "Text in the source language."
},
"translatedText": {
"type": "string",
"description": "Text in the target language."
},
"exact": {
"type": "boolean",
"description": "Enables exact matching for neuroglossary term forms.",
"default": false
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/translate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.