Tushare Index Global

1 credits/call
ae_tushare_index_global

Query historical daily prices for supported major international indexes, including OHLC and changes. Use supported identifiers such as SPX, DJI, HSI or N225; volume and turnover are unavailable for some indexes.

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, close, high, low, pre_close, change, pct_chg, swing, vol 额外可选字段: amount: 成交额—
ts_codestringNoTS指数代码;使用对应证券或合约的完整代码,保留后缀及前导零。—
end_datestringNo结束日期;日期格式YYYYMMDD,必须为8位数字字符串。—
start_datestringNo开始日期;日期格式YYYYMMDD,必须为8位数字字符串。—
trade_datestringNo交易日期;日期格式YYYYMMDD,必须为8位数字字符串。—

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_global' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "trade_date": "20261117",
    "ts_code": "IXIC"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "change": -181.38,
    "close": 24328.38,
    "high": 24547.66,
    "low": 23989.09,
    "open": 24528.06,
    "pct_chg": -0.74
  }
]

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