
Baidu Scraper
Baidu Scraper
TLDR
- Search Baidu and get organic results, AI-generated summaries, related queries, and trending topics — all via 1 API.
- 25 free queries per month. No credit card required.
Here's a sample organic search result:
{
"rank": 4,
"title": "Linux内核 - 百度百科",
"url": "https://baike.baidu.com/item/Linux内核/10142820",
"site_label": "百度百科",
"image": "https://t8.baidu.com/it/u=111934875,1416360082&fm=74&app=80&size=f256,256&n=0&f=JPEG&fmt=auto",
"fact_highlights": [
"Linux内核是芬兰开发者Linus Torvalds于1991年发布的开源操作系统内核,采用C语言编写,遵循GPLv2协议,并由全球开发者社区维护。其核心功能包括内存管理、进程调度、文件系统操作和设备驱动。"
],
"sub_links": [
{ "title": "相关新闻", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" },
{ "title": "特性", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" },
{ "title": "发行版", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" }
]
}What is this?
The Baidu Scraper API gives you real-time access to Baidu search results — China's #1 search engine, with 80%+ market share.
Get organic results, AI-generated summaries, related queries, trending topics, and rich snippets — all as clean, structured JSON.
Perfect for Chinese SEO tracking, brand monitoring inside China, market research, training data for Chinese LLMs, competitor intelligence, or any app that needs Baidu data.
Why use it?
1. Detailed Data with 100% Accuracy
Get complete Baidu SERP data in real time. Every result, every AI summary block, every trending search — pulled live. No stale caches, no guesswork.
Organic results come with titles, URLs, summaries, ranks, images, site labels, fact highlights, and Baidu sub-links. The AI summary block is fully structured — paragraphs, headings, nested lists, videos, and cited sources. Plus you get related queries, related topics, and the live trending searches sidebar in every response.
2. Free Plan
25 queries per month. Free. No credit card required.
Build and test your app at zero cost.
How to use it?
Simple REST API. Here's how it works:
- Create an account at omkar.cloud to get your API key.
It takes just 2 minutes to sign up. You get 25 free requests every month for Baidu search data.
This is a well built product, and your search for the best Baidu Scraper API ends right here.
- Make a request with it:
cURL:
curl -X GET "https://baidu-scraper.omkar.cloud/baidu/results?keyword=Linus%20Torvalds" \
-H "API-Key: YOUR_API_KEY"Python:
import requests
api_key = "YOUR_API_KEY"
response = requests.get(
"https://baidu-scraper.omkar.cloud/baidu/results",
params={"keyword": "Linus Torvalds"},
headers={"API-Key": api_key}
)
print(response.json())- Get structured Baidu data and use it.
That's it. Keyword to search data in seconds.
API Reference
Search Results
GET https://baidu-scraper.omkar.cloud/baidu/results
keyword(required) — Search query. Supports operators likesite:,inurl:,intitle:.language_filter(optional) — Restrict result language:any,simplified,traditional.offset(optional, default:0) — Result offset for pagination.0for page 1,10for page 2,20for page 3, etc.page_size(optional, default:10) — Results per page (max50). Desktop and tablet only.
Example:
import requests
response = requests.get(
"https://baidu-scraper.omkar.cloud/baidu/results",
params={"keyword": "Linus Torvalds"},
headers={"API-Key": "YOUR_API_KEY"}
)
print(response.json())Sample Response:
{
"result_count": 9,
"offset": 0,
"next": "https://baidu-scraper.omkar.cloud/baidu/results?keyword=Linus+Torvalds&offset=10",
"previous": null,
"search_query": "Linus Torvalds",
"ai_summary": {
"sections": [
{
"format": "paragraph",
"text": "林纳斯·本纳第克特·托瓦兹(Linus Benedict Torvalds)是芬兰著名软件工程师,Linux 内核创始人与Git 版本控制系统创造者,1969 年 12 月 28 日出生于芬兰赫尔辛基,毕业于赫尔辛基大学计算机系。",
"highlights": [
"林纳斯·本纳第克特·托瓦兹",
"Linux 内核创始人",
"Git 版本控制系统创造者"
],
"source_indexes": [1]
},
{
"format": "heading",
"text": "🖥️ 核心成就与技术贡献"
},
{
"format": "list",
"items": [
{
"text": "Linux 内核开发:1991 年在赫尔辛基大学就读期间,托瓦兹为访问大学主机开发终端仿真器,逐步形成 Linux 内核雏形。1994 年 3 月 Linux 1.0 正式版本发布,采用 GPLv2 开源协议。",
"highlights": ["Linux 内核开发"]
},
{
"text": "Git 版本控制系统:2005 年因 BitKeeper 授权问题,托瓦兹主导创建分布式版本控制系统 Git。",
"highlights": ["Git 版本控制系统"]
}
]
},
{
"format": "video",
"video": {
"url": "http://www.bilibili.com/video/BV1XK411X7tP",
"image": "http://t15.baidu.com/it/u=2282248574,3396022597&fm=225&app=113&f=JPEG"
}
}
],
"sources": [
{
"number": 1,
"title": "林纳斯·本纳第克特·托瓦兹",
"url": "https://baike.baidu.com/item/林纳斯·本纳第克特·托瓦兹/1034429",
"publisher": "百度百科"
},
{
"number": 2,
"title": "Linus Torvalds | 传记、Linux和事实 | 大英百科全书",
"url": "https://www.britannica.com/print/article/600294",
"publisher": "大英百科全书官网"
}
]
},
"results": [
{
"rank": 1,
"title": "林纳斯·本纳第克特·托瓦兹(软件工程师) - 百度百科",
"url": "https://baike.baidu.com/item/林纳斯·本纳第克特·托瓦兹/1034429",
"summary": "简介:林纳斯·本纳第克特·托瓦兹(Linus Benedict Torvalds,1969年12月28日—),芬兰赫尔辛基人,软件工程师,Linux内核发明..."
},
{
"rank": 3,
"title": "Linus Torvalds - IMDb",
"url": "https://www.imdb.com/name/nm1127735/faq/",
"summary": "Linus Torvalds. Self: Revolution OS. Linus Torvalds was born on 28 December 1969 in Helsinki, Finland. He is married to Tove. They have three children."
},
{
"rank": 4,
"title": "Linux内核 - 百度百科",
"url": "https://baike.baidu.com/item/Linux内核/10142820",
"site_label": "百度百科",
"image": "https://t8.baidu.com/it/u=111934875,1416360082&fm=74&app=80&size=f256,256&n=0&f=JPEG&fmt=auto",
"fact_highlights": [
"Linux内核是芬兰开发者Linus Torvalds于1991年发布的开源操作系统内核,采用C语言编写,遵循GPLv2协议,并由全球开发者社区维护。其核心功能包括内存管理、进程调度、文件系统操作和设备驱动。"
],
"sub_links": [
{ "title": "相关新闻", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" },
{ "title": "特性", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" },
{ "title": "发行版", "url": "http://www.baidu.com/link?url=SdLOGEu1HaFIG4VdCFeSVyGi9QyXSVUvbfWA40ULd7xFUEEfmspEVknfYa-CHR2C" }
]
},
{
"rank": 8,
"title": "torvalds (Linus Torvalds) · GitHub",
"url": "https://github.com/torvalds",
"summary": "Linus Torvalds torvalds 302k followers · 0 following Linux Foundation Portland, OR ... Pinned linux Public Linux kernel source tree C 233k 62.2k"
}
],
"related_topics": [
{ "label": "Linux是什么", "url": "https://www.baidu.com/s?wd=Linux%E6%98%AF%E4%BB%80%E4%B9%88" },
{ "label": "Linux", "url": "https://www.baidu.com/s?wd=Linux" },
{ "label": "林纳斯·托瓦兹", "url": "https://www.baidu.com/s?wd=%E6%9E%97%E7%BA%B3%E6%96%AF%C2%B7%E6%89%98%E7%93%A6%E5%85%B9" }
],
"related_queries": [
{ "query": "Linux是什么", "url": "https://www.baidu.com/s?wd=Linux%E6%98%AF%E4%BB%80%E4%B9%88" },
{ "query": "Linux", "url": "https://www.baidu.com/s?wd=Linux" },
{ "query": "linus tech", "url": "https://www.baidu.com/s?wd=linus%20tech" }
],
"trending_searches": [
{
"rank": 1,
"label": "改造升级 传统产业提质增效",
"url": "https://www.baidu.com/s?wd=%E6%94%B9%E9%80%A0%E5%8D%87%E7%BA%A7"
},
{
"rank": 2,
"label": "宇树发布载人变形机甲 390万元起售",
"url": "https://www.baidu.com/s?wd=%E5%AE%87%E6%A0%91%E5%8F%91%E5%B8%83",
"badge": "热"
},
{
"rank": 3,
"label": "日本爆发数十年来最大规模反战抗议",
"url": "https://www.baidu.com/s?wd=%E6%97%A5%E6%9C%AC%E7%88%86%E5%8F%91",
"badge": "新"
}
]
}FAQs
❓ What data does the API return?
Search Results returns:
Top-level fields:
result_count,offset,next,previous,search_query— pagination + query metadataai_summary— Baidu's AI-generated answer block with structured sections and cited sourcesresults— list of organic search resultsrelated_topics— topics users also search forrelated_queries— query suggestions Baidu showstrending_searches— the live "hot" sidebar on Baidu
Per organic result:
rank,title,url,summaryimage— thumbnail image URL (when shown)site_label— verified source badge (e.g.百度百科,知乎)fact_highlights— Baidu's fact-extracted snippetsub_links— Baidu's nested deep links into the result page
Inside ai_summary:
sections— ordered blocks: paragraphs, headings, lists (with nestedsub_items), and videos. Each block carrieshighlights(bolded phrases) andsource_indexes(citations).sources— numbered list of citation URLs with publisher names.
All in structured JSON. Ready to use in your app.
❓ How accurate is the data?
Data is pulled from Baidu in real time. Every API call fetches live results — not cached or stale.
Rankings, AI summaries, trending searches — they all reflect what's on Baidu right now.
❓ Can I get results in English or only Chinese?
Both. Baidu indexes English pages too — you'll see GitHub, IMDb, Wikipedia, and other English sources right inside the results array.
Use the language_filter parameter to restrict results: simplified for Simplified Chinese only, traditional for Traditional Chinese only, or any for the full mix (English + Chinese).
❓ What does the AI summary block contain?
It's Baidu's equivalent of Google's AI Overview — a structured answer Baidu generates at the top of the page for many queries.
You get the full structure: ordered paragraphs, headings (with emoji), nested bullet lists, embedded videos, highlighted key phrases, and numbered citations linking back to source pages. No HTML parsing needed.
❓ How do I paginate through results?
Use the offset parameter. 0 returns page 1, 10 returns page 2, 20 returns page 3, and so on.
Every response also includes ready-to-use next and previous URLs in the JSON, so you can paginate without doing the math yourself.
❓ Tell me about Omkar Cloud.
We're an API services company with 20+ tools for OCR, document processing, and developer APIs. Some things we are proud of:
- We built Botasaurus, an open-source scraping framework with 3.7K+ GitHub stars
- Sponsored by 1000+ developers on GitHub
❓ How much does it cost?
- Free — $0 — 25 queries/month
- Starter — $16 — 800 queries/month
- Grow — $48 — 2,400 queries/month
- Scale — $148 — 7,400 queries/month
Why we're affordable: Low overhead. We run lean and pass the savings to you.
Note: You get 25 free queries every month.
❓ How do I get a refund?
If the product doesn't meet your needs within 90 days, get a refund in 2 clicks.
-
Go to Transactions Page

-
Click "Request Refund"

-
Confirm by clicking Request Refund again. The amount will be refunded within 1-2 business days. We'll email you updates.

No emails. No explanations. Simple 2-click process.
❓ Is there a catch in refunds?
No catch.
It's a simple 2-click process, exactly as described above.
Questions? We have answers.
Reach out anytime. We will solve your query within 1 working day.

