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
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
cell_idstringจำเป็นAKA video id, can be obtained from the share link.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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 StatisticsAPI นี้ Pipixia | $0.001 ต่อการเรียก | JSON |
Pipixia | $0.001 ต่อการเรียก | JSON |
Pipixia | $0.001 ต่อการเรียก | JSON |
Pipixia | $0.001 ต่อการเรียก | JSON |
Pipixia | $0.001 ต่อการเรียก | JSON |
Pipixia | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/pipixia/app/post-statistics โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: cell_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Pipixia Post Statistics ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Pipixia API แยกต่างหาก