APIs / Social media / Weibo
1 credit per call4 endpointsChecked working 6 Dec 2026
Weibo API
Weibo API for the hot search list, single posts with comments, a user's posts and user profiles as JSON. Four endpoints, 1 credit per call.
curl "https://api.perceptlayer.com/v1/weibo/hot-search" \
-H "X-API-Key: $API_KEY"Playground
Run this API
curl "https://api.perceptlayer.com/v1/weibo/hot-search" \
-H "X-API-Key: $API_KEY"Weibo · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/weibo/hot-search | noneNeeds terms | rankwordheatcategoryflagflag_label+1 more | 1 credit |
GET/v1/weibo/post | mid+1 optionalNeeds terms | idmidcreated_attextreposts_countcomments_count+4 more | 1 credit |
GET/v1/weibo/posts | uid+1 optionalNeeds terms | idmidbidcreated_attextreposts_count+3 more | 1 credit |
GET/v1/weibo/user | uidNeeds terms | uidscreen_namedescriptionfollowers_countfollow_countstatuses_count+3 more | 1 credit |
Overview
About the Weibo API
What you can get
The Weibo API returns public Weibo data as JSON through 4 endpoints. All of them are restricted endpoints: the restricted-endpoint terms apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.
- Trends:
hot-searchtakes no parameters. - Posts:
posttakes a postmid, withwith_comments;poststakes a useruid, withpage. - Users:
usertakes auid.
user and posts both take a uid, and post takes a mid, so you can work from the account or from a single post.
How a call works
Start with what's trending: GET /v1/weibo/hot-search with your key in the X-API-Key header. To read one post with its comments, call GET /v1/weibo/post?mid=...&with_comments=true. posts pages with page. Every successful call costs 1 credit; failed calls cost nothing.
More social media APIs
Use cases
Follow the topics on the Weibo hot search list over the day
Use the Weibo API to follow the topics on the Weibo hot search list over the dayRead the public posts of a brand's official account
Use the Weibo API to read the public posts of a brand's official accountMeasure reaction to a campaign post through its comments, in aggregate
Use the Weibo API to measure reaction to a campaign post through its comments, in aggregateFeed Chinese-language social trends into market research
Use the Weibo API to feed Chinese-language social trends into market researchFAQ
Questions
Do I need a Weibo API key?
No. You call this Weibo API with your Perceptlayer key in the `X-API-Key` header, so there's no Weibo developer app to register. You do need to accept the restricted-endpoint terms first.
How much does the Weibo API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Can I get the Weibo hot search list?
Yes. Call `hot-search`; it takes no parameters, so the request needs only your key.
Is this the official Weibo API?
No. Perceptlayer is an independent service and is not affiliated with Weibo. It returns Weibo data as JSON with a Perceptlayer key, so there is no Weibo developer account, app review or partner approval to get first. It only reads data: if Weibo has an official API and you need to act on your own Weibo account, such as posting, managing orders or reading private data, use that one.
Should I build a Weibo scraper instead?
You can, but a Weibo scraper is code you maintain: page changes break it, requests get blocked, and Weibo's terms govern how you collect data. The Weibo API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.
Try the Weibo API with 100 free credits
No credit card. Failed calls are never billed.