Baidu Search News

每次成功搜索 32.5 积分
ae_baidu_search_news

按关键词搜索百度新闻,查看相关报道的标题、链接和摘要。

新闻搜索
每次成功搜索 32.5 积分

价格说明

搜索成功扣 32.5 积分,搜索失败不收费。

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
qstring是Parameter defines the search query, including all Baidu search operators. (e.g., `inurl:`, `site:`, `intitle:`, etc.).—
ctenum (1 | 2 | 3)否Parameter defines which language to restrict results. Available options: `1` - All Languages. `2` - Simplified Chinese `3` - Traditional Chinese.—
pnnumber否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.).—
rnnumber否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).—
rttenum (1 | 4)否Parameter defines the sort type for results. Available options: `1` - Sort by attraction (default) `4` - Sort by time—
mediumenum (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"
  }
}'

暂无返回示例。