# Weibo on Onekey > 8 endpoints for Weibo (0 stable, 8 beta), 5 credits each. Category: Social networks. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 8 of 8 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/weibo Reference (Markdown): https://onekey.dev/docs/api/weibo.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 8 mapped Weibo endpoints return each: - `author.displayName` (string): 7 - `author.id` (string): 7 - `content.text` (string): 7 - `content.createdAt` (ISO 8601 date): 4 - `content.id` (string): 4 - `engagement.comments` (integer): 4 - `engagement.likes` (integer): 4 - `author.followers` (integer): 3 - `engagement.shares` (integer): 3 - `author.avatarUrl` (URL): 2 - `author.contentCount` (integer): 1 - `author.following` (integer): 1 - `author.verified` (boolean): 1 - `content.title` (string): 1 - `content.url` (URL): 1 - `engagement.views` (integer): 1 - `media.thumbnailUrl` (URL): 1 ## Endpoints ### weibo.comments Hot comments on a Weibo post. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/comments?mid=4900000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `mid` (string, required): Weibo post id (mid) - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.id`, `author.displayName`, `engagement.likes`, `engagement.comments` - Reference: https://onekey.dev/docs/api/weibo/comments.md ### weibo.followers Followers of a Weibo user (container 231051_-_followers_-_uid). - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/followers?uid=1669879400` with header `x-api-key: YOUR_API_KEY` - Parameters: - `uid` (string, required): Weibo numeric user id (uid) - Fields returned: `author.id`, `author.displayName`, `content.text`, `author.followers` - Reference: https://onekey.dev/docs/api/weibo/followers.md ### weibo.hot_search Weibo real-time hot search topics. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/hot_search` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.title`, `engagement.views`, `content.url` - Reference: https://onekey.dev/docs/api/weibo/hot_search.md ### weibo.post A single Weibo post with reposts/comments/likes. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/weibo/post?mid=4900000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `mid` (string, required): Weibo post id (mid) - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.id`, `author.displayName`, `engagement.shares`, `engagement.comments`, `engagement.likes` - Reference: https://onekey.dev/docs/api/weibo/post.md ### weibo.profile Weibo user profile: name, bio, followers, following, post count, verification. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/weibo/profile?uid=1669879400` with header `x-api-key: YOUR_API_KEY` - Parameters: - `uid` (string, required): Weibo numeric user id (uid) - Fields returned: `author.id`, `author.displayName`, `content.text`, `author.followers`, `author.following`, `author.contentCount`, `author.avatarUrl`, `author.verified` - Reference: https://onekey.dev/docs/api/weibo/profile.md ### weibo.search_posts Search Weibo posts by keyword. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/search_posts?q=AI` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.id`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/weibo/search_posts.md ### weibo.search_users Search Weibo users by keyword. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/search_users?q=AI` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search keyword - Fields returned: `author.id`, `author.displayName`, `content.text`, `author.followers`, `author.avatarUrl` - Reference: https://onekey.dev/docs/api/weibo/search_users.md ### weibo.user_posts Recent Weibo posts of a user (container 107603+uid). - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/weibo/user_posts?uid=1669879400` with header `x-api-key: YOUR_API_KEY` - Parameters: - `uid` (string, required): Weibo numeric user id (uid) - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.id`, `author.displayName`, `engagement.shares`, `engagement.comments`, `engagement.likes`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/weibo/user_posts.md ## Sample request ```bash curl "https://api.onekey.dev/v1/weibo/post?mid=4900000000000000" \ -H "x-api-key: YOUR_API_KEY" ```