Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Translate
  • Getting started
  • Step-by-step instructions
    • All instructions
    • How to translate text
    • How to improve the accuracy of translations
    • Detecting language
    • Getting a list of supported languages
  • Concepts
    • Overview
    • Retraining models
    • Supported languages
    • Glossaries
    • Glossary support
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • TranslationService
    • REST
      • v2
        • Handling errors
        • Troubleshooting
        • Overview
        • Translation
          • Overview
          • detectLanguage
          • listLanguages
          • translate
      • v1 (DEPRECATED)
        • Overview
        • How to translate text
        • Detecting language
        • List of supported languages
        • Response format
  • Quotas and limits
  • Access management
  • Pricing policy
    • Current pricing policy
    • Archive
      • Policy before January 1, 2019
  • Questions and answers
  1. API reference
  2. REST
  3. v2
  4. Translation
  5. listLanguages

Translate API v2, REST: Translation.listLanguages

Written by
Yandex Cloud
  • HTTP request
  • Body parameters
  • Response

Retrieves the list of supported languages.

HTTP request

POST https://translate.api.cloud.yandex.net/translate/v2/languages

Body parameters

{
  "folderId": "string"
}
Field Description
folderId string

ID of the folder to which you have access. Required for authorization with a user account (see UserAccount resource). Don't specify this field if you make the request on behalf of a service account.

The maximum string length in characters is 50.

Response

HTTP Code: 200 - OK

{
  "languages": [
    {
      "code": "string",
      "name": "string"
    }
  ]
}
Field Description
languages[] object

List of supported languages.

languages[].
code
string

The language code. Specified in ISO 639-1 format (for example, en).

languages[].
name
string

The name of the language (for example, English).

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • HTTP request
  • Body parameters
  • Response