Baidu Search API
baidu_searchScrape Baidu search results into structured JSON. Supports Chinese-market queries with pagination and operators.
Instructions
Scrape Baidu (Chinese-market) search results as structured JSON.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "baidu_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct | No | Language filter: 1=all, 2=Simplified Chinese, 3=Traditional Chinese. | |
| pn | No | Pagination offset (0=first page, 10=second, ...). (API default: 0) | |
| rn | No | Results per page (max 50). (API default: 10) | |
| html | No | Return raw HTML instead of parsed JSON. (API default: false) | |
| query | Yes | Baidu search query; supports Baidu operators (site:, inurl:, intitle:). |