Ae · Tushare · Daily · Basic
1.00积分/次
ae_tushare_daily_basic
查看A股每日估值和市场指标,包括市盈率、市净率、市销率、股息率、换手率、股本和市值。
1.00积分/次
价格说明
1.00积分/次
API 调用
通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。
cURL
curl --request POST \
--url 'https://api.agentearth.ai/v1/tools/run' \
--header 'Authorization: Bearer $AGENTEARTH_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"tool": "ae_tushare_daily_basic",
"input": {
"fields": "xxx",
"ts_code": "xxx",
"end_date": "xxx",
"start_date": "xxx",
"trade_date": "xxx"
}
}'- 请求方式
- POST
- 接口地址
- /v1/tools/run
- 鉴权方式
- Bearer Token
- 超时时间
- 60 秒
- 当前版本
- —
响应示例
{
"error_no": 0,
"error_msg": "",
"result": [
{
"type": "text",
"text": "xxx"
}
],
"platform_annotations": {
"source": "AgentEarth",
"platform_note": "xxx",
"platform_suggestion": "xxx"
}
}工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
fields | array | 否 | 指定返回字段,不传则返回默认字段。 默认字段: ts_code, trade_date, close, turnover_rate, turnover_rate_f, volume_ratio, pe, pe_ttm, pb, ps, ps_ttm, dv_ratio, dv_ttm, total_share, float_share, free_share, total_mv, circ_mv 额外可选字段: (所有字段均为默认返回,无需指定) | — |
ts_code | string | 否 | 股票代码,例如000001.SZ。与trade_date二选一,ts_code和trade_date至少提供一个非空字符串。 | — |
end_date | string | 否 | 结束日期(YYYYMMDD) | — |
start_date | string | 否 | 开始日期(YYYYMMDD) | — |
trade_date | string | 否 | 交易日期,格式YYYYMMDD。与ts_code二选一,ts_code和trade_date至少提供一个非空字符串。 | — |
