Skip to content

Baidu Search Scraper

Try for free

Scrape Baidu search results for any keyword: organic results with title, real URL, snippet, source and date, plus related searches, Baidu's AI answer, ads and hot searches. Desktop or mobile rankings, time and site filters. No login needed.

🔎 Baidu Search Scraper

Scrape Baidu (百度) search results for any keyword, in Chinese or English. You get every organic result with its title, real destination URL, snippet, source and date, plus related searches, Baidu's AI answer, ads and the hot-search list. Pick desktop or mobile rankings, filter by date or website, and export to JSON, CSV or Excel. No login, no Chinese phone number, and a typical 3-page search finishes in about 10 seconds.

✨ Why use Baidu Search Scraper?

  • ⚡ Fast: result pages load in parallel, and a 20-result search usually finishes in under 15 seconds, start-up included.
  • 🎯 Real URLs, not redirects: Baidu hides every result behind a baidu.com/link?url=... redirect. The scraper gives you the final website URL and its domain.
  • 🖥️📱 Desktop or mobile rankings: track www.baidu.com (PC) or m.baidu.com (mobile, what most people in China see) positions.
  • 🧠 More than blue links: related searches (相关搜索 and 大家还在搜), Baidu's AI answer, ads with advertiser names, and the hot-search list (热搜榜).
  • 🗓️ Filters built in: past day, week, month or year, an exact date range, one website only, or an exact phrase.
  • 💸 Pay per page: one flat price per results page, no start fee and no monthly rent.

🎯 Use cases

  • 📈 China SEO and rank tracking: check where your site ranks on Baidu for your keywords, on PC and on mobile, every day.
  • 🕵️ Competitor research: see which domains and Baijiahao, Zhihu or CSDN articles rank for a market's keywords.
  • 📣 SEM monitoring: collect the paid listings and advertisers that appear for your brand or category terms.
  • 📰 Brand and news monitoring: run your brand name with "past 24 hours" to catch new mentions.
  • 🧪 Market and content research: harvest related searches and hot searches to plan Chinese-language content.
  • 🤖 AI and RAG pipelines: feed fresh Baidu results and URLs into your agents and retrieval workflows.

🚀 How to use

  1. Add one or more search terms (or Baidu search URLs) under Search terms or Baidu URLs.
  2. Set Max results per query. Baidu shows about 7 to 10 results per page.
  3. Pick the Results layout (desktop or mobile) and any filters.
  4. Click Start. Each dataset item is one results page.
  5. Download the results as JSON, CSV, Excel or HTML, or read them through the API. The Organic results view shows one row per result.

📥 Input

FieldWhat it does
queriesSearch terms or Baidu search URLs (https://www.baidu.com/s?wd=..., https://m.baidu.com/s?word=...), one per line.
maxResultsPerQueryOrganic results per search term (1 to 750, default 20).
devicedesktop (www.baidu.com, default) or mobile (m.baidu.com).
timeRangeany, day, week, month or year.
dateFrom / dateToExact date range (YYYY-MM-DD, China time). Overrides the time range.
siteOnly results from one domain, for example zhihu.com.
exactPhraseSearch for the exact phrase.
includeAdsSave desktop ads (default on).
includeTopSearchesSave Baidu's hot-search list from the first desktop page (default off).
proxyConfigurationDatacenter proxy by default.
{
  "queries": ["python tutorial", "人工智能"],
  "maxResultsPerQuery": 20,
  "device": "desktop",
  "timeRange": "week"
}

📤 Output

Each dataset item is one Baidu results page.

FieldDescription
searchQueryterm, page, device (desktop or mobile) and the Baidu url of the page.
organicResults[]position (across pages), title, url (the real website URL), domain, snippet, source (site name or displayed URL), date, type (organic or Baidu's card type such as sg_kg_entity_san for Baike), sitelinks.
relatedSearches[]query and its Baidu url.
answerBoxBaidu's AI answer on the first page (text, sources), when Baidu shows one.
ads[]Desktop paid listings: title, advertiser, click url.
topSearches[]Hot searches (position, text, url), when includeTopSearches is on.
hasNextPageWhether Baidu offers another page.
noteSet when a desktop page had to come from the mobile layout.

Example (one page, trimmed):

{
  "searchQuery": {
    "term": "python tutorial",
    "page": 1,
    "device": "desktop",
    "url": "https://www.baidu.com/s?wd=python+tutorial&ie=utf-8"
  },
  "organicResults": [
    {
      "position": 1,
      "title": "The Python Tutorial — Python 3.15.0 documentation",
      "url": "https://docs.python.org/3/tutorial/",
      "snippet": "The Python Tutorial Tip This tutorial is designed for programmers that are new to the Python language, not beginners who are new to programming...",
      "source": "Python官方文档",
      "type": "organic",
      "domain": "docs.python.org"
    },
    {
      "position": 2,
      "title": "Python 基础教程 | 菜鸟教程",
      "url": "https://www.runoob.com/python/python-tutorial.html",
      "snippet": "Python 3.0+ 版本已经把 print 作为一个内置函数,输出 \"Hello World!\" 代码如下: 实例(Py...",
      "source": "www.runoob.com/python/py...",
      "date": "2019年1月2日",
      "type": "organic",
      "domain": "www.runoob.com"
    }
  ],
  "relatedSearches": [
    {
      "query": "python在线编程网站推荐",
      "url": "https://www.baidu.com/s?wd=python%E5%9C%A8%E7%BA%BF%E7%BC%96%E7%A8%8B%E7%BD%91%E7%AB%99%E6%8E%A8%E8%8D%90"
    }
  ],
  "answerBox": {
    "type": "ai_answer",
    "text": "最直接的入口是官方教程:Python 官方教程,适合从基础语法到标准库快速入门。..."
  },
  "ads": [
    {
      "title": "TRAE-智能编写python",
      "advertiser": "北京引力弹弓科技有限公司",
      "url": "https://www.baidu.com/baidu.php?url=..."
    }
  ],
  "hasNextPage": true,
  "scrapedAt": "2026-10-21T06:19:21Z"
}

💰 Pricing

You pay $0.015 per results page saved ($15 per 1,000 pages), plus a small amount of platform usage (compute and proxy traffic, about $0.0003 to $0.0006 per page in our tests). There is no start fee.

  • 1 search term, 3 pages (26 results): $0.046 in our test run, usage included.
  • 100 search terms, 10 results each (about 200 pages): about $3 + usage.
  • 1,000 pages: about $15 + usage.

Pages that fail or come back empty are not charged. Set a maximum charge per run and the scraper stops cleanly when it is reached.

❓ FAQ

Is it legal to scrape Baidu? The scraper only collects what Baidu shows to any visitor without logging in. Check the rules that apply to you and how you use the data, especially for personal data.

Do I need a Baidu account, a Chinese phone number or my own proxy? No. The scraper works without login, and the built-in datacenter proxy is the default.

How many results can I get per search term? Baidu serves at most about 76 desktop pages (roughly 750 results) per search, and many searches end sooner. The mobile layout shows at most 8 pages (about 70 results). The run tells you when Baidu had fewer results than you asked for.

Why is a field empty? Baidu does not show a date or a snippet for every result, and AI answers, ads and hot searches only appear on some searches. Empty fields are left out of the item.

What happens when Baidu shows a security check? Each page is retried on fresh connections with the browser fingerprints that work best. When the datacenter exits keep getting the check, the retries move to residential exits in Hong Kong (a little residential traffic, billed as usage). If a desktop page stays blocked, that page is taken from the mobile layout and marked with note. Searches that still fail are listed in the run's OUTPUT record and are not charged.

Can I schedule it or use the API? Yes. Schedule runs in the console, or start them over the API and read the dataset as JSON, CSV or Excel.

⚠️ Limits

  • Web search only: Baidu Images, Video, News tab, Zhidao and Tieba search are not covered.
  • A language filter (simplified or traditional Chinese only) is not offered.
  • Rich cards (stock quotes, product carousels, image grids) are saved as a result with their title and link, not their full contents.
  • A result whose title is only a bare page name such as 首页 (home page) gets the site name added, e.g. 首页 - 华为商城, so every title says what the page is.
  • Ad links are Baidu click links, not the advertiser's final URL.
  • Baidu serves at most about 76 desktop pages (roughly 750 results) per search, so maxResultsPerQuery stops at 750. Split a broad search into narrower ones to get more.
  • The mobile layout stops at 8 pages per search.

Related actors

G2
4.7/5
Excellent
Trustpilot

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.