Social media4 min readBy Purrkey teamUpdated

How to run an advanced Weibo search by keyword

Run an advanced Weibo search and return matching posts with authors, media flags, engagement counts, and publish times, then map them into a triage table for a product launch

On this page

You have up to 20 Weibo posts to triage for a product launch, and you need a table of matching posts with authors, media flags, engagement counts, publish times and a theme column

The worksheet below is the deliverable: one row per post, with the fields that drive a decision about which themes to monitor and which posts need a response. This guide shows the setup and the cost; the table is a design with placeholder values, not a run result

The task and the worksheet design

Example input: query.q is 咖啡 and query.page is 1. Replace 咖啡 with your own product launch keyword before you run the search

The table is sized for up to 20 rows. Stop adding rows at 20, even if a page contains more matches. Values here are placeholders showing the shape

publish_timeuser_namecontentweibo_typesourceinteraction.like_countinteraction.repost_countinteraction.comment_countmedia.has_imagemedia.has_videopost_urltheme
(publish time)(user name)(content)original(source)000truefalse(post URL)(theme)

The output has no theme field, so the tool cannot assign that column for you

query.q is required. query.search_type, query.include_type, query.timescope and query.page are optional. The contract lists query.search_type values as hot, original, verified, media and viewpoint, plus an unfiltered value. query.include_type values are pic, video, music and link, plus an unfiltered value. query.timescope uses custom:start:end, and query.page defaults to 1

The catalog entry is called through POST /v1/runs with toolId tikhub.weibo.web_v2.fetch_advanced_search. Each page is a separate call, and successful empty results are still charged

Reading the output fields

The output is the supplier's raw JSON with no fixed schema. Field names under output in the contract were observed on one run, so tell the agent to read the field names from the first page before it maps columns

Use publish_time to order posts and user_name with user_url to identify the author. Read content and source to assign the theme. weibo_type helps separate original, hot or media posts when you combine it with the query.search_type filter. Rank posts with interaction.like_count, interaction.repost_count and interaction.comment_count. Use media.has_image and media.has_video to decide whether a post needs a visual review, and use post_url for the response queue

Check result_count and parse_success on the parsed page before you fill the table. A false parse_success means the page did not parse, so do not treat that page as a set of matches

What one real call returned

One call was made on 2026-11-13. Input sent: {"query": {"q": "咖啡", "page": 1}}. Billing status SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. Top-level keys of data: parsed_data. The run facts supplied for this article do not include an item count

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to run an advanced
Weibo keyword search for the product launch review. Check the current
inputs and price of tikhub.weibo.web_v2.fetch_advanced_search before
running anything. Use query.q 咖啡 and query.page 1. Read the field names
from the first page before mapping columns. If the first page has fewer
than 20 usable rows and you need more, request pages 2 through 5 in
separate calls, stopping at 20 rows. Return a table with publish_time,
user_name, content, weibo_type, source, interaction.like_count,
interaction.repost_count, interaction.comment_count, media.has_image,
media.has_video, post_url and theme. Leave theme blank when you cannot
assign it from content and source. Do not invent fields. Do not request
extra pages after the table has 20 rows.

Example input: q 咖啡, page 1. Replace 咖啡 with your own keyword.

Estimated tool cost

The listed price is $0.001 per call. The max_call note reads "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
Single-page reviewcalls x price$0.001 per call1 call$0.001
Five-page sweepcalls x price$0.001 per call5 calls$0.005

Open the Weibo advanced search tool and run the first page with your keyword. Swap in your own keyword for the Example value before you start

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Weibo.
Explore Weibo tools and pricing

FAQ

How do I run an advanced Weibo search by keyword?

Send the keyword in query.q to tikhub.weibo.web_v2.fetch_advanced_search and map the returned post fields into a worksheet. Use query.search_type and query.include_type to narrow the result before you read engagement and media flags.

What inputs does tikhub.weibo.web_v2.fetch_advanced_search take?

It takes a required query.q keyword and optional query.search_type, query.include_type, query.timescope and query.page. query.page defaults to 1, and query.timescope uses custom:start:end.

What does the Weibo advanced search return?

The contract lists fields such as publish_time, user_name, content, weibo_type, source, interaction, media and post_url. The page also includes result_count and parse_success.

What happens if a Weibo search returns no results?

A successful empty result is still charged at $0.001 per call. The price is fixed per call.

How much does a Weibo advanced search cost?

The listed price is $0.001 per call. A single-page review is at most $0.001 for 1 call, and a five-page sweep is at most $0.005 for 5 calls.

Can I request more than one page of Weibo search results?

query.page is optional and defaults to 1. Each page is a separate call, and the five-page sweep plans 5 calls at $0.001 per call.

Why is there no theme column in the output?

The contract field list does not include a theme field. You assign theme in the worksheet from content and source.

Next step

Try this with Weibo

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Weibo tools

Share this article