PeumeAPI

Social media data · Weibo

Get a Weibo post by id

One or more Weibo posts by id, short code or URL with no login — FULL long text (search and timeline rows truncate long posts), counts including reads, images, video and topics

$0.0075 per result

Call it

curl https://api.peume.com/v1/call/get-a-weibo-post-by-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "maxItems": 50,
    "maxTotalChargeUsd": 0.5,
    "memory": 1024,
    "timeout": 90,
    "mode": "post",
    "post_ids": [
      "https://weibo.com/2803301701/Rjuwfpy8d"
    ]
  }
}'

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: get-a-weibo-post-by-id.

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 `post` for this entry — it selects the mode

Example: post

post_idsRequiredarray

one per entry: numeric mid (16 digits), the mblogid short code from a weibo.com post URL, or the URL itself; the same post given in two forms is scraped and billed once

Example: ["https://weibo.com/2803301701/Rjuwfpy8d"]

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.