Baidu Search News
每次成功搜索 32.5 积分
ae_baidu_search_news
按关键词搜索百度新闻,查看相关报道的标题、链接和摘要。
每次成功搜索 32.5 积分
价格说明
搜索成功扣 32.5 积分,搜索失败不收费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
q | string | 是 | Parameter defines the search query, including all Baidu search operators. (e.g., `inurl:`, `site:`, `intitle:`, etc.). | — |
ct | enum (1 | 2 | 3) | 否 | Parameter defines which language to restrict results. Available options: `1` - All Languages. `2` - Simplified Chinese `3` - Traditional Chinese. | — |
pn | number | 否 | 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 | 否 | 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) | 否 | Parameter defines the sort type for results. Available options: `1` - Sort by attraction (default) `4` - Sort by time | — |
medium | enum (0 | 1 | 2) | 否 | 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) | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.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"
}
}'暂无返回示例。

