itemIdstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर 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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
itemIdstringआवश्यकVideo id
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.05 प्रति कॉल | JSON |
गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: itemId (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। TikTok AI-generated article of a single video SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।