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

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

Pricing

from $2.49 / 1,000 search results

Go to Apify Store
Baidu Search Scraper | 百度搜索: Ranks, Real URLs, Snippets

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

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.

Pricing

from $2.49 / 1,000 search results

Rating

0.0

(0)

Developer

The Mine Works

The Mine Works

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

2

Monthly active users

19 days ago

Last modified

Features

Limited permissions

Share

20 Baidu results with real URLs in 13 seconds

From The Mine Works, makers of Threads Scraper and B2B Leads Finder, 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

Part of The Mine Works Marketing, SEO and reviews family: Facebook Ad Library Scraper, Similarweb Scraper, Google Ads Transparency Scraper, Google News Scraper, Trustpilot Reviews Scraper, Google Trends Scraper.

Guide and FAQs: Baidu Search Scraper on themineworks.com.

Try it in one minute

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

{
"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

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

Several keywords at once

{
"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

{
"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

{
"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

{
"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

ParameterTypeDefaultWhat it does
keywordsarray of stringsnone (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.
maxResultsPerKeywordinteger30Most results to return for each keyword, 1 to 700, across pages.
timeRangestringanyBaidu's date filter: any, day, week, month or year.
includeBaiduCardsbooleanfalseAlso 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.
onlyNewResultsbooleanfalseMonitor 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:

FieldWhat it holds
keywordThe keyword the row belongs to
position1-based rank among the results returned for the keyword
pageBaidu results page number
baidu_rankBaidu's own slot number for the block
titleResult title
urlReal destination URL
domainDestination host without www.
result_typeorganic or baidu_card
baidu_templateBaidu's template name for the block
search_urlThe Baidu page that was read
scraped_atWhen 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:

{
"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:

{
"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:

{
"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:

{
"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 planPer 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.

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

Social media and video

Leads and business directories

LinkedIn

Real estate

Science, health and government data

Jobs and hiring

E-commerce and marketplaces

Company and business data

Food and local services

Developer and AI tools

More tools

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.