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.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 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 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_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 | $0.001 / 호출 | JSON |
Pipixia | $0.001 / 호출 | JSON |
Pipixia | $0.001 / 호출 | JSON |
Pipixia | $0.001 / 호출 | JSON |
Pipixia | $0.001 / 호출 | JSON |
Pipixia | $0.001 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/pipixia/app/post-statistics에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: cell_id (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Pipixia Post Statistics은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Pipixia API 액세스를 별도로 신청할 필요는 없습니다.