# Baidu Search Scraper | 百度搜索: Ranks, Real URLs, Snippets (`themineworks/baidu-serp-scraper`) Actor

Scrape Baidu (百度) web search results by keyword: rank, title, real destination URL (not Baidu's redirect link), snippet, source, date and domain. Chinese or English keywords, date filter, up to 700 results per keyword. Ads left out. No login. Pay per result.

- **URL**: https://apify.com/themineworks/baidu-serp-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** SEO tools, Marketing, MCP servers
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 search results

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

## Baidu Search Scraper | 百度搜索: Ranks, Real URLs, Snippets

[![20 Baidu results with real URLs in 13 seconds](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/baidu-serp-scraper-hero.png)](https://console.apify.com/actors/HEPFASGo2bn5riHhU/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

From **The Mine Works**, makers of [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) and [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), with over 290,000 runs across 310+ public actors.

Last verified 29 Oct 2026: a live test run on Apify returned 20 search results in 14 seconds.

Give it keywords. Get back Baidu's (百度) web search results for each one, in Baidu's order: rank, title, the real destination URL, the snippet Baidu shows, the source or publisher name, the date and the domain. Chinese and English keywords both work, and Baidu's own date filter is built in. Baidu hides every result behind a `www.baidu.com/link?url=` redirect; this actor gives you the page the result really points to.

### Why choose this actor?

- **Real destination URLs, not Baidu redirect links.** A test run on 1 October 2026 returned 20 results for 2 keywords in 13 seconds, every one with its real URL. The URL is read from the results page itself, and when a result does not carry it, Baidu's redirect is followed once to get it. No login, no cookies, nothing to install.
- **Organic results kept apart from Baidu's own cards.** On the first page for 新能源汽车 in that test, only 2 of 8 blocks were web results; the rest were Baidu's own cards. The actor fills your quota from web results and moves on to the next page, and returns Baidu Baike, Tieba and video cards only when you ask for them. Ads are never read and never charged.
- **You pay for results, not for pages.** One charge per result delivered. Duplicates inside a keyword, results already delivered in an earlier run (in monitor mode), results whose destination could not be resolved and keywords Baidu refused are never charged.

[![Run it on Apify](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/HEPFASGo2bn5riHhU/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works Marketing, SEO and reviews family:** [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Trustpilot Reviews Scraper](https://apify.com/themineworks/trustpilot-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Google Trends Scraper](https://apify.com/themineworks/google-trends-pro?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

Guide and FAQs: [Baidu Search Scraper on themineworks.com](https://themineworks.com/actors/baidu-serp-scraper/).

### Try it in one minute

Paste this into the JSON tab of the input form and press Start:

```json
{
  "keywords": ["新能源汽车", "china ev market"],
  "maxResultsPerKeyword": 10
}
```

That returns about 20 results in under a minute. Keywords are the only input that is required. Give them as a list, one keyword per line in the form, in Chinese or English, exactly as you would type them into Baidu. Baidu's own operators work because Baidu reads them itself: `site:zhihu.com 新能源汽车` keeps one site, and a phrase in double quotes is searched as a phrase.

Apify's free plan includes $5 of credit every month, which covers about 1,400 results at this actor's Free plan price.

#### Copy to your AI assistant

Paste this block into ChatGPT, Claude, Cursor or any assistant that can write code, and it can run the actor for you.

```
themineworks/baidu-serp-scraper on Apify. Returns Baidu (百度) web search results for each keyword as one row per result: keyword, position, page, baidu_rank, title, real destination url (not Baidu's redirect), domain, snippet, source_name, date_text, published_date, result_type (organic or baidu_card), baidu_template, baidu_url, search_url, scraped_at. Call ApifyClient("TOKEN").actor("themineworks/baidu-serp-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items. Required: keywords (array of strings, up to 100, Chinese or English, Baidu operators such as site: allowed). Optional: maxResultsPerKeyword (integer 1 to 700, default 30), timeRange (any, day, week, month or year, default any), includeBaiduCards (boolean, default false), onlyNewResults (boolean, default false). Rows with _type "info" are run notes, not results. Full spec: GET https://api.apify.com/v2/acts/themineworks~baidu-serp-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme. Token: https://console.apify.com/account/integrations?fpr=ymnoit&utm_source=apify-readme&utm_medium=referral
```

### Key features

- **16 fields per result.** Keyword, position, page, Baidu's own slot number, title, real URL, domain, snippet, source name, the date as Baidu shows it, the same date as YYYY-MM-DD, result type, Baidu's template name, Baidu's redirect link, the results page that was read and the time it was read.
- **Up to 100 keywords and 700 results per keyword in one run.** Pages are read 10 to 50 results at a time, so 50 results usually take one or two pages. Baidu itself lists about 760 results for a query at most.
- **Baidu's date filter.** Past day, past week, past month or past year, the same filter as Baidu's own search tools. In a past week test, every dated result (9 of 10; the tenth was a Baidu Baike card with no date) was from the last 4 days.
- **Dates as dates.** Baidu writes dates as `2025年2月10日`, `3天前` (3 days ago) or `昨天` (yesterday). Each one comes back as it was shown and as a plain `YYYY-MM-DD` in China time.
- **Monitor mode for schedules.** With `onlyNewResults` on, a scheduled run returns only results it has not delivered for the same keyword list before, so you see what is new on Baidu since the last run.
- **Plain HTTP, 256 MB.** No browser. Three keywords are searched at a time, each on its own connection, with a pause between the pages of one keyword.

### How to use it

#### Basic: one keyword, the first 30 results

```json
{
  "keywords": ["跨境电商 物流"]
}
```

#### Several keywords at once

```json
{
  "keywords": ["新能源汽车", "比亚迪 销量", "china ev market", "site:zhihu.com 电动车 电池"],
  "maxResultsPerKeyword": 50
}
```

Each keyword gets its own positions, starting at 1. A result that appears under two keywords is returned under both, because its rank differs.

#### Track where your site ranks on Baidu, every day

```json
{
  "keywords": ["上海 留学中介", "上海 雅思培训", "上海 托福培训"],
  "maxResultsPerKeyword": 50
}
```

Filter the dataset on `domain` to find your own site and its `position` for each keyword. Schedule the run daily (Console, this actor, Schedules) and keep each day's dataset to build a ranking history. `position` counts web results in Baidu's order; add `includeBaiduCards: true` if you want Baidu's own cards counted too, and use `baidu_rank` for Baidu's slot number including its cards.

#### Watch Baidu for new pages about a brand

```json
{
  "keywords": ["\"Anker\" 充电宝", "\"Anker\" power bank"],
  "maxResultsPerKeyword": 50,
  "timeRange": "week",
  "onlyNewResults": true
}
```

With `onlyNewResults` on, each run returns only results not delivered in an earlier run with the same keyword list, and those are the only ones charged. Run it daily or weekly and connect the dataset to email, Slack or a sheet.

#### Research what ranks for a topic in China

```json
{
  "keywords": ["储能电池 出口", "光伏组件 价格"],
  "maxResultsPerKeyword": 100,
  "timeRange": "month",
  "includeBaiduCards": true
}
```

Count `domain` to see which publishers and platforms (Zhihu, Baijiahao, Sohu, industry sites) own a topic, and read `snippet` and `published_date` to see what they say and how recent it is.

### Input parameters

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `keywords` | array of strings | none (required) | Search terms, one per line, searched exactly as typed. Chinese and English both work, and Baidu operators such as `site:` work. Up to 100 per run; duplicates are searched once. |
| `maxResultsPerKeyword` | integer | `30` | Most results to return for each keyword, 1 to 700, across pages. |
| `timeRange` | string | `any` | Baidu's date filter: `any`, `day`, `week`, `month` or `year`. |
| `includeBaiduCards` | boolean | `false` | Also return Baidu's own cards (Baidu Baike, Tieba, video, image and news strips) as `result_type` `baidu_card`. Off returns web results only. Ads are never returned. |
| `onlyNewResults` | boolean | `false` | Monitor mode: skip results already delivered for the same keyword list in an earlier run. Skipped results are not charged. |

There is no proxy setting to choose. The actor always uses Apify's datacenter proxy, which is included in your Apify plan.

### What data do you get?

One row per result.

**The search**: `keyword` (as you typed it), `search_url` (the Baidu results page that was read), `page` (which page the row came from), `scraped_at` (UTC).

**The rank**: `position` (1 for the first result returned for the keyword, counting across pages, in Baidu's order), `baidu_rank` (Baidu's own slot number for the block; it counts Baidu's cards but not ads, and continues across pages, so page 2 starts at 11 when pages hold 10).

**The result**: `title`, `url` (the real destination), `domain` (host without `www.`), `snippet` (the excerpt Baidu shows, not the page's full text), `source_name` (the site or publisher name Baidu shows, such as 汽车之家 or 央广网), `date_text` (the date as Baidu shows it, for example `2025年2月10日` or `3天前`), `published_date` (that date as `YYYY-MM-DD`, China time).

**What kind of block it was**: `result_type` (`organic` for a web result, `baidu_card` for Baidu's own card), `baidu_template` (Baidu's internal template name, for example `www_index` for a web result or `sg_kg_entity_san` for a Baidu Baike card), `baidu_url` (Baidu's redirect link for the result, when it has one).

Fields Baidu does not show for a result are left out of that row rather than filled with a guess. In the final test runs (25 rows: 24 web results and 1 Baidu Baike card), `snippet` was on all 24 web results and a date on 18 of the 25 rows.

#### Stable fields for automations

These fields were present in every result row of the test runs, and their names will not change:

| Field | What it holds |
|---|---|
| `keyword` | The keyword the row belongs to |
| `position` | 1-based rank among the results returned for the keyword |
| `page` | Baidu results page number |
| `baidu_rank` | Baidu's own slot number for the block |
| `title` | Result title |
| `url` | Real destination URL |
| `domain` | Destination host without `www.` |
| `result_type` | `organic` or `baidu_card` |
| `baidu_template` | Baidu's template name for the block |
| `search_url` | The Baidu page that was read |
| `scraped_at` | When the row was collected |

#### Output examples

Real rows from the test runs on 1 October 2026, with long snippets and Baidu redirect links trimmed (marked `...`).

An English keyword, a web result with a date:

```json
{
  "keyword": "china ev market",
  "position": 2,
  "page": 1,
  "baidu_rank": 4,
  "title": "China dominates global EV market",
  "url": "https://ningbo.chinadaily.com.cn/2025-08/14/c_1117016.htm",
  "domain": "ningbo.chinadaily.com.cn",
  "snippet": "China continues to be the world's leading electric vehicle manufacturing hub with diverse export markets, according to the Global EV Outlook 2025...",
  "source_name": "Ningbo",
  "date_text": "2025年8月14日",
  "published_date": "2025-08-14",
  "result_type": "organic",
  "baidu_template": "www_index",
  "baidu_url": "https://www.baidu.com/link?url=uJS2fHDUtFfdh7Bfq9TgGMZ6Q21...",
  "search_url": "https://www.baidu.com/s?wd=china+ev+market&rn=10&pn=0&ie=utf-8",
  "scraped_at": "2026-10-01T07:57:45.808Z"
}
```

A Chinese keyword, from page 2, where Baidu's cards filled most of page 1:

```json
{
  "keyword": "新能源汽车",
  "position": 4,
  "page": 2,
  "baidu_rank": 12,
  "title": "新能源车有哪些品牌-有驾",
  "url": "https://youjia.baidu.com/view/wenda/932015?fromtype=top1",
  "domain": "youjia.baidu.com",
  "snippet": "新能源车品牌有:特斯拉、比亚迪、吉利汽车、奇瑞汽车、长安汽车、蔚来、小鹏汽车、理想...",
  "source_name": "有驾",
  "date_text": "2023年6月30日",
  "published_date": "2023-06-30",
  "result_type": "organic",
  "baidu_template": "www_index",
  "search_url": "https://www.baidu.com/s?wd=%E6%96%B0%E8%83%BD%E6%BA%90%E6%B1%BD%E8%BD%A6&rn=10&pn=10&ie=utf-8"
}
```

A past week search: a relative date (`2天前`, 2 days ago) turned into a calendar date, and a WeChat article as the real destination:

```json
{
  "keyword": "比亚迪 销量",
  "position": 3,
  "page": 1,
  "baidu_rank": 3,
  "title": "国内汽车销量榜单出炉,前三位是→",
  "url": "https://mp.weixin.qq.com/s?__biz=MjM5MTA2MzYyOA==&mid=2652770991&idx=1&sn=48e2c9f1e754f31ecc5ef2160c3464c0...",
  "domain": "mp.weixin.qq.com",
  "snippet": "看各品牌,8月,比亚迪以23.4万辆稳居榜首,市场份额达到15.2%;吉利汽车以17.1万辆位列第二,份额11.1%...",
  "source_name": "文明西安",
  "date_text": "2天前",
  "published_date": "2026-09-29",
  "result_type": "organic",
  "baidu_template": "www_index"
}
```

A Baidu card, returned because `includeBaiduCards` was on:

```json
{
  "keyword": "比亚迪 销量",
  "position": 2,
  "page": 1,
  "baidu_rank": 2,
  "title": "2025年中国汽车销量(2025年中国车企的...",
  "url": "https://baike.baidu.com/item/2025%E5%B9%B4%E4%B8%AD%E5%9B%BD%E6%B1%BD%E8%BD%A6%E9%94%80%E9%87%8F/67276434",
  "domain": "baike.baidu.com",
  "source_name": "百度百科",
  "result_type": "baidu_card",
  "baidu_template": "sg_kg_entity_san"
}
```

### Pricing

You pay per result delivered to your dataset, plus a flat $0.005 per run whatever memory you choose.

| Apify plan | Per 1,000 results |
|---|---|
| Free | $3.49 |
| Starter (Bronze) | $3.29 |
| Scale (Silver) | $2.99 |
| Business (Gold) and above | $2.49 |

Never charged: ads (never read), Baidu's own cards unless you ask for them, page furniture such as Baidu's feedback box, duplicates inside a keyword, results whose real URL could not be resolved, results skipped in monitor mode, keywords Baidu refused, and the info row a run writes when it delivers nothing. The run's summary record (`OUTPUT` in the key-value store) shows exactly how many results were billed.

### FAQ

#### What is Baidu?

Baidu (百度) is the search engine most people in mainland China use, where Google is not available. For brands, agencies and researchers working on the Chinese market, Baidu's first pages are the equivalent of Google's: where a site ranks, who writes about a topic, and what a buyer sees first.

#### How many results can I get?

Up to 700 per keyword and up to 100 keywords per run. Baidu itself lists about 760 results for a query at most (76 pages of 10), and many queries have fewer. A keyword stops when it reaches your number, when Baidu shows no next page, or when a page only repeats results already returned.

#### Why are some pages short on web results?

Baidu fills part of each page with its own cards: Baidu Baike entries, Tieba forums, video and image strips, and boxes such as weather or car listings. With `includeBaiduCards` off (the default) those are skipped and the actor reads the next page to reach your number. In the test above, page 1 for 新能源汽车 held 8 blocks and 2 web results.

#### How fresh is the data?

Every run reads Baidu live at run time. Nothing comes from a cache or a database. `scraped_at` records when each row was read.

#### Do the results match what people in China see?

They are what Baidu serves to an anonymous visitor with no login and no search history, from Apify's datacenter network. Baidu adjusts some results by location and by the person searching, so a signed-in user in a given Chinese city can see a slightly different order, especially for local queries such as restaurants or clinics.

#### Do I need a Baidu account, cookies or a Chinese phone number?

No. The actor reads Baidu as an anonymous visitor. You give keywords, nothing else.

#### What if Baidu shows its security check?

If Baidu answers with its security check (百度安全验证) instead of results, that keyword stops and nothing is charged for it. The actor never solves or works around the check. If it appears three times in a row the run stops, and the summary says so. Try again later.

#### Do I need my own proxy?

No. The actor always uses Apify's datacenter proxy, which is part of every Apify plan, and there is no proxy setting to change.

#### Can I search in English?

Yes. Baidu answers English keywords with English and Chinese pages. The keyword is sent exactly as you typed it, with no translation.

#### What export formats are there?

JSON, CSV, Excel, XML, RSS and HTML from the dataset's Export button or the API, the same as any Apify dataset.

#### Can I run it on a schedule and get only new results?

Yes. Save your input as a task, add a schedule (daily or weekly), and turn on `onlyNewResults`. Each run then returns and charges only results not delivered before for that keyword list.

#### Can I use it from Claude, ChatGPT or another AI assistant?

Yes. Through Apify's MCP server your assistant can call `themineworks/baidu-serp-scraper` as a tool, or it can write the short API call shown in "Copy to your AI assistant" above.

#### Is it legal to scrape Baidu search results?

The actor reads public search result pages that Baidu shows to anyone, without logging in, and returns titles, links and short excerpts. Whether and how you may use that data depends on your purpose, on Baidu's terms and on the law that applies to you, including data protection law such as GDPR, CCPA and China's PIPL. You are responsible for your use of the results.

### Integrations

- **Google Sheets**: send each run's dataset to a sheet with Apify's Google Sheets integration.
- **Make, Zapier and n8n**: start a run and pick up the results in your own scenario or workflow.
- **Webhooks**: get a call when a run finishes and fetch the dataset from the API.
- **API and clients**: run it from Python, JavaScript or plain HTTP with the Apify API.
- **MCP clients**: Claude Desktop, Cursor and other MCP clients can call it through Apify's MCP server.

### More from The Mine Works

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Trustpilot Reviews Scraper](https://apify.com/themineworks/trustpilot-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Trends Scraper](https://apify.com/themineworks/google-trends-pro?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Semrush Scraper](https://apify.com/themineworks/semrush-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [App Review Monitor](https://apify.com/themineworks/app-reviews-monitor?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Trustpilot Business Search](https://apify.com/themineworks/trustpilot-business-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [TripAdvisor Reviews Scraper](https://apify.com/themineworks/tripadvisor-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Username Checker](https://apify.com/themineworks/username-checker?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Backlink Building Agent](https://apify.com/themineworks/backlink-building-agent?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [JustDial Scraper](https://apify.com/themineworks/justdial-business?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [data.gov.in Scraper](https://apify.com/themineworks/india-data-gov-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Carsales.com.au Scraper](https://apify.com/themineworks/carsales-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [World Bank Trade Scraper](https://apify.com/themineworks/global-trade-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**More tools**

- [Tennis Match & Player Data Scraper](https://apify.com/themineworks/tennis-match-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Hotels Prices Scraper](https://apify.com/themineworks/google-hotels-prices-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### Support

Found a problem or need a field that is not here? Open an issue on the Issues tab and we will look at it. For a new source or a custom build, email dmineworks@gmail.com.

*Baidu Search Scraper turns Baidu keyword searches into clean rows with real URLs, ranks, snippets and dates, and charges only for the results it delivers.*

# Actor input Schema

## `keywords` (type: `array`):

Search terms, one per line, searched on Baidu exactly as typed. Chinese and English both work. Baidu's own operators work too, for example site:zhihu.com 新能源汽车 or "exact phrase". Up to 100 keywords per run.

## `maxResultsPerKeyword` (type: `integer`):

Most results to return for each keyword, across pages. Baidu lists about 760 results for a query at most. Pages are read 10 to 50 results at a time.

## `timeRange` (type: `string`):

Baidu's own date filter. It keeps pages Baidu dates inside the range.

## `includeBaiduCards` (type: `boolean`):

Also return Baidu's own result cards (Baidu Baike, Tieba, video, image and news strips), labelled result_type baidu_card. Off: organic web results only. Ads are never returned.

## `onlyNewResults` (type: `boolean`):

Skip results this actor already delivered for the same keyword in an earlier run with the same keyword list, so a scheduled run returns only pages that are new on Baidu. Skipped results are not charged.

## Actor input object example

```json
{
  "keywords": [
    "新能源汽车",
    "china ev market"
  ],
  "maxResultsPerKeyword": 20,
  "timeRange": "any",
  "includeBaiduCards": false,
  "onlyNewResults": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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 = {
    "keywords": [
        "新能源汽车",
        "china ev market"
    ],
    "maxResultsPerKeyword": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/baidu-serp-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 = {
    "keywords": [
        "新能源汽车",
        "china ev market",
    ],
    "maxResultsPerKeyword": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/baidu-serp-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 '{
  "keywords": [
    "新能源汽车",
    "china ev market"
  ],
  "maxResultsPerKeyword": 20
}' |
apify call themineworks/baidu-serp-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/baidu-serp-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/HEPFASGo2bn5riHhU/builds/4TBNTufTMmWT0KPCi/openapi.json
