E-commerce Text/HTML Translation
Information you can get with this API
- The translated text by AI, specially optimized for e-commerce field
Basic Information
Request Parameter
Query
Body
Content-Type: application/json
Field | Type | Explanation | Required |
---|---|---|---|
format | string | Optional values:text ,html default: text | false |
fromLang | string | source language, two-letter language code(ISO 639-1 standard), default value: auto | false |
toLang | string | target language, two-letter language code(ISO 639-1 standard) | true |
sourceText | string | source text, and the character count needs to be less than 5000 | true |
scene | string | translation scene, optional values:title (product title)description (product detailed description)chat (for the communication scenario with e-commerce buyers and sellers)other (other common scenarios) | true |
Security Auth
tip
Please go to Console-Account Center to get your apiToken
Add your apiToken to your query parameters. Please refer to the examples below.
Request Example
- PHP
- JavaScript
- Python
- Java
- Go
Response Example
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...