TikTok Content Translation API
Retrieve translated text strings by passing the source text in src_content and designating the destination language code in trg_lang.
Use cases
- Translate TikTok post captions and descriptions into a target language.
- Localize user comments for multilingual analysis workflows.
- Convert video text content into different regional languages.
Request
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/content-translate" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
Parameters
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"translated_content_list": [
{
"src_content": "Hello, welcome!",
"translated_content": "您好,欢迎!"
}
]
}
Notes
- The
src_content parameter supports up to 5000 characters; input exceeding this limit is truncated to the first 5000 characters.
Pricing
Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.