cell_idstringobrigatório
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
}
}
]Selecione um exemplo para carregar as entradas e o resultado no 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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
cell_idstringobrigatórioAKA video id, can be obtained from the share link.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"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
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Pipixia Post StatisticsEsta API Pipixia | $0.001 por chamada | JSON |
Pipixia | $0.001 por chamada | JSON |
Pipixia | $0.001 por chamada | JSON |
Pipixia | $0.001 por chamada | JSON |
Pipixia | $0.001 por chamada | JSON |
Pipixia | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/pipixia/app/post-statistics com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: cell_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Pipixia Post Statistics funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Pipixia separadamente.