Tushare News
1积分/次
ae_tushare_news
获取指定来源和时间范围内的主流网站新闻快讯,提供超过 6 年历史数据。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_news' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"src": "xxx",
"end_date": "xxx",
"start_date": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /agent-api/v1/tool/execute
- 鉴权方式
- X-Api-Key
- 超时时间
- 60 秒
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
src | string | 是 | 新闻来源 见下表 | — |
fields | array | 否 | 指定返回字段,不传则返回默认字段。 默认字段: datetime, content, title 额外可选字段: channels: 分类 | — |
end_date | string | 是 | 结束日期 | — |
start_date | string | 是 | 开始日期(格式:2018-11-20 09:00:00) | — |
使用该工具的指南
看看真实工作流里怎么用这个工具

