Baidu search results and Chinese SERP data via the Apify Baidu Search Scraper, hosted MCP.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=actors,docs,johnvc/Baidu-Search-Scraper"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The most efficient, reliable, and developer-friendly way to use the Baidu API.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in search
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Web and local search using Brave Search API
Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
Production ready MCP server with real-time search, extract, map & crawl.
MCP Security Weekly
Get CVE alerts and security updates for io.github.johnisanerd/baidu-search and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
English | 中文
The most efficient, reliable, and developer-friendly way to use the Baidu API.
Actor page: apify.com/johnvc/Baidu-Search-Scraper Input schema: apify.com/johnvc/Baidu-Search-Scraper/input-schema
The Baidu API (百度) runs a Baidu search for any keyword and returns clean, structured JSON. Each run gives you organic results (title, link, snippet, position), answer boxes, related videos, "people also search for" suggestions, related searches, and trending top searches, plus per-page metadata and pagination details. It supports desktop, mobile, and tablet results, Simplified and Traditional Chinese localization, time-range filtering, and multi-page pagination.
Clone the repository
git clone https://github.com/johnisanerd/Apify-Baidu-Search-Scraper.git
cd Apify-Baidu-Search-Scraper
Install dependencies with UV
# Install UV if you do not have it:
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install project dependencies:
uv sync
Configure your API key
cp .env.example .env
# Edit .env and add your Apify API key
# Get your free API key at: https://apify.com?fpr=9n7kx3
Run the example
uv run python baidu-search-scraper.py
export APIFY_API_TOKEN="your_api_key_here"
uv run python baidu-search-scraper.py
Complete SERP coverage. One call returns the full Baidu results page as structured data: organic listings, answer boxes, related videos, "people also search for", related searches, and trending top searches. You get the whole page, not just ten blue links.
Built for China-market research. Target Simplified or Traditional Chinese results, switch between desktop, mobile, and tablet, and filter by a precise date range. That makes it practical for SEO, market research, and brand monitoring in Chinese-language markets.
Predictable, pay-per-use pricing. Billing is per run plus per page processed, with no monthly rental. You pay for the searches you actually make, and you control cost directly with the page limit.
Clean, consistent JSON. Every response uses the same shape, so you parse results once and reuse the code across queries. Per-page metadata and pagination details make it easy to page through larger result sets.
Easy to automate. Call it from Python in a few lines, or load it as an MCP tool so assistants like Claude and Cursor can run Baidu searches for you on demand.
A single-page desktop search for one keyword. This is the cheapest way to try the API.
{
... [View full README on GitHub](https://github.com/johnisanerd/apify-baidu-search-scraper#readme)