# Sina Blog Scraper (新浪博客) - Blogger Post Archive (`hgservices/sina-blog-profile-scraper`) Actor

Scrape the complete post archive of any Sina Blog (新浪博客, blog.sina.com.cn) blogger by UID or link. Get titles, publish dates, full text, HTML and image URLs. Export JSON, CSV or Excel. No login.

- **URL**: https://apify.com/hgservices/sina-blog-profile-scraper.md
- **Developed by:** [Harish Garg](https://apify.com/hgservices) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 scraped 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

Scrape the **complete post archive** of any blogger on [Sina Blog](https://blog.sina.com.cn) (**新浪博客**, blog.sina.com.cn), one of China's largest and oldest blogging platforms. Enter a blogger's **UID** or **blog link**, and get every post with its **title, publish date, full text, HTML and image URLs**, plus one profile row for each blogger.

Download the data as JSON, CSV, Excel or HTML, call the scraper from the API, or ask for Sina Blog posts in an AI assistant such as Claude or ChatGPT. **No Sina account, no login and no API key.**

### What does Sina Blog Scraper do?

For each blogger that you enter, the scraper returns:

- **One profile row** — the blogger's UID, blog name and blog link.
- **One row for each post, newest first** — the post ID, link, title, publish date and time, the full text, the HTML and all image URLs of the post.

Get the latest posts only, or the **whole archive back to the first post**, also for bloggers with more than 10,000 posts. Sina's own post lists skip some posts of long blogs. With post content on, the scraper also finds these posts, so the archive is complete.

Because it runs on the Apify platform, you also get API access, scheduled runs, integrations with Google Sheets, Slack, Zapier, Make and n8n, and run monitoring.

### Why scrape Sina Blog?

- **China research and analysis** — Follow the Chinese finance commentators, lawyers, writers and public figures who post on Sina Blog.
- **Market and media intelligence** — Monitor what well-known Chinese bloggers say about markets, companies and current events.
- **AI and NLP datasets** — Collect long-form Chinese text with a date and an author for each post.
- **Archiving** — Save a complete blog before its posts are deleted.
- **Content analysis** — Count topics, track how often a blogger posts, or compare bloggers over the years.

### How to scrape a Sina blog in Apify Console

1. Click **Try for free** and sign in to Apify. A free account is enough.
2. In **Bloggers**, enter one or more bloggers, one on each line.
3. Set **Max posts per blog**. The default is 100. Enter `0` for the whole archive.
4. Optional: turn off **Include full post content** to get only the title, link and date of each post.
5. Click **Start**. 100 posts with full text take about 45 seconds.
6. Open the **Output** tab to see the table, or download the data as JSON, CSV, Excel or HTML.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| **Bloggers** (`blogs`) | string\[] | — | One blogger on each line. See the accepted formats below |
| **Max posts per blog** (`maxPosts`) | integer | `100` | The most posts to save for each blogger, newest first. `0` = the whole archive |
| **Include full post content** (`includePostContent`) | boolean | `true` | The full text, HTML and images of each post. Turn off for the title, link and date only |

You can enter a blogger in any of these formats:

| Format | Example |
|--------|---------|
| Numeric UID | `1300871220` |
| Blog link | `https://blog.sina.com.cn/u/1300871220` |
| Name link | `https://blog.sina.com.cn/twocold` |
| Name only | `twocold` |
| Mobile link | `https://blog.sina.cn/dpool/blog/u/1300871220` |
| Article list link | `https://blog.sina.com.cn/s/articlelist_1300871220_0_1.html` |
| Link to any post of the blogger | `https://blog.sina.com.cn/s/blog_4d89b834010302ig.html` |

Search by the Chinese display name (for example `韩寒`) is not supported. Open the blog in a browser and copy its link.

#### Input examples

**The latest 20 posts of a blogger**

```json
{
  "blogs": ["1300871220"],
  "maxPosts": 20
}
```

**The complete archive of two bloggers, with the full text**

```json
{
  "blogs": ["https://blog.sina.com.cn/u/1300871220", "twocold"],
  "maxPosts": 0
}
```

**Titles and dates of the latest 500 posts, without the text**

```json
{
  "blogs": ["1300871220"],
  "maxPosts": 500,
  "includePostContent": false
}
```

### Output

You get one `profile` row for each blogger and one `post` row for each post. A post row (text shortened):

```json
{
  "type": "post",
  "bloggerUid": "1300871220",
  "blogUrl": "https://blog.sina.com.cn/u/1300871220",
  "blogName": "徐小明",
  "postId": "4d89b834010302ig",
  "url": "https://blog.sina.com.cn/s/blog_4d89b834010302ig.html",
  "title": "徐小明：周四操作策略",
  "publishedAt": "2026-10-07T12:48:21+08:00",
  "contentText": "徐小明：周四操作策略\n点击进入明日（10月8日）盘中即时直播\n明天就开盘了……",
  "contentHtml": "<div><font face=\"SimSun\">徐小明：周四操作策略……</font></div>",
  "contentLength": 377,
  "imageUrls": [],
  "scrapedAt": "2026-10-08T03:15:30+00:00"
}
```

A profile row:

```json
{
  "type": "profile",
  "bloggerUid": "1300871220",
  "blogUrl": "https://blog.sina.com.cn/u/1300871220",
  "blogName": "徐小明",
  "scrapedAt": "2026-10-08T03:15:29+00:00"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. The **Output** tab has two views: **All results** (profiles and posts) and **Posts with full text**.

#### Output fields

| Field | Rows | Description |
|-------|------|-------------|
| `type` | all | `profile` or `post` |
| `bloggerUid` | all | The blogger's numeric UID |
| `blogUrl` | all | The link to the blog's home page |
| `blogName` | all | The name of the blog |
| `postId` | post | The Sina Blog post ID |
| `url` | post | The link to the post |
| `title` | post | The post title |
| `publishedAt` | post | The publish date and time, ISO 8601, China time (UTC+8) |
| `contentText` | post | The full post as plain text (with content on) |
| `contentHtml` | post | The full post as HTML (with content on) |
| `contentLength` | post | The number of characters in `contentText` |
| `imageUrls` | post | The links of the images in the post (with content on) |
| `scrapedAt` | all | When the run collected the row, in UTC |

### How to use Sina Blog Scraper

#### In Apify Console

Fill in the input form and click **Start**. Save your settings as a **task** to run them again with one click. Add a **schedule** to get new posts every day.

#### With the Apify API (HTTP)

Run the scraper and get the results in one HTTP call. Get your API token in Apify Console under **Settings → API & Integrations**, and replace `<YOUR_API_TOKEN>`.

```bash
curl -X POST "https://api.apify.com/v2/acts/hgservices~sina-blog-profile-scraper/run-sync-get-dataset-items?format=json" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "blogs": ["1300871220"], "maxPosts": 20 }'
```

Change `format=json` to `format=csv` or `format=xlsx` to get a spreadsheet. For runs longer than 5 minutes, such as a whole archive, start the run with `POST /v2/acts/hgservices~sina-blog-profile-scraper/runs` and read the dataset when the run finishes.

#### With JavaScript / Node.js

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('hgservices/sina-blog-profile-scraper').call({
    blogs: ['1300871220', 'twocold'],
    maxPosts: 20,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
    if (item.type === 'post') console.log(item.publishedAt, item.blogName, item.title);
}
```

#### With Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("hgservices/sina-blog-profile-scraper").call(run_input={
    "blogs": ["1300871220", "twocold"],
    "maxPosts": 20,
})
if run is None:
    raise RuntimeError("The run was not found.")

for item in client.dataset(run.default_dataset_id).iterate_items():
    if item["type"] == "post":
        print(item["publishedAt"], item["blogName"], item["title"])
```

This example uses `apify-client` 3.0 or later. In older versions, use `run["defaultDatasetId"]`.

#### With Claude, ChatGPT and other AI assistants (MCP)

The scraper works as a tool for AI assistants through the [Apify MCP server](https://mcp.apify.com/). Your assistant can find the scraper, run it, and use the posts in its answer, for example to summarize or translate them.

- **Claude (claude.ai or Claude Desktop)** — Go to **Settings → Connectors**, add a custom connector, and enter `https://mcp.apify.com`. Sign in to Apify when Claude asks.
- **Claude Code** — Run `claude mcp add --transport http apify https://mcp.apify.com`.
- **ChatGPT** — Turn on **Developer mode** in **Settings → Apps & Connectors → Advanced settings**. Then create a connector with the MCP server URL `https://mcp.apify.com`.
- **Cursor, VS Code and other MCP clients** — Add `https://mcp.apify.com` as a remote MCP server. To give the assistant only this scraper, use `https://mcp.apify.com?tools=hgservices/sina-blog-profile-scraper`.

Then ask in plain language:

> Use the Sina Blog Scraper to get the last 10 posts of Sina blogger 1300871220, and summarize them in English.

> What did the blogger at blog.sina.com.cn/twocold write about most often?

> Get the titles and dates of the latest 200 posts of Sina blog 1300871220 as a table.

For fast answers, ask for a small number of posts.

#### With integrations

Send the results to **Google Sheets, Slack, email, Zapier, Make, n8n or Airbyte**, or to your own **webhook**, from the **Integrations** tab. A common setup: run every day for a list of bloggers, and add the new posts to a Google Sheet.

### Tips

- **Start small.** The default of 100 posts for each blogger gives a fast first run. Set `0` only when you need the whole archive.
- **Titles first, text later.** Turn off **Include full post content** to list 500 titles and dates in about a minute. Then get the full text only for the bloggers that you need.
- **Complete archives need content on.** Sina's post lists skip some posts of long blogs. With content on, the scraper finds these posts too. Without content, a small share of older posts can be missing.
- **Speed.** With content on, expect about 2 to 3 posts each second. A blog with 10,000 posts takes about 1 to 1.5 hours. For a whole archive of a large blog, set **Timeout** in the run options to 2 hours or more. If the run comes near its timeout, the scraper stops 30 seconds before it and keeps all posts that it saved.
- **Monitoring bloggers.** Schedule a daily run with a small **Max posts per blog**, and remove duplicates by `postId` after the run.
- **Blocked requests.** You do not need to set up a proxy. If Sina blocks the run, the scraper changes to Apify Proxy automatically and continues. Runs through the proxy are slower. If Sina still blocks the run, it stops with a message, and you can run it again later.

### FAQ

**Do I need a Sina account?**
No. The scraper reads only public blog pages. You do not need a login, a cookie or an API key.

**Can I search for a blogger by name?**
Only by the Latin name in the blog link, such as `twocold`. Search by the Chinese display name is not supported. Open the blog in a browser and copy its link or UID.

**Does it get read counts or comments?**
No. The scraper collects the posts, not the read counts or the comments.

**Why do some posts have an empty `contentText`?**
Some posts contain only images. Their image links are in `imageUrls`. Other posts were removed by Sina, and only their title and date remain.

**Why did a blogger return no posts?**
The blog can be closed, deleted or private, or the UID or link can be wrong. The run log names each blogger that the scraper could not read.

**Is it legal to scrape Sina Blog?**
The scraper collects only public pages. You are responsible for how you use the data. Make sure that your use follows Sina's terms of service, copyright law and data-protection rules such as the GDPR and China's PIPL.

### Support

Did you find a bug, or do you need a field that is not here? Open an issue on the **Issues** tab. Custom solutions for Chinese websites are available on request.

*This scraper uses public data from Sina Blog. It is not affiliated with, endorsed by, or sponsored by Sina Corporation.*

# Actor input Schema

## `blogs` (type: `array`):

One blogger per line. Enter the numeric UID (for example `1300871220`), the blog link (`https://blog.sina.com.cn/u/1300871220`), a name link (`https://blog.sina.com.cn/twocold`) or the name alone (`twocold`), a mobile link (`blog.sina.cn`), or a link to any post of the blogger. Search by the Chinese display name is not supported.

## `maxPosts` (type: `integer`):

The most posts to save for each blog, newest first. The default of 100 keeps a first run small, fast and cheap. Set 0 to get the whole archive. Use this to limit the run time and the cost for bloggers with thousands of posts.

## `includePostContent` (type: `boolean`):

Read each post's page for the full text, the HTML and the image URLs. This mode also finds the posts that Sina's own post list skips, so you get the complete archive. Turn it off for a faster and cheaper run with the title, link and date of each post only. Without content, a small share of older posts can be missing, because Sina's list skips them.

## Actor input object example

```json
{
  "blogs": [
    "1300871220"
  ],
  "maxPosts": 100,
  "includePostContent": true
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

# 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 = {
    "blogs": [
        "1300871220"
    ],
    "maxPosts": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("hgservices/sina-blog-profile-scraper").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 = {
    "blogs": ["1300871220"],
    "maxPosts": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("hgservices/sina-blog-profile-scraper").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 '{
  "blogs": [
    "1300871220"
  ],
  "maxPosts": 100
}' |
apify call hgservices/sina-blog-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hgservices/sina-blog-profile-scraper"
        }
    }
}
```

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/Ifcl9vdkBfctQ4QNi/builds/Kk45EknGTsJKrWecp/openapi.json
