# Search Weibo Posts by Keyword

**Use case:** 

Find and extract Weibo posts related to specific keywords such as "咖啡" and "新能源". This task retrieves up to 100 posts, each with details like the creation date, user name, and engagement metrics. Ensure you get the precise information you need from Weibo, all without logging in.

## Input

```json
{
  "mode": "search",
  "keywords": [
    "咖啡",
    "新能源"
  ],
  "max_items": 100,
  "comment_sort": "hot",
  "include_replies": false
}
```

## Output

```json
{
  "kind": {
    "label": "Kind"
  },
  "mid": {
    "label": "Mid"
  },
  "mblogid": {
    "label": "Mblogid"
  },
  "url": {
    "label": "Url"
  },
  "created_at": {
    "label": "Created at"
  },
  "text_raw": {
    "label": "Text raw"
  },
  "is_long_text": {
    "label": "Is long text"
  },
  "user_id": {
    "label": "User id"
  },
  "user_screen_name": {
    "label": "User screen name"
  },
  "user_verified": {
    "label": "User verified"
  },
  "user_verified_reason": {
    "label": "User verified reason"
  },
  "user_followers_count": {
    "label": "User followers count"
  },
  "reposts_count": {
    "label": "Reposts count"
  },
  "comments_count": {
    "label": "Comments count"
  },
  "attitudes_count": {
    "label": "Attitudes count"
  },
  "reads_count": {
    "label": "Reads count"
  },
  "region_name": {
    "label": "Region name"
  },
  "source": {
    "label": "Source"
  },
  "topics": {
    "label": "Topics"
  },
  "pic_num": {
    "label": "Pic num"
  },
  "image_urls": {
    "label": "Image urls"
  },
  "video_url": {
    "label": "Video url"
  },
  "video_duration": {
    "label": "Video duration"
  },
  "video_play_count": {
    "label": "Video play count"
  },
  "is_repost": {
    "label": "Is repost"
  },
  "retweeted_mid": {
    "label": "Retweeted mid"
  },
  "retweeted_user_id": {
    "label": "Retweeted user id"
  },
  "retweeted_text_raw": {
    "label": "Retweeted text raw"
  },
  "is_ad": {
    "label": "Is ad"
  },
  "edit_count": {
    "label": "Edit count"
  },
  "source_keyword": {
    "label": "Source keyword"
  },
  "source_user": {
    "label": "Source user"
  },
  "scraped_at": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Weibo 微博 Scraper](https://apify.com/herus13/weibo-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/herus13/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/herus13/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`).
