{"skill":{"slug":"baidu-search-1-1-0","displayName":"Baidu Search 1.1.0","summary":"Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.","description":"---\nname: baidu-search\ndescription: Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.\nmetadata: { \"openclaw\": { \"emoji\": \"🔍︎\",  \"requires\": { \"bins\": [\"python3\"], \"env\":[\"BAIDU_API_KEY\"]},\"primaryEnv\":\"BAIDU_API_KEY\" } }\n---\n\n# Baidu Search\n\nSearch the web via Baidu AI Search API.\n\n## Usage\n\n```bash\npython3 skills/baidu-search/scripts/search.py '<JSON>'\n```\n\n## Request Parameters\n\n| Param | Type | Required | Default | Description |\n|-------|------|----------|---------|-------------|\n| query | str | yes | - | Search query |\n| edition | str | no | standard | `standard` (full) or `lite` (light) |\n| resource_type_filter | list[obj] | no | web:20, others:0 | Resource types: web (max 50), video (max 10), image (max 30), aladdin (max 5) |\n| search_filter | obj | no | - | Advanced filters (see below) |\n| block_websites | list[str] | no | - | Sites to block, e.g. [\"tieba.baidu.com\"] |\n| search_recency_filter | str | no | - | Time filter: `week`, `month`, `semiyear`, `year` |\n| safe_search | bool | no | false | Enable strict content filtering |\n\n## SearchFilter\n\n| Param | Type | Description |\n|-------|------|-------------|\n| match.site | list[str] | Limit search to specific sites, e.g. [\"baike.baidu.com\"] |\n| range.pageTime | obj | Date range for page_time field (see below) |\n\n### Date Range Format\n\nFixed date: `YYYY-MM-DD`\nRelative time (from current day): `now-1w/d`, `now-1M/d`, `now-1y/d`\n\n| Operator | Meaning |\n|----------|---------|\n| gte | Greater or equal (start) |\n| lte | Less or equal (end) |\n\n## Examples\n\n```bash\n# Basic search\npython3 skills/baidu-search/scripts/search.py '{\"query\":\"人工智能\"}'\n\n# Filter by time and site\npython3 skills/baidu-search/scripts/search.py '{\n  \"query\":\"最新新闻\",\n  \"search_recency_filter\":\"week\",\n  \"search_filter\":{\"match\":{\"site\":[\"news.baidu.com\"]}}\n}'\n\n# Resource type filter\npython3 skills/baidu-search/scripts/search.py '{\n  \"query\":\"旅游景点\",\n  \"resource_type_filter\":[{\"type\":\"web\",\"top_k\":20},{\"type\":\"video\",\"top_k\":5}]\n}'\n```\n\n## Current Status\n\nFully functional.\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":3287,"installsAllTime":30,"installsCurrent":30,"stars":0,"versions":1},"createdAt":1772720068976,"updatedAt":1778491734013},"latestVersion":{"version":"1.0.0","createdAt":1772720068976,"changelog":"Initial release of Baidu Search skill.\n\n- Enables web searches using the Baidu AI Search Engine (BDSE) via API.\n- Supports search filters for site, date, resource type, recency, and safe search.\n- Allows blocking specific websites from results.\n- Includes detailed usage instructions and request parameter documentation.\n- Command-line interface using Python 3 is provided.","license":null},"metadata":{"setup":[{"key":"BAIDU_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"leileitian","userId":"s17a5azr76n76j5vfj5q056v0h885w3f","displayName":"leileitian","image":"https://avatars.githubusercontent.com/u/5440371?v=4"},"moderation":null}