end_datestringआवश्यक
End date YYYYMMDD (inclusive)
https://api.sandbase.ai/v1/api/douyin/index/content-consume-trendReturns content consumption metrics such as play counts and watch duration trends over time for a specified Douyin category within a selected date range.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Access category-level consumption heat trends across a date window defined by start_date and end_date for a specific tag_id.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "1735660799", "start_date": "1730044800", "tag_id": "2027"}'
| Name | Type | Required | Description |
|---|---|---|---|
tag_id | string | Yes | Category ID (required, does NOT support 0=all, must pass a specific category ID) |
end_date | string | Yes | End date YYYYMMDD (inclusive) |
start_date | string | Yes | Start date YYYYMMDD (inclusive) |
tag_id requires a specific category ID and does not support 0 for all categories.start_date and end_date in YYYYMMDD format (inclusive).Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag_id": "2027",
"end_date": "1735660799",
"start_date": "1730044800"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
end_datestringआवश्यकEnd date YYYYMMDD (inclusive)
start_datestringआवश्यकStart date YYYYMMDD (inclusive)
tag_idstringआवश्यकCategory ID (**required, does NOT support 0=all**, must pass a specific category ID)
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/index/content-consume-trend पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: end_date (string), start_date (string) और tag_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Douyin Content Consumption Trend SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।