Weibo Scraper Api logo

Weibo Scraper Api

Community
scavio-ai
weibo-scraper-api

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.

Overview

Publisherscavio-ai
Repositoryskills
Skill nameweibo-scraper-api
Stars
67
Forks
0
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by scavio-ai on GitHub. Read the source before you install it.

Installation

Install the Weibo Scraper Api AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/scavio-ai/skills/tree/main/skills/weibo-scraper-api
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/weibo-scraper-api .claude/skills/weibo-scraper-api
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Weibo Scraper Api in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Weibo Scraper Api on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Weibo Scraper Api is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Pull Weibo user profiles and posts, a post's comments, likes and reposts, run keyword search across posts, videos, users, topics and images, and read the hot-search board and ranking boards. 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):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

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

Search

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

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

python
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:

bash
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.
  • channel-feed is retired: it returns 410 with code: endpoint_retired and is never billed. Use hot-search or rankings/hot-timeline for what is trending.
  • 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.

Frequently asked questions

What does the Weibo Scraper Api AI skill do?

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.

Why use Weibo Scraper Api on TypingMind?

Because you install it once and use it with any model. Weibo Scraper Api is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Weibo Scraper Api in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/scavio-ai/skills/tree/main/skills/weibo-scraper-api. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Weibo Scraper Api?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Weibo Scraper Api?

As many as you like. As long as a model supports skills, you can use Weibo Scraper Api with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Weibo Scraper Api AI skill free?

Yes. It is published on GitHub by scavio-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇