PeumeAPI

Social media data · Weibo

Search Weibo posts by keyword

Search Weibo posts by keyword or #topic# with no login — relevance (top, up to ~2,000 posts per keyword) or newest-first (latest, walks back in time without a depth ceiling), optionally within a Beijing-time date range; text, counts, images, video, topics and author per post

$0.0075 per resultUsually answers in under a minute

Call it

curl https://api.peume.com/v1/call/search-weibo-posts-by-keyword \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "maxItems": 50,
    "maxTotalChargeUsd": 0.5,
    "memory": 1024,
    "timeout": 90,
    "mode": "search",
    "keywords": [
      "咖啡"
    ]
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-weibo-posts-by-keyword.

Parameters

maxItemsinteger

optional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit

Example: 50

maxTotalChargeUsdnumber

the spend cap enforces on every event this run bills, in dollars. 's key requires it, above 0 and at most 1, and holds it for the call

Example: 0.5

memoryinteger

MB of run memory. 's key requires 1024, which fixes the actor-start charge; your own key may set any size

Example: 1024

timeoutinteger

run timeout in seconds. 's key requires 90 so the run and its rows arrive before any wait gives up; a larger pull should use your own key and the async web.scrape.job.* pair above

Example: 90

modeRequiredstring

must be `search` for this entry — it selects the mode

Example: search

keywordsRequiredarray

search terms, one per entry — e.g. 咖啡 or #新能源# for a topic; a post matching two terms is returned once

Example: ["咖啡"]

max_itemsinteger

posts per keyword, 1-10000; default 50. You pay per post returned — cap it here or with maxTotalChargeUsd

Example: 50

search_typestring

top (default; relevance-ranked, ends after ~2,000 posts per keyword, often fewer) | latest (newest-first; keeps going back in time — use it, or a date range, for deep pulls)

Example: latest

start_datestring

YYYY-MM-DD in Beijing time (or a full ISO timestamp); only posts on or after it

Example: 2026-09-01

end_datestring

YYYY-MM-DD in Beijing time, whole day inclusive; not before start_date

Example: 2026-09-07

proxyUrlsarray

leave empty to use the residential proxy included in the run price; or pass your own gateway URLs

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.