Baidu Search 1.1.0
/install baidu-search-1-1-0
Baidu Search
Search the web via Baidu AI Search API.
Usage
python3 skills/baidu-search/scripts/search.py '\x3CJSON>'
Request Parameters
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
| query | str | yes | - | Search query |
| edition | str | no | standard | standard (full) or lite (light) |
| resource_type_filter | list[obj] | no | web:20, others:0 | Resource types: web (max 50), video (max 10), image (max 30), aladdin (max 5) |
| search_filter | obj | no | - | Advanced filters (see below) |
| block_websites | list[str] | no | - | Sites to block, e.g. ["tieba.baidu.com"] |
| search_recency_filter | str | no | - | Time filter: week, month, semiyear, year |
| safe_search | bool | no | false | Enable strict content filtering |
SearchFilter
| Param | Type | Description |
|---|---|---|
| match.site | list[str] | Limit search to specific sites, e.g. ["baike.baidu.com"] |
| range.pageTime | obj | Date range for page_time field (see below) |
Date Range Format
Fixed date: YYYY-MM-DD
Relative time (from current day): now-1w/d, now-1M/d, now-1y/d
| Operator | Meaning |
|---|---|
| gte | Greater or equal (start) |
| lte | Less or equal (end) |
Examples
# Basic search
python3 skills/baidu-search/scripts/search.py '{"query":"人工智能"}'
# Filter by time and site
python3 skills/baidu-search/scripts/search.py '{
"query":"最新新闻",
"search_recency_filter":"week",
"search_filter":{"match":{"site":["news.baidu.com"]}}
}'
# Resource type filter
python3 skills/baidu-search/scripts/search.py '{
"query":"旅游景点",
"resource_type_filter":[{"type":"web","top_k":20},{"type":"video","top_k":5}]
}'
Current Status
Fully functional.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baidu-search-1-1-0 - After installation, invoke the skill by name or use
/baidu-search-1-1-0 - Provide required inputs per the skill's parameter spec and get structured output
What is Baidu Search 1.1.0?
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics. It is an AI Agent Skill for Claude Code / OpenClaw, with 3281 downloads so far.
How do I install Baidu Search 1.1.0?
Run "/install baidu-search-1-1-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baidu Search 1.1.0 free?
Yes, Baidu Search 1.1.0 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Baidu Search 1.1.0 support?
Baidu Search 1.1.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baidu Search 1.1.0?
It is built and maintained by leileitian (@leileitian); the current version is v1.0.0.