# Weibo Post Tracker (微博) - Reposts, Comments, Likes & Changes (`magenta_courser/weibo-post-tracker`) Actor

Paste Weibo post links and get exact repost, comment and like counts (and video plays) per post, with the change since your last run. No login, one flat row per link; deleted or blocked links are not charged.

- **URL**: https://apify.com/magenta_courser/weibo-post-tracker.md
- **Developed by:** [SUNGHWAN CHO](https://apify.com/magenta_courser) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Weibo Post Tracker (微博帖子数据追踪): Reposts, Comments, Likes and Daily Changes

**Languages:** English · [한국어](#korean) · [中文](#chinese)

> **Free plan:** Apify's $5 monthly credit covers about 500 posts with this Actor.

Paste Weibo post links and get the repost, comment and like count of each post (plus video plays for video posts), with the change since your last run. It is a Weibo post scraper without browser or login: every count is the exact integer Weibo's own web API returns (no "1.2万" rounding), in one flat row per link. Brands and agencies that run KOL campaigns on Weibo use it to measure the same list of posts every day; deleted, non-public or blocked links come back as free status rows.

### What you get

Exactly one row per post link, even when the post could not be read (`status` tells you why, and such rows are free). Every row has every field; values Weibo did not give are `null`.

| Field | Type | Description |
|---|---|---|
| `url` | string | Canonical post address, `https://weibo.com/<authorId>/<postCode>` |
| `inputUrl` | string | The link or id you pasted |
| `postId`, `postCode` | string | Weibo's numeric post id (`mid`) and the short code used in links (`bid` / `mblogid`) |
| `status` | string | `ok` (data row, charged), `not_found` (deleted or never existed), `restricted` (exists but not visible to anonymous visitors), `blocked` (Weibo refused the request, or the run stopped because of refusals), `error` (unreadable input or another refusal) |
| `statusMessage` | string | For rows that are not ok: what Weibo answered and what to do next |
| `authorName`, `authorId` | string | Public screen name and numeric id of the account that posted |
| `authorVerified`, `authorVerifiedType` | boolean, integer | Weibo's verification flag and type (`0` = verified individual; `1`-`7` = organisations, e.g. `2` companies and brands, `3` media) |
| `authorFollowerCount` | integer | Followers of the author, only when Weibo sends it as an exact integer with the post (most video and long-text posts); otherwise `null`. Abbreviated values such as "954.1万" are never converted |
| `repostCount` | integer | Reposts (转发, `reposts_count`) |
| `commentCount` | integer | Comments (评论, `comments_count`) |
| `likeCount` | integer | Likes (赞, `attitudes_count`) |
| `videoPlayCount` | integer | Plays of the post's own video (`online_users_number`). `null` for posts without their own video, including reposts of someone else's video |
| `isVideo`, `hasImages`, `imageCount` | boolean, boolean, integer | Whether the post carries its own video, whether it has pictures, and how many |
| `isRepost` | boolean | `true` when the post is a repost (转发) of another post. The counts are those of the repost itself |
| `text` | string | Post text as written (`includeText`, default on). Long posts come with their full text |
| `textIsTruncated` | boolean | `true` only if Weibo marked the post as long and did not send the full text |
| `topics` | string | Hashtags (话题) of the post, joined with a vertical bar, e.g. `小米18Pro系列` or `话题A\|话题B` |
| `publishedAt`, `publishedAtRaw` | ISO string, string | Publish time in UTC, and the original text from Weibo in Beijing time (`Wed Nov 11 20:12:59 +0800 2026`) |
| `scrapedAt`, `previousScrapedAt` | ISO string | Time of this reading and of the reading it is compared with |
| `previousRepostCount`, `repostCountDelta`, `repostCountDeltaPercent` | integer, integer, number | Previous value, this run minus the previous run, and that difference as a percentage of the previous value (2 decimals; `null` when the previous value was 0). All `null` on the first run |
| `previousCommentCount`, `commentCountDelta`, `commentCountDeltaPercent`, `previousLikeCount`, `likeCountDelta`, `likeCountDeltaPercent`, `previousVideoPlayCount`, `videoPlayCountDelta`, `videoPlayCountDeltaPercent` | | Same pattern for comments, likes and video plays |
| `isFirstSeen` | boolean | `true` the first time a post is seen in this history store |
| `source`, `schemaVersion` | string, integer | `weibo`, `1` |

Deliberately not in the output: where the post was sent from (Weibo's "发布于 …" label), the author's avatar, bio, gender or location, follower lists, and comment text or commenter names.

Duplicate links to the same post are merged into one row. A run summary (counts per status, saved rows, request/retry/block counters, stop reason, `visitorCookieUnavailable`, `historyAvailable`) is saved as the `RUN_SUMMARY` record in the run's key-value store. It is not billed.

### Sample output

**Second run (changes filled).** One real row from a second run of this Actor on the same list (about six minutes after the first run):

```json
{
  "url": "https://weibo.com/2286908003/RqUUAtazO",
  "inputUrl": "https://weibo.com/2286908003/RqUUAtazO",
  "postId": "5364153006952172",
  "postCode": "RqUUAtazO",
  "status": "ok",
  "statusMessage": null,
  "authorName": "人民网",
  "authorId": "2286908003",
  "authorVerified": true,
  "authorVerifiedType": 3,
  "authorFollowerCount": 86319805,
  "repostCount": 13,
  "commentCount": 68,
  "likeCount": 101,
  "videoPlayCount": 18929,
  "isVideo": true,
  "hasImages": false,
  "imageCount": 0,
  "isRepost": false,
  "text": "【#小羊撞角没有战术纯费脑袋#】网友在高原公路偶遇两只羊相互“切磋”。#小羊撞角看得我脑瓜子嗡嗡的#（中国日报） http://t.cn/AXYlYDgl ​​​",
  "textIsTruncated": false,
  "topics": "小羊撞角没有战术纯费脑袋|小羊撞角看得我脑瓜子嗡嗡的",
  "publishedAt": "2026-11-11T11:40:01.000Z",
  "publishedAtRaw": "Wed Nov 11 19:40:01 +0800 2026",
  "scrapedAt": "2026-11-11T15:30:07.681Z",
  "previousScrapedAt": "2026-11-11T15:24:26.894Z",
  "previousRepostCount": 13,
  "repostCountDelta": 0,
  "repostCountDeltaPercent": 0,
  "previousCommentCount": 65,
  "commentCountDelta": 3,
  "commentCountDeltaPercent": 4.62,
  "previousLikeCount": 97,
  "likeCountDelta": 4,
  "likeCountDeltaPercent": 4.12,
  "previousVideoPlayCount": 18631,
  "videoPlayCountDelta": 298,
  "videoPlayCountDeltaPercent": 1.6,
  "isFirstSeen": false,
  "source": "weibo",
  "schemaVersion": 1
}
```

On the first run `isFirstSeen` is `true` and the `previous*`, `*Delta` and `*DeltaPercent` fields are `null`.

### Use cases

1. **Daily performance tracking of KOL campaign posts.** A brand or agency keeps the list of sponsored Weibo posts in one Task, runs it every day, and reports exact reposts, comments and likes per post with the daily increase coming straight from the row.
2. **Brand and competitor account monitoring.** Track the posts of your own official account and of competitors to see which ones are still growing days after publishing.
3. **Launch and PR measurement.** Follow the announcement posts of a product launch hour by hour with a scheduled run and a separate `historyStoreName`.
4. **Video post reporting.** For video posts the row also carries the exact play count and its change.
5. **Feeding dashboards and AI agents.** Flat rows with numbers as numbers go straight into a spreadsheet, a BI tool or an LLM agent.

### How to use

#### Apify Console

Open the Actor, paste post links into **Post links**, and click **Start**. Only `urls` is required. For daily tracking, save the input as a Task, add a Schedule, and keep the same list; from the second run on each row has the change fields.

```json
{
  "urls": [
    "https://weibo.com/2803301701/RqV7YnFRP",
    "https://m.weibo.cn/detail/5346401346912979",
    "Rjt6St0nF"
  ],
  "outputMode": "all"
}
```

| Field | Default | What it does |
|---|---|---|
| `urls` (required) | | Post links or ids, one per line: `https://weibo.com/<uid>/<code>`, `https://weibo.com/detail/<id>`, `https://m.weibo.cn/detail/<id>`, `https://m.weibo.cn/status/<code>`, or a bare code / numeric id. Up to 5,000 per run. |
| `includeText` | `true` | Add the post text. Turn off if you only need numbers. |
| `compareWithLastRun` | `true` | Add `previous*`, `*Delta`, `*DeltaPercent` and `isFirstSeen` compared with the last run that used the same history store. |
| `outputMode` | `all` | `changesOnly`: save and pay only for posts whose numbers moved since the last run (first-seen posts are always saved). |
| `historyStoreName` | `weibo-post-history` | Named key-value store in your account that keeps the last numbers per post. One name per campaign or watch list. |
| `proxyConfiguration` | Apify datacenter | Datacenter proxy is the default. If you pick RESIDENTIAL, set the country to HK or CN. |
| `maxRunMinutes` | `0` | Optional time cap; posts not checked in time get a free status row. |

#### API (curl)

```bash
curl -X POST "https://api.apify.com/v2/acts/magenta_courser~weibo-post-tracker/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://weibo.com/2803301701/RqV7YnFRP"]}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("magenta_courser/weibo-post-tracker").call(run_input={
    "urls": ["https://weibo.com/2803301701/RqV7YnFRP"],
    "historyStoreName": "campaign-autumn",
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["postCode"], row["repostCount"], row["repostCountDelta"], row["likeCount"], row["status"])
```

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('magenta_courser/weibo-post-tracker').call({
    urls: ['https://weibo.com/2803301701/RqV7YnFRP'],
    historyStoreName: 'campaign-autumn',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((r) => [r.postCode, r.repostCount, r.repostCountDelta, r.likeCount, r.status]));
```

#### AI agents and MCP

Connect your agent (Claude, Cursor, a LangChain or OpenAI Agents SDK app, or any MCP client) to the Apify MCP server at `https://mcp.apify.com` with your Apify token and add this Actor as a tool, for example `https://mcp.apify.com?tools=magenta_courser/weibo-post-tracker`. The agent then calls the tool `magenta_courser/weibo-post-tracker` with a minimal input such as:

```json
{ "urls": ["https://weibo.com/2803301701/RqV7YnFRP"] }
```

Every row is flat, numbers are numbers and missing values are `null`, so an agent can read `repostCount`, `likeCount` and the change fields directly.

### Limits

- **No read count (阅读数).** The data an anonymous visitor receives for a post has no read-count field, so this Actor cannot report it.
- **`videoPlayCount` is for video posts only.** Picture and text posts, and reposts of someone else's video, have `null`.
- **Post links only.** No account post lists, no keyword search, no hot-search lists, no comment text, no follower lists, no `t.cn` short links. Tell us in Issues if you need another input mode.
- **Public posts only.** Posts that are private, fans-only or removed come back as `restricted` or `not_found` rows (free).
- **`authorFollowerCount` is often `null`.** In our 500-post test it was filled for 78% of the posts. Weibo's post data carries the exact follower count only for some post types.
- **Speed.** Requests are spaced at least one second apart (Weibo's robots.txt asks for a crawl delay of 1 second), so a run reads about 44 posts per minute; 1,000 links take about 23 minutes.

### Pricing

Pay per event. The current prices are:

| Event | Price | When |
|---|---|---|
| Post | $0.01 per row (FREE plan); $0.0095 BRONZE, $0.009 SILVER, $0.008 GOLD and up | One row with `status: "ok"`. Rows with `not_found`, `restricted`, `blocked` or `error` and the run summary are free |

With `outputMode: "changesOnly"` unchanged posts are not saved and not charged. The run stops cleanly at your "Maximum cost per run". Platform usage for this Actor is included in the event price.

### FAQ

#### Are the numbers exact or rounded?

Exact. The Weibo page shows "100万+" or "1.2万", but the web API behind it returns full integers (`reposts_count`, `comments_count`, `attitudes_count`, and `online_users_number` for video plays), and those are what the row contains.

#### Do I need a Weibo account, cookies or a browser?

No. You paste links and nothing else. The Actor does not log in, does not accept account cookies, does not open a browser and does not solve CAPTCHAs.

#### What is the "visitor cookie"?

weibo.com answers a first-time visitor with a login prompt until the visitor holds an anonymous visitor cookie (`SUB` / `SUBP`), which Weibo's own visitor endpoint hands out to anyone. The Actor asks that endpoint for the cookie with one fixed request and sends the cookie with its post requests; one cookie is used for up to 100 posts. The Actor does not send browser-fingerprint or bot-detection values with that request and does not fake them. If Weibo ever stops issuing the cookie to such a plain request, the run ends cleanly with the message "Visitor cookie unavailable", `visitorCookieUnavailable: true` in `RUN_SUMMARY`, and no charge for the posts that were not read.

#### What happens when Weibo blocks the requests?

A refused request (HTTP 418, 432, 429, 403 or a login prompt) is retried twice, each time through a new proxy session with a new visitor cookie; the last retry goes through a residential proxy in Hong Kong when your plan has one. If all three attempts fail the row gets `status: "blocked"` (free). After 3 blocked posts in a row the run stops, the remaining links get free `blocked` rows, and the run still finishes as succeeded with a "Nothing was charged" or "Only the N saved ok posts are charged" message, so a schedule does not break. In our test runs in November 2026 (761 post reads through Apify datacenter proxy, 500 of them in a single run, and 20 through residential proxy in Hong Kong) Weibo refused none.

#### How does the change tracking work?

The first run stores each post's numbers in the named key-value store (`isFirstSeen: true`, no changes yet). Every later run with the same `historyStoreName` fills `previousScrapedAt`, the `previous*` fields, the exact differences and the percentage change. Numbers are read live at the moment of the run. If the history store cannot be opened, the run continues without comparison, warns, and sets `historyAvailable: false` in `RUN_SUMMARY`.

#### When am I not charged?

Rows with `status` `not_found`, `restricted`, `blocked` or `error` are free, and so are duplicates of the same post (merged into one row). With `outputMode: "changesOnly"`, unchanged posts are neither saved nor charged.

#### Why did a repost of a video come back with `isVideo: false`?

The video belongs to the original post. A repost's row reports the repost's own reposts, comments and likes; to track the video's plays, add the original post's link.

### 한국어 안내 (Korean)

웨이보(微博) 게시물 링크나 게시물 ID를 넣으면 게시물 1개당 1행으로 리포스트(转发)·댓글·좋아요 수와 영상 게시물의 재생수가 나오고, 지난 실행 대비 증감(`repostCountDelta`, `likeCountDelta`, `…DeltaPercent`)이 함께 계산됩니다. 숫자는 화면의 "1.2万" 표시가 아니라 웨이보 웹 API가 주는 정확한 정수입니다. 로그인·계정 쿠키·브라우저 없이 동작하며, 삭제·비공개·차단된 링크는 과금되지 않는 상태 행으로 나옵니다. 읽음 수(阅读数)와 계정 게시물 목록은 지원하지 않습니다.

### 中文说明 (Chinese)

输入微博帖子链接或帖子 ID，每条帖子输出一行：转发数、评论数、点赞数，视频帖还有播放量，并自动计算与上次运行相比的增量（`repostCountDelta`、`likeCountDelta`、`…DeltaPercent`）。数字是微博网页接口返回的精确整数，不是页面上的“1.2万”。无需登录、无需账号 Cookie、无需浏览器；已删除、不公开或被拦截的链接只返回状态行，不计费。不提供阅读数，也不支持按账号抓取帖子列表。

### Legal

Unofficial. Not affiliated with or endorsed by Weibo (微博) or Sina. Reads only what weibo.com shows to any anonymous visitor for a post link you provide; no personal data beyond the author's public screen name, id and verification flag. You are responsible for complying with Weibo's terms of service and the laws that apply to you.

### Need another field or feature?

Tell us in the **Issues** tab: a missing field, another input mode, a different output format. We aim to ship requested fields and features within a week, and we answer every issue.

# Actor input Schema

## `urls` (type: `array`):

Weibo post links or post ids, one per line. Accepted: https://weibo.com/<uid>/<code>, https://weibo.com/detail/<id>, https://m.weibo.cn/detail/<id>, https://m.weibo.cn/status/<code>, or a bare post code / numeric id. Account pages, search and t.cn short links are not supported. Up to 5,000 per run.

## `includeText` (type: `boolean`):

Add the post text (full text for long posts) to each row. Turn off if you only need the numbers.

## `compareWithLastRun` (type: `boolean`):

Add previous\*, \*Delta and \*DeltaPercent fields to each row, compared with the last run that used the same history store. The previous numbers are kept in a named key-value store in your account, so scheduled daily runs line up automatically.

## `outputMode` (type: `string`):

"changesOnly" saves (and charges) only posts seen for the first time or whose reposts, comments, likes or video plays changed. The first run saves everything. Rows with status not_found, restricted, blocked or error are always saved (free). Needs "Compare with last run".

## `historyStoreName` (type: `string`):

Named key-value store that keeps the last numbers per post. Use a different name for each separate campaign or watch list.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy (default) is enough in our tests. If you choose RESIDENTIAL, set the country to HK or CN - residential without a country was unreliable against Weibo.

## `maxRunMinutes` (type: `integer`):

Stop starting new requests after this many minutes; posts not checked get a free status row. 0 = only the run timeout applies. The Actor reads about 45 posts per minute.

## Actor input object example

```json
{
  "urls": [
    "https://weibo.com/2803301701/RqV7YnFRP",
    "https://weibo.com/2202387347/Rjt6St0nF",
    "https://weibo.com/2656274875/RqUpA9SXx",
    "https://weibo.com/1768198384/RqukDpsy2",
    "https://weibo.com/1663072851/RqVr42Lje"
  ],
  "includeText": true,
  "compareWithLastRun": true,
  "outputMode": "all",
  "historyStoreName": "weibo-post-history",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxRunMinutes": 0
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post link: status, author, exact repost/comment/like counts, video plays, text, and the change since the last run.

## `runSummary` (type: `string`):

Counts per status (ok, not_found, restricted, blocked, error), saved rows, request and block counters, stop reason, visitorCookieUnavailable. Not billed.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://weibo.com/2803301701/RqV7YnFRP",
        "https://weibo.com/2202387347/Rjt6St0nF",
        "https://weibo.com/2656274875/RqUpA9SXx",
        "https://weibo.com/1768198384/RqukDpsy2",
        "https://weibo.com/1663072851/RqVr42Lje"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("magenta_courser/weibo-post-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://weibo.com/2803301701/RqV7YnFRP",
        "https://weibo.com/2202387347/Rjt6St0nF",
        "https://weibo.com/2656274875/RqUpA9SXx",
        "https://weibo.com/1768198384/RqukDpsy2",
        "https://weibo.com/1663072851/RqVr42Lje",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("magenta_courser/weibo-post-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://weibo.com/2803301701/RqV7YnFRP",
    "https://weibo.com/2202387347/Rjt6St0nF",
    "https://weibo.com/2656274875/RqUpA9SXx",
    "https://weibo.com/1768198384/RqukDpsy2",
    "https://weibo.com/1663072851/RqVr42Lje"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call magenta_courser/weibo-post-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,magenta_courser/weibo-post-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hcNIqO4YHFUgJYE6g/builds/owws5AnTiXdg2I80i/openapi.json
