Tushare Daily

1 credits/call
ae_tushare_daily

View unadjusted historical daily quotes for A-share stocks, including prices, price changes, trading volume, and turnover. For a stock lookup, pass one stock code in ts_code. To retrieve the market for one trading day, provide trade_date and omit ts_code.

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, open, high, low, close, pre_close, change, pct_chg, vol, amount 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNo单个 A 股股票代码,例如 000001.SZ。每次只传一个代码,不支持逗号分隔的多个代码。按交易日查询全市场时传 trade_date,并省略 ts_code。—
end_datestringNo结束日期(YYYYMMDD)—
start_datestringNo开始日期(YYYYMMDD)—
trade_datestringNo交易日期,格式 YYYYMMDD。仅传 trade_date、且省略 ts_code 时,查询该交易日全市场日行情。—

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_daily' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "trade_date": "20261110",
    "ts_code": "603083.SH"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "amount": 2762309.906,
    "change": 3.0,
    "close": 106.32,
    "high": 110.67,
    "low": 105.28,
    "open": 109.35
  }
]

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

Guides using this tool

See how this tool fits into real workflows