uidstringobrigatório
Weibo User ID (UID).
https://api.sandbase.ai/v1/api/weibo/user-postGet posts published by a Weibo user identified by UID, using page numbers and a required sinceId cursor after the first page. Use it to browse an account's posting history or continue through its post feed.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API returns a page of posts published by one Weibo account. It needs the account's uid. For later pages it also needs the sinceId cursor.
pic_infos URLs.curl -X POST "https://api.sandbase.ai/v1/api/weibo/user-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "2803301701"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Weibo User ID (UID). |
page | integer | No | Page number, starting with 1. |
sinceId | string | No | Pagination cursor (since_id). Required if page > 1. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"bottom_tips_text": "",
"bottom_tips_visible": false,
"list": [
{
"analysis_extra": "follow:0",
"annotations": [
{
"photo_sub_type": "0,0,0,0,0,0,0,0,0"
}
],
"attitudes_count": 1103,
"attitudes_status": 0,
"can_edit": false,
"cardid": "star_1624",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_anon_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 567,
"content_auth": 3,
"content_auth_list": [
{
"content_auth": 3,
"rank": 90,
"show_type": 0
}
],
"created_at": "Tue Nov 03 07:44:51 +0800 2026",
"favorited": false
}
],
"since_id": "5360945434198751kp2",
"status_visible": 0,
"topicList": [],
"total": 154903
},
"ok": 1
}
| Field | Meaning |
|---|---|
data.list[] | One post published by the user. Each item holds the post text, counts, images and flags. |
data.list[].id / idstr / mid | Numeric and string forms of the post ID. idstr and mid hold the same value as id in the sample. |
data.list[].mblogid | Short post ID string, for example RpCOks7zT. |
data.list[].created_at | Publish time as text in the form Tue Nov 03 07:44:51 +0800 2026. |
data.list[].attitudes_count / comments_count | Number of likes and number of comments on the post. |
data.list[].number_display_strategy.display_text | Shortened display form of a large count, for example 100万+. |
data.list[].isTop | Pinned flag. The value 1 appears on a post pinned at the top of the feed. |
data.list[].pic_ids[] | IDs of the images attached to the post. Use them as keys into pic_infos. |
data.list[].pic_infos | Image details keyed by picture ID. Each has several sizes such as bmiddle, large and original, each with url, width and height. |
data.list[].isAd | Boolean flag that marks whether the post is an ad. |
uid from a Weibo profile, or from Weibo User Profile.uid. page starts at 1.page above 1, send the sinceId cursor with the request. The README says it is required for those pages.$0.014286 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/weibo/user-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "2803301701",
"page": 1
}'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.
uidstringobrigatórioWeibo User ID (UID).
pageintegerPage number, starting with 1.
Padrão: 1
sinceIdstringPagination cursor (since_id). Required if page > 1.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Weibo User Published PostsEsta API Weibo | $0.014286 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/weibo/user-post 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.014286 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: uid (string). Opcionais: page (integer) e sinceId (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. Weibo User Published Posts 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 Weibo separadamente.