itemIdstringwajib
Video id
https://api.sandbase.ai/v1/api/tiktok/web/post-ai-articleGet AI-generated article of a single video on TikTok. Returns the platform data as structured JSON.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns an AI-generated article for a single TikTok video, with a title, a short description and SEO keywords. It needs the video id as itemId.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemId": "7651935877744168194"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | Video id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "202611030744269003827AA4F970017CAA",
"now": 1793691867000
},
"itemCustomTDK": {
"article": "The world of sunscreens can be overwhelming, with countless options available, e…",
"desc": "Discover my genuine thoughts on the new Supergoop Unseen Sunscreen SPF50 and why…",
"keywords": [
"Supergoop unseen sunscreen review"
],
"title": "Supergoop Unseen Sunscreen SPF50 Review: A Surprising Find"
},
"log_pb": {
"impr_id": "202611030744269003827AA4F970017CAA"
},
"statusCode": 0,
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
itemCustomTDK.title | AI-generated title for the video. |
itemCustomTDK.article | Body text of the AI-generated article about the video. Long articles are returned as one string. |
itemCustomTDK.desc | Short description of the video. It can include the hashtags from the video caption. |
itemCustomTDK.keywords[] | List of suggested keywords for the video. Some entries start with a space, so trim them before use. |
status_code / statusCode | Result code of the request. 0 in this response. |
status_msg | Status message. It is an empty string in this response. |
extra.fatal_item_ids[] | List of video ids that failed to load. It is empty in this response. |
extra.now | Time of the response as a number, such as 1793691867000. |
log_pb.impr_id / extra.logid | Request tracking ids. Both hold the same value in this response. |
itemId. It is a numeric string such as 7651935877744168194.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemId": "7651935877744168194"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
itemIdstringwajibVideo id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.05 per panggilan | JSON |
Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: itemId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. TikTok AI-generated article of a single video berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.