浏览器

Weibo Scraper API - Users, Posts, Search, Hot Search

试用

Pull Weibo user profiles and posts, post comments/likes/reposts, keyword search across posts, videos, users, topics and images, and the hot-search and ranking boards. 30 endpoints, 1 credit each, structured JSON.

它能做什么

Pull Weibo user profiles and posts, a post's comments, likes and reposts, run keyword search across posts, videos, users, topics and images, read the hot-search board and ranking boards, and pull channel feeds. All endpoints return structured JSON.

技能文档

Weibo via Scavio

Pull Weibo user profiles and posts, a post's comments, likes and reposts, run keyword search across posts, videos, users, topics and images, read the hot-search board and ranking boards, and pull channel feeds. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Read a Weibo user's profile (by numeric id or handle), their posts or original-only posts, their fans, following or videos
  • Read a post in full, or its comments, sub-comments, likes or reposts
  • Search Weibo by keyword - posts (advanced or realtime), videos, users, topics, images, similar terms, or an AI-assisted answer
  • Read the hot-search board and the entertainment / life / social ranking boards
  • Pull a named channel's popular content
  • Do China-market social listening, trend spotting or creator/topic research on Weibo

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

export SCAVIO_API_KEY=sk_live_your_key

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. Every Weibo endpoint costs 1 credit.

User

EndpointWhat it returns
POST /api/v1/weibo/user/infoProfile details for a user by uid or custom handle
POST /api/v1/weibo/user/info-detailExtended profile details
POST /api/v1/weibo/user/postsA user's posts, with an optional detail level (feature 0-3)
POST /api/v1/weibo/user/original-postsA user's original (non-repost) posts
POST /api/v1/weibo/user/fansA user's followers
POST /api/v1/weibo/user/followingAccounts a user follows
POST /api/v1/weibo/user/videosA user's published videos
POST /api/v1/weibo/user/video-collectionsA user's video collection folders
POST /api/v1/weibo/user/video-collectionVideos inside a collection folder (cid)
POST /api/v1/weibo/user/search-postsSearch within one user's posts
POST /api/v1/weibo/user/recommend-timelineThe recommended home timeline

Post

EndpointWhat it returns
POST /api/v1/weibo/postFull detail for a single post by id (optional full long-text)
POST /api/v1/weibo/post/commentsTop-level comments on a post
POST /api/v1/weibo/post/sub-commentsReplies under a post's comments
POST /api/v1/weibo/post/likesAccounts that liked a post
POST /api/v1/weibo/post/repostsReposts of a post
EndpointWhat it returns
POST /api/v1/weibo/search/advancedKeyword search with type and time filters
POST /api/v1/weibo/search/realtimeNewest posts matching a keyword
POST /api/v1/weibo/search/videosVideos matching a keyword
POST /api/v1/weibo/search/usersUsers matching a keyword and filters
POST /api/v1/weibo/search/topicsTopics matching a keyword
POST /api/v1/weibo/search/picsImage posts matching a keyword
POST /api/v1/weibo/search/similarRelated search terms and accounts for a keyword
POST /api/v1/weibo/search/aiAI-assisted answer for a query

Hot / rankings / feed

EndpointWhat it returns
POST /api/v1/weibo/hot-searchThe current hot-search board
POST /api/v1/weibo/hot-search/indexThe top hot-search entries
POST /api/v1/weibo/rankings/hot-timelineTrending posts over a time window (ranking_type)
POST /api/v1/weibo/rankings/entertainmentThe entertainment ranking board
POST /api/v1/weibo/rankings/lifeThe lifestyle ranking board
POST /api/v1/weibo/rankings/socialThe social ranking board
POST /api/v1/weibo/channel-feedPopular content within a named channel

Key identifiers

  • uid - a numeric user id (e.g. 7277477906). user/info also accepts a custom handle instead.
  • id - a post id (e.g. 5092682368025584). Used by every post/* endpoint.
  • User post lists paginate with page (and since_id where offered); comment/timeline endpoints paginate with max_id from the previous response.

Examples

import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1. A user's profile, then their posts
info = requests.post(f"{BASE}/api/v1/weibo/user/info", headers=HEADERS,
    json={"uid": "7277477906"}).json()
posts = requests.post(f"{BASE}/api/v1/weibo/user/posts", headers=HEADERS,
    json={"uid": "7277477906", "page": 1}).json()

# 2. A post and its comments
post = requests.post(f"{BASE}/api/v1/weibo/post", headers=HEADERS,
    json={"id": "5092682368025584", "is_get_long_text": "true"}).json()
comments = requests.post(f"{BASE}/api/v1/weibo/post/comments", headers=HEADERS,
    json={"id": "5092682368025584", "count": 50}).json()

# 3. Realtime keyword search and the hot-search board
realtime = requests.post(f"{BASE}/api/v1/weibo/search/realtime", headers=HEADERS,
    json={"query": "yu7"}).json()
hot = requests.post(f"{BASE}/api/v1/weibo/hot-search", headers=HEADERS,
    json={}).json()

curl:

curl -s https://api.scavio.dev/api/v1/weibo/hot-search \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Response shape

Every response uses the envelope { data, response_time, credits_used, credits_remaining }. data carries the user / post / search payload, with lists under keys like posts, comments, users, reposts and cursors for pagination.

Guardrails

  • Every Weibo call is 1 credit, including one that comes back empty.
  • user/info needs either uid or custom; the post/* endpoints need id. A missing identifier is a 422, not an outage.
  • Paginate only with the cursor the previous response returned (page, since_id or max_id); stop when it stops advancing.
  • Hot-search and ranking boards are point-in-time snapshots - re-fetch for a fresh board.
  • Never fabricate follower counts, post text, comment text or user details. Only return what the API returned.
  • Posts and comments are written by real people. Summarise; do not build profiles of individuals.

Failure handling

  • 400 means malformed input. Fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 422 means a required identifier is missing (e.g. no uid/custom or no id). Supply it and retry.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means the source is temporarily unavailable - wait a few seconds and retry.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

相关技能

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

scavio-ai 的更多技能

浏览全部技能

Pull a Facebook page's profile, posts, reels and photos, one post with its comments, a single reel/video with downloadable URLs, a public group and its posts, an event, and hashtag posts. 11 endpoints, 1 credit each, structured JSON.

作者 scavio-ai3 次安装

Search the Meta Ad Library by keyword or Facebook Page id and walk full cursor pagination through every ad, with creative, run dates, platforms and political spend. 3 endpoints, 1 credit per page.

作者 scavio-ai3 次安装

Search live or SOLD eBay listings, read a listing in full, and look up a seller's profile card as structured JSON. 3 endpoints, 1 credit each. Sold-listing search is the price-research feature eBay itself hides.

作者 scavio-ai1 次安装