Data APIs ยท Weibo
Weibo data APIs for AI agents
morigraph has 6 Weibo data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including profile, advanced search, post and user posts. You need no Weibo developer account or API key, only one morigraph connection. Calls cost from 0.024 credits, about $2.40 for 1,000 calls, paid from one balance.
- APIs
- 6
- Price
- 0.024 to 0.036 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Weibo account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Weibo Profile.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Weibo Profile data API with {"userId":"1722594714"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"weibo.profile","input":{"userId":"1722594714"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"weibo.profile","input":{"userId":"1722594714"}}'6 Weibo data APIs
| API | Id | Price |
|---|---|---|
| Weibo Profile | weibo.profile | 0.024 credits a call |
| Weibo Advanced Search | weibo.search | 0.024 credits a call |
| Weibo Post | weibo.post | 0.024 credits a call |
| Weibo User Posts | weibo.user_posts | 0.024 credits a call |
| Weibo Hot Search | weibo.hot_search | 0.036 credits a call |
| Weibo Post Comments | weibo.post_comments | 0.024 credits a call |
Weibo Profile
Fetch a public Weibo profile by user ID with normalized audience and account data.
| Argument | Type | Required | What it is |
|---|---|---|---|
userId | string | yes | Weibo user identifier. |
Returns bio customName externalUrl followers following gender image location name posts profileUrl userId verified verifiedReason
The call
data_api({"api":"weibo.profile","input":{"userId":"1722594714"}})Weibo Advanced Search
Search public Weibo posts with optional result, media, and time filters.
| Argument | Type | Required | What it is |
|---|---|---|---|
includeType | string | no | Media filter, such as all, pic, video, music, or link. |
page | integer | no | Page number starting at 1. Default 1. |
query | string | yes | Search keyword. |
searchType | string | no | Search type, such as all, hot, original, verified, media, or viewpoint. |
timeScope | string | no | Custom time range in the API's custom:start:end format. |
Returns authorImage authorName authorUrl comments createdUtc hasImage hasMore hasVideo id likes posts reposts resultCount text type url
The call
data_api({"api":"weibo.search","input":{"includeType":"pic","page":1,"query":"python","searchType":"hot"}})Weibo Post
Fetch a public Weibo post by ID with normalized author and engagement data.
| Argument | Type | Required | What it is |
|---|---|---|---|
includeLongText | string | no | Whether to include the full text of long posts. Default "true". |
postId | string | yes | Weibo post identifier. |
Returns authorImage authorName authorUrl authorUserId authorVerified comments createdUtc id imageCount likes reposts shortId text
The call
data_api({"api":"weibo.post","input":{"includeLongText":"true","postId":"5092682368025584"}})Weibo User Posts
List public posts from a Weibo user with normalized author and engagement data.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination identifier returned as nextCursor. |
feature | integer | no | Response detail feature: 0 basic, 1 extended, 2 image-oriented, or 3 video-oriented. Default 0. |
page | integer | no | Page number starting at 1. Default 1. |
userId | string | yes | Weibo user identifier. |
Returns authorImage authorName authorUrl authorUserId authorVerified comments createdUtc id image imageCount likes nextCursor posts reposts shortId text
The call
data_api({"api":"weibo.user_posts","input":{"feature":3,"page":1,"userId":"7277477906"}})Weibo Hot Search
Get the complete current Weibo hot-search ranking with labels and heat values.
This API takes no arguments.
Returns heat keyword pinned rank tag topics total
The call
data_api({"api":"weibo.hot_search","input":{}})Weibo Post Comments
List first-level comments on a public Weibo post with pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination cursor returned as nextCursor. |
limit | integer | no | Requested comment count. Default 10. |
postId | string | yes | Weibo post identifier. |
Returns authorImage authorName authorUrl authorUserId authorVerified comments createdUtc id imageCount likes nextCursor replies text total
The call
data_api({"api":"weibo.post_comments","input":{"limit":10,"postId":"5283919831764022"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Weibo data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Weibo API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 6 APIs on this page.
What does Weibo data cost through morigraph?
Between 0.024 and 0.036 credits a call depending on the API, where a credit is about 10 cents. That is from about $2.40 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Weibo data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Weibo data APIs are available?
Weibo Profile, Weibo Advanced Search, Weibo Post, Weibo User Posts, Weibo Hot Search and Weibo Post Comments.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.