cell_idstringआवश्यक
AKA video id, can be obtained from the share link.
https://api.sandbase.ai/v1/api/pipixia/app/post-statisticsReturns engagement metrics and statistics for a single Pipixia post using its identifier. Includes figures such as likes, comments, and reposts.
[
{
"data": {
"data": {
"data": [
{
"author": {
"is_following": false
},
"bury_count": -1,
"bury_counts": [
{
"bury_count": -1,
"bury_type": 10
}
],
"bury_type": 10,
"comment_count": 1257,
"digg_counts": [
{
"digg_count": 16560,
"digg_type": 10
},
{
"digg_count": 1,
"digg_type": 20
}
],
"digg_type": 10,
"dubbing_count": 0,
"go_detail_count": 388259,
"impression_count": 7066460,
"is_bury": false,
"is_like": false,
"item_id": 7411193113223371000,
"item_id_str": "7411193113223371043",
"like_count": 16561,
"play_count": 5237798,
"reward_count": 290,
"share_count": 881,
"show_feature_bury": false,
"show_feature_digg": true,
"status": 0,
"view_count": 7086664,
"ward_info": {
"has_new": false,
"is_visible": false,
"is_ward": false,
"trend_messages": [],
"ward_comment_id": 0,
"ward_count": 118,
"ward_reply_id": 0,
"ward_users": [
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~tplv-ppx-logo.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662",
"url_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~c5_200x200_q80.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027382669,
"id_str": "99027382669",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "安若少年初入梦",
"profile_schema": "bds://user/profile?user_id=99027382669&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
},
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~tplv-ppx-logo.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d",
"url_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~c5_200x200_q80.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027454024,
"id_str": "99027454024",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "我与孤独重归于好",
"profile_schema": "bds://user/profile?user_id=99027454024&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
},
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~tplv-ppx-logo.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa",
"url_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~c5_200x200_q80.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027629264,
"id_str": "99027629264",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "阁下您的银时",
"profile_schema": "bds://user/profile?user_id=99027629264&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
}
]
}
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1791290324760
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns engagement counts for one Pipixia post, such as likes, comments, shares, plays and impressions. The only input is the post's cell_id, which is the video ID.
play_count with impression_count and go_detail_count to see how many viewers open the post.reward_count and ward_info.ward_count when you rank posts by audience support.curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/post-statistics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cell_id": "7411193113223371043"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cell_id | string | Yes | AKA video id, can be obtained from the share link. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"data": [
{
"author": {
"is_following": false
},
"bury_count": -1,
"bury_counts": [
{
"bury_count": -1,
"bury_type": 10
}
],
"bury_type": 10,
"comment_count": 1257,
"digg_counts": [
{
"digg_count": 16560,
"digg_type": 10
}
],
"digg_type": 10,
"dubbing_count": 0,
"go_detail_count": 388260,
"impression_count": 7066460,
"is_bury": false,
"is_like": false
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1793691713155
}
| Field | Meaning |
|---|---|
data.data[].item_id_str | The post ID as a string. It matches the cell_id you sent. Use this form to avoid rounding of the large number in item_id. |
data.data[].like_count | Total likes on the post. |
data.data[].comment_count | Number of comments on the post. |
data.data[].share_count | Number of times the post was shared. |
data.data[].play_count / view_count / impression_count | Counts of plays, views and impressions for the post. In the sample, impression_count is the largest and play_count is the smallest of the three. |
data.data[].go_detail_count | Count of times viewers went to the post's detail page. |
data.data[].reward_count | Number of rewards the post received. |
data.data[].digg_counts[] | Like counts split by type. Each row has a digg_count and a digg_type. In the sample, type 10 holds 16560 and type 20 holds 1. |
data.data[].ward_info.ward_count | Number of wards on the post. |
data.data[].ward_info.ward_users[].avatar.url_list[].url | Avatar image URLs of users listed in ward_users. |
cell_id from the post share link. It is the same as the video ID.bury_count returns -1 in the sample, which means no usable value was returned.data.data, so read the first item of the list.$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/pipixia/app/post-statistics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cell_id": "7411193113223371043"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
cell_idstringआवश्यकAKA video id, can be obtained from the share link.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"data": {
"data": [
{
"author": {
"is_following": false
},
"bury_count": -1,
"bury_counts": [
{
"bury_count": -1,
"bury_type": 10
}
],
"bury_type": 10,
"comment_count": 1257,
"digg_counts": [
{
"digg_count": 16560,
"digg_type": 10
},
{
"digg_count": 1,
"digg_type": 20
}
],
"digg_type": 10,
"dubbing_count": 0,
"go_detail_count": 388259,
"impression_count": 7066460,
"is_bury": false,
"is_like": false,
"item_id": 7411193113223371000,
"item_id_str": "7411193113223371043",
"like_count": 16561,
"play_count": 5237798,
"reward_count": 290,
"share_count": 881,
"show_feature_bury": false,
"show_feature_digg": true,
"status": 0,
"view_count": 7086664,
"ward_info": {
"has_new": false,
"is_visible": false,
"is_ward": false,
"trend_messages": [],
"ward_comment_id": 0,
"ward_count": 118,
"ward_reply_id": 0,
"ward_users": [
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~tplv-ppx-logo.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662",
"url_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~c5_200x200_q80.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/d24a32a7807943a0ad334b007aa0d662~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027382669,
"id_str": "99027382669",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "安若少年初入梦",
"profile_schema": "bds://user/profile?user_id=99027382669&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
},
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~tplv-ppx-logo.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d",
"url_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~c5_200x200_q80.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/5ba8b552cf0343d79b52fc61962f0a5d~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027454024,
"id_str": "99027454024",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "我与孤独重归于好",
"profile_schema": "bds://user/profile?user_id=99027454024&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
},
{
"achievements": null,
"age": null,
"author_info": null,
"avatar": {
"download_list": [
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~tplv-ppx-logo.jpeg"
},
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~tplv-ppx-logo.jpeg"
}
],
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa",
"url_list": [
{
"url": "https://p3-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~c5_200x200_q80.jpeg"
},
{
"url": "https://p9-ppx.byteimg.com/img/tos-cn-i-0000/f1cf851d8fae4e8096b0bc63a2e5adaa~c5_200x200_q80.jpeg"
}
],
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": null,
"followings_count": null,
"gender": null,
"god_comment_count": null,
"hide_age": null,
"horoscope": null,
"id": 99027629264,
"id_str": "99027629264",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": null,
"live_auth": false,
"liveing_info": null,
"medal_info": null,
"name": "阁下您的银时",
"profile_schema": "bds://user/profile?user_id=99027629264&page_index=1",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": null,
"vote_count": 0
}
]
}
}
]
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1791290324760
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Pipixia Post Statisticsयह API Pipixia | $0.001 प्रति कॉल | JSON |
Pipixia | $0.001 प्रति कॉल | JSON |
Pipixia | $0.001 प्रति कॉल | JSON |
Pipixia | $0.001 प्रति कॉल | JSON |
Pipixia | $0.001 प्रति कॉल | JSON |
Pipixia | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/pipixia/app/post-statistics पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: cell_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Pipixia Post Statistics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Pipixia API access के लिए आवेदन करने की आवश्यकता नहीं है।