aweme_idsstringआवश्यक
Video id, supports multiple video ids, separated by commas, no more than 2, single is also possible, no need for commas.
https://api.sandbase.ai/v1/api/douyin/app-v3/video-statisticsReturns statistical metrics including like counts, play counts, and share counts for specified Douyin videos by ID.
[
{
"data": {
"statistics_list": [
{
"aweme_id": "7448118827402972455",
"digg_count": 4557,
"play_count": 239527,
"share_count": 69
},
{
"aweme_id": "7126745726494821640",
"digg_count": 36465,
"download_count": 4515,
"play_count": 1222995,
"share_count": 8493
}
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns like, play and share counts for one or two Douyin videos. You pass the video IDs in aweme_ids, separated by a comma.
share_count to see how often a video was shared.download_count on videos that report it.curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-statistics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_ids": "7448118827402972455,7126745726494821640"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_ids | string | Yes | Video id, supports multiple video ids, separated by commas, no more than 2, single is also possible, no need for commas. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"statistics_list": [
{
"aweme_id": "7448118827402972455",
"digg_count": 4553,
"play_count": 239913,
"share_count": 69
}
]
}
| Field | Meaning |
|---|---|
statistics_list[] | One entry per video ID you sent. |
statistics_list[].aweme_id | The ID of the video these counts belong to. Use it to match each entry to your input. |
statistics_list[].digg_count | Number of likes on the video. |
statistics_list[].play_count | Number of plays on the video. |
statistics_list[].share_count | Number of shares of the video. |
statistics_list[].download_count | Number of downloads of the video. It appears only for some videos, so the first video in the example does not have it. |
aweme_ids. For one video, send the ID without a comma.aweme_id values are long numeric strings. Keep them as strings.download_count can be missing from an entry, so check for it before you read it.$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/douyin/app-v3/video-statistics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_ids": "7448118827402972455,7126745726494821640"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
aweme_idsstringआवश्यकVideo id, supports multiple video ids, separated by commas, no more than 2, single is also possible, no need for commas.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"statistics_list": [
{
"aweme_id": "7448118827402972455",
"digg_count": 4557,
"play_count": 239527,
"share_count": 69
},
{
"aweme_id": "7126745726494821640",
"digg_count": 36465,
"download_count": 4515,
"play_count": 1222995,
"share_count": 8493
}
]
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin Video Statisticsयह 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/app-v3/video-statistics पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: aweme_ids (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Video Statistics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।