Translation API (v1_beta.1.4)

Download OpenAPI specification:Download

This API allows 3rd party developers to translate item titles.

language

translate

This method translates listing title and listing description text from one language into another. For a full list of supported language translations, see the table in the API Overview page.

Authorizations:
Client_Credentials
Request Body schema: application/json
from
string

The language of the input text to be translated. Not all LanguageEnum values are supported in this field. For a full list of supported language translations, see the table in the API Overview page. For implementation help, refer to eBay API documentation

text
Array of strings

The input text to translate. For ITEM_DESCRIPTION translations, HTML/CSS markup and links can be included, but will count toward max character limit. Max Length: 1,000 characters for ITEM_TITLE 100,000 characters for ITEM_DESCRIPTION, including markup/tagsMax Occurrence: 1. Only one continuous text string currently supported.

to
string

The target language for the translation of the input text. Not all LanguageEnum values are supported in this field. For a full list of supported language translations, see the table in the API Overview page. For implementation help, refer to eBay API documentation

translationContext
string

Input the listing entity to be translated. Valid Values: ITEM_TITLE and ITEM_DESCRIPTION For implementation help, refer to eBay API documentation

Responses

Request samples

Content type
application/json
{
  • "from": "string",
  • "text": [
    ],
  • "to": "string",
  • "translationContext": "string"
}

Response samples

Content type
application/json
{
  • "from": "string",
  • "to": "string",
  • "translations": [
    ]
}