Baidu Search News
32.5 credits per successful search
ae_baidu_search_news
按关键词搜索百度新闻
32.5 credits per successful search
Pricing
A completed search is 32.5 credits. Failed searches are free.
32.5 credits per successful search
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
q | string | Yes | Parameter defines the search query, including all Baidu search operators. (e.g., `inurl:`, `site:`, `intitle:`, etc.). | — |
ct | enum (1 | 2 | 3) | No | Parameter defines which language to restrict results. Available options: `1` - All Languages. `2` - Simplified Chinese `3` - Traditional Chinese. | — |
pn | number | No | Parameter defines the result offset. It skips the given number of results. It's used for pagination. (e.g., `0` (default) is the first page of results, `10` is the 2nd page of results, `20` is the 3rd page of results, etc.). | — |
rn | number | No | Parameter defines the maximum number of results to return, limited to 50. (e.g., `10` (default) returns 10 results, `30` returns 30 results, and `50` returns 50 results). | — |
rtt | enum (1 | 4) | No | Parameter defines the sort type for results. Available options: `1` - Sort by attraction (default) `4` - Sort by time | — |
medium | enum (0 | 1 | 2) | No | Parameter defines medium filtering for results. Available options: `0` - No filtering `1` - Show results from medium sites `2` - Show results from Baijiahao (baijiahao.baidu.com) | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_baidu_search_news' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"q": "xxx"
}
}'No response example available yet.

