TikTok Content Translation

Docs ↗
https://api.sandbase.ai/v1/api/tiktok/app-v3/content-translate

Translates provided text content into a designated target language. Accepts source text up to 5000 characters and returns the corresponding translated text string.

Price
$0.0015USD / call
Method
POST
Response
JSON
Parameters
0 required · 2 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Source content, that is, the content that needs to be translated, the length does not exceed 5000 characters, if it exceeds 5000 characters, only the first 5000 characters will be translated.
Target language
OutputExample
Responseoutputs · 500 B · 23 lines
[
  {
    "data": {
      "extra": {
        "fatal_item_ids": [],
        "logid": "202610061239112C072D19832236975281",
        "now": 1791290351000
      },
      "log_pb": {
        "impr_id": "202610061239112C072D19832236975281"
      },
      "status_code": 0,
      "status_msg": "",
      "translated_content_list": [
        {
          "src_content": "Hello, welcome to TikHub!",
          "translated_content": "您好,欢迎来到TikHub!",
          "variant": "default"
        }
      ]
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

API README

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

NameTypeRequiredDescription
trg_langstringNoTarget language
src_contentstringNoSource content, that is, the content that needs to be translated, the length does not exceed 5000 characters, if it exceeds 5000 characters, only the first 500…

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.

Explore more

Related APIs

All APIs
APIPriceResponse
TikTok$0.0015 per callJSON
TikTok$0.0015 per callJSON
TikTok$0.01 per callJSON
TikTok$0.0015 per callJSON
TikTok$0.0015 per callJSON
TikTok$0.0015 per callJSON

Questions

FAQ

How do I use the TikTok Content Translation API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/app-v3/content-translate with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the TikTok Content Translation API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the TikTok Content Translation API accept?

No parameters are required. Optional: src_content (string) and trg_lang (string). The Parameters table and the Playground on this page list every field.

What does the TikTok Content Translation API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a TikTok developer account or API key?

No. TikTok Content Translation runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.