Tushare Index Daily

1 credits/call
ae_tushare_index_daily

View daily Chinese market index prices, changes, trading volume, and turnover.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: ts_code, trade_date, close, open, high, low, pre_close, change, pct_chg, vol, amount 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringYes指数代码,来源指数基础信息接口—
end_datestringNo结束日期—
start_datestringNo开始日期—
trade_datestringNo交易日期 (日期格式:YYYYMMDD,下同)—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_index_daily' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "end_date": "20261112",
    "start_date": "20261101",
    "ts_code": "000688.SH"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "amount": 76439313.2654,
    "change": 35.3619,
    "close": 1300.3836,
    "high": 1303.0579,
    "low": 1254.2517,
    "open": 1260.0678
  }
]

This example shows part of the response. Copied content is valid JSON.

Guides using this tool

See how this tool fits into real workflows