Weibo post comments

GET https://api.api.sh/weibo/v1/comments
1 credit / call social try it in the playground →

Comments on a Weibo post, by heat or by time: id, text, date, likes, reply count, location, the commenter (id, name, verified, followers, avatar) and the top replies. total is the site's count. Pass next_cursor back as cursor; null on the last page.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
url string A weibo.com/<uid>/<code> post link. Example: https://weibo.com/2656274875/RoVDyrETK
id string The post's code or numeric id, instead of url.
sort hot | time hot (default) or time.
cursor string Pass next_cursor from the previous response.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/weibo/v1/comments?url=https%3A%2F%2Fweibo.com%2F2656274875%2FRoVDyrETK" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.