Baidu - Cost-Effective Baidu Search Scraper avatar

Baidu - Cost-Effective Baidu Search Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Baidu - Cost-Effective Baidu Search Scraper

Baidu - Cost-Effective Baidu Search Scraper

Baidu search scraper with intelligent pagination and cost optimization. Built for developers who demand reliability without hidden fees. Features device targeting, localization, time filtering, and per-page billing. No monthly rentals - pay only for what you use.

Pricing

from $0.01 / 1,000 results

Rating

5.0

(2)

Developer

John

John

Maintained by Community

Actor stats

4

Bookmarked

71

Total users

13

Monthly active users

4 hours ago

Last modified

Share

๐Ÿš€ Apify Baidu Search Scraper

The most efficient, reliable, and developer-friendly Baidu search scraper for Apify platform

๐ŸŒŸ Why Choose This Scraper?

The Baidu Search data scraper delivers enterprise-grade performance with these advanced capabilities:

Performance & Reliability: Built optimized for high-throughput scraping with intelligent rate limiting and pagination handling.

Cost-Effective: Provides consistent, reliable results with intelligent pagination management to optimize API usage.

Lightning-Fast Search & Retrieval: Search any keyword across Baidu with blazing-fast performance. Retrieve comprehensive results in seconds, not minutes, with intelligent caching and optimization.

Precision Targeting & Advanced Filtering: Pinpoint exact search parameters with device targeting, localization support, and time period filtering. Get precisely the search data you need, when you need it.

Rich, Structured Data Extraction: Extract complete search information, including organic results, answer boxes, related videos, people also search for, related searches, and top searches. Our advanced parsing ensures you get clean, structured data ready for immediate use.

Enterprise-Grade Configuration & Flexibility: Built for developers and businesses who demand reliability. Highly configurable with intuitive controls, comprehensive error handling, and robust logging. Focus on your business logic while we handle the complexity of search scraping.

No Hidden Costs or Rental Fees: We do not charge monthly rentals, our scraper operates on a pay-per-use model. Scale up or down based on your actual needs without being locked into expensive subscriptions.

๐Ÿš€ Features

Core Capabilities

  • Advanced Search: Support for complex queries with device targeting, localization, and time period filtering
  • Intelligent Pagination: Automatic handling of Baidu search pagination with configurable limits
  • Device Targeting: Support for desktop and mobile search results
  • Multi-Language: Support for international search markets with localization options
  • Time Period Filtering: Advanced time-based result filtering using Unix timestamps

Data Quality

  • Clean Output: Automatic structured data metadata for clean, production-ready data
  • Structured Results: Consistent JSON structure across all search results
  • Comprehensive Fields: Organic results, answer boxes, related videos, people also search for, and more
  • Metadata Tracking: Page-level analytics and search performance metrics
  • Per-Page Billing: Results are pushed as separate dataset items for accurate billing

๐Ÿ“– Usage Examples

Basic Search Example

Search for "python tutorial" on desktop with default settings.

{
"query": "python tutorial",
"device": "desktop"
}

Advanced Search Example

Search for "machine learning" on desktop with Chinese localization, time period filtering, and pagination limits.

{
"query": "machine learning",
"device": "desktop",
"localization": 2,
"page": 1,
"num_results": 20,
"time_period": "stf=1755138395,1755743195|stftype=1",
"max_pagination": 3
}

๐Ÿ” Input References

Input Parameters

ParameterTypeRequiredDefaultDescription
querystrโœ…"python tutorial"Search query
devicestrโŒ"desktop"Device type ("desktop" or "mobile")
localizationOptional[int]โŒNoneLocalization code (e.g., 2 for Simplified Chinese)
pageintโŒ1Starting page number
num_resultsintโŒ10Number of results per page
time_periodOptional[str]โŒNoneTime period filter format (stf=start_timestamp,end_timestamp
max_paginationOptional[int]โŒ3Maximum pages to fetch (0 = no limit)
output_fileOptional[str]โŒNoneCustom output filename

๐Ÿ“Š Output Format

Search Result Structure

{
"query": "machine learning",
"device": "desktop",
"localization": 2,
"page": 1,
"num_results": 20,
"filter_results": null,
"time_period": "stf=1755138395,1755743195|stftype=1",
"max_pagination": 3,
"total_results_found": 150,
"pages_processed": 3,
"search_metadata": {
"query": "machine learning",
"device": "desktop",
"localization": 2,
"page": 1,
"num_results": 20,
"filter_results": null,
"time_period": "stf=1755138395,1755743195|stftype=1",
"max_pagination": 3,
"pagination_limit_reached": false
},
"pagination_info": {
"total_pages": 3,
"current_page": 1,
"max_pagination_set": 3,
"pagination_stopped_by_limit": false
},
"organic_results": [
{
"title": "Machine Learning Tutorial",
"link": "https://example.com/ml-tutorial",
"snippet": "Learn machine learning fundamentals...",
"position": 1,
"displayed_link": "example.com",
"thumbnail": "https://thumbnail.url",
"rich_snippet": "Rich snippet content...",
"sitelinks": [...],
"related_videos": [...]
}
],
"answer_box": [...],
"related_videos": [...],
"people_also_search_for": [...],
"related_searches": [...],
"top_searches": [...],
"results_by_page": {
"1": {
"organic_results": [...],
"answer_box": [...],
"related_videos": [...],
"people_also_search_for": [...],
"related_searches": [...],
"top_searches": [...]
}
}
}

๐Ÿ’ฐ Pricing

This actor uses pay-per-event billing โ€” you only pay for what you use.

EventFree PlanBusiness Plan
Search initiation (per run)$0.012$0.010
Page of results processed (per 1,000)$20.00$15.00

Example cost: A 3-page search (default max_pagination) costs approximately $0.012 + (3 ร— $0.020) = ~$0.07 per run on the Free Plan.

Apify subscription plans (Starter, Scale/Business) offer 11โ€“24% discounts. No monthly rental fees.

๐Ÿค– Use with AI Agents via MCP

This actor is available through the Apify MCP server, making it directly callable by AI agents (Claude, GPT-4, and others) without any manual setup.

An AI agent can call this actor by name, pass a query, and receive structured Baidu search results directly in the conversation.

๐Ÿš€ How to Get Started

  1. Open the actor on the Apify Store
  2. Click Try for free
  3. Enter your search query (required โ€” all other fields have defaults)
  4. Click Start โ€” results appear in the dataset within seconds

โ“ FAQ & Troubleshooting

Q: Why are no results returned? Check that your query is not empty. Very niche or highly specific queries may return zero results on Baidu โ€” try a broader term.

Q: How do I get only Simplified Chinese results? Set localization to 2. Use 3 for Traditional Chinese. Leave at 1 (default) for all languages.

Q: What is the time_period format? Use Unix timestamps: stf=START_UNIX,END_UNIX|stftype=1. Most users leave this blank to get results from all dates.

Q: Can I get more than 10 results per page? Yes โ€” set num_results up to 50. Increase max_pagination to fetch additional pages.

Q: Why did the run exit early? If your configured spending limit is reached before all pages are processed, the actor exits gracefully to stay within budget.

Python Code for Scraping Baidu Search Results

See our complete example Python code for scraping Baidu search results.

Made with โค๏ธ

Transform your search automation with the most reliable and efficient Baidu search scraper on the market. Last Updated: 2026.05.14