100 free credits. No credit card required. Get a key

Weibo post API

One Weibo post by URL or id: text, author, reposts, comments, likes, pictures and video.

GET /v1/weibo/post1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/weibo/post?url=https://m.weibo.cn/detail/5368869603512186",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"id": "5368869603512186",
"mid": "5368869603512186",
"bid": "RsTC0eJGa",
"created_at": "Tue Nov 24 20:02:05 +0800 2026",
"text": "欢迎收看我的街角碎片🧩 ",
"reposts_count": 305294,
"comments_count": 208478,
"attitudes_count": 990734,
"user": {
"id": 1669879400,
"screen_name": "Dear-迪丽热巴",
"followers_count": "8258.3万",
"verified": true
},
"source": "",
"region_name": "发布于 上海",
"pic_num": 9,
"isLongText": false,
"url": "https://m.weibo.cn/detail/5368869603512186"
}

Parameters

NameTypeDescription
urlquery · requiredstringA post URL or id. Example: https://m.weibo.cn/detail/5368869603512186.
Response fields

200 with a WeiboPost, in Weibo’s own JSON.

FieldTypeDescription
idstring
midstring
bidstring
created_atstring
textstring
reposts_countnumber
comments_countnumber
attitudes_countnumberLikes.
userobject | null
picsobject
page_infoobject
retweeted_statusobject
urlstring
Status codes
StatusMeaning
200The post.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The user, post or comment does not exist or has nothing public.
429Too many requests. Wait for Retry-After seconds.
503Weibo is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Which URLs?

m.weibo.cn/detail/<id>, weibo.com/<uid>/<bid> or the id.

Weibo is a trademark of Weibo Corporation. We are not affiliated with or endorsed by Weibo Corporation.