baidu web search
VerifiedSearch the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
Install
Claude Code
Add to .claude/skills/ About This Skill
# Baidu Search
Search the web via Baidu AI Search API.
Usage
```bash python3 skills/baidu-search/scripts/search.py '<JSON>' ```
Request Parameters
| Param | Type | Required | Default | Description | |-------|------|----------|---------|-------------| | query | str | yes | - | Search query | | count | int | no | 10 | Number of results to return, range 1-50 | | freshness | str | no | Null | Time range, two formats: format one is ”YYYY-MM-DDtoYYYY-MM-DD“, and format two includes pd, pw, pm, and py, representing the past 24 hours, past 7 days, past 31 days, and past 365 days respectively |
Examples
```bash # Basic search python3 scripts/search.py '{"query":"人工智能"}'
# Freshness first format "YYYY-MM-DDtoYYYY-MM-DD" example python3 scripts/search.py '{ "query":"最新新闻", "freshness":"2025-09-01to2025-09-08" }'
# Freshness second format pd、pw、pm、py example python3 scripts/search.py '{ "query":"最新新闻", "freshness":"pd" }'
# set count, the number of results to return python3 scripts/search.py '{ "query":"旅游景点", "count": 20, }' ```
Current Status
Fully functional.
Use Cases
- Search the Chinese web for up-to-date information inaccessible through Google or Bing
- Filter search results by date range to find recent news or events in Chinese media
- Research Chinese-language documentation, forums, and knowledge bases
- Gather competitive intelligence from Chinese market sources and publications
- Augment AI agent responses with live web data from Baidu's search index
Pros & Cons
Pros
- + One of the most popular skills with 47,000+ downloads — battle-tested by a large user base
- + Simple JSON-in, results-out interface via a single Python script
- + Supports freshness filtering with both date range and relative time period formats
Cons
- - Results are predominantly Chinese-language content — limited utility for English-only queries
- - Requires Baidu AI Search API access which may have rate limits or authentication requirements
- - Returns structured results but has no built-in summarization or relevance ranking beyond Baidu's
Frequently Asked Questions
What does baidu web search do?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
What platforms support baidu web search?
baidu web search is available on Claude Code, OpenClaw.
What are the use cases for baidu web search?
Search the Chinese web for up-to-date information inaccessible through Google or Bing. Filter search results by date range to find recent news or events in Chinese media. Research Chinese-language documentation, forums, and knowledge bases.
Stay Updated on Agent Skills
Get weekly curated skills + safety alerts