# Weibo keyword search for a date range

**Use case:** 

Search Weibo (微博) posts about a keyword within a date range instead of only the newest ones. Set searchDateFrom and searchDateTo (Beijing time, a bare date is the whole day); the run pages back through that window and reports the period it really covered. Raise maxResults for a fuller sweep of the period.

## Input

```json
{
  "mode": "search",
  "searchQuery": "人工智能",
  "autoLocalize": true,
  "searchDateFrom": "2026-09-15",
  "searchDateTo": "2026-09-21",
  "userIds": [
    "2803301701"
  ],
  "maxResults": 100,
  "includeComments": false,
  "fetchFullText": true,
  "geoRollup": false,
  "adFilter": "all",
  "maxComments": 20,
  "includeAuthorProfiles": false,
  "sentimentAnalysis": false,
  "deltaMode": false,
  "deltaStateKey": "default",
  "followUpComments": false
}
```

## Output

```json
{
  "postId": {
    "label": "Post id",
    "format": "string"
  },
  "rank": {
    "label": "Rank",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "authorName": {
    "label": "Author",
    "format": "string"
  },
  "attitudesCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentsCount": {
    "label": "Comments",
    "format": "number"
  },
  "repostsCount": {
    "label": "Reposts",
    "format": "number"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "hotValue": {
    "label": "Hot Value",
    "format": "number"
  },
  "followersCount": {
    "label": "Followers",
    "format": "number"
  },
  "screenName": {
    "label": "User",
    "format": "string"
  },
  "verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Weibo Scraper — Hot Search, Posts, Comments & Creator Feeds](https://apify.com/zhorex/weibo-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhorex/weibo-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhorex/weibo-scraper.md

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`).
