Tushare ETF Index

1 credits/call
ae_tushare_etf_index

Query the ETF benchmark-index directory, including index identifiers, publishers, base dates, base values and rebalance cycles. Supports index-code, publication-date and base-date filters.

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, indx_name, indx_csname, pub_party_name, pub_date, base_date, bp, adj_circle 额外可选字段: (所有字段均为默认返回,无需指定)—
ts_codestringNo指数代码;使用对应证券或合约的完整代码,保留后缀及前导零。—
pub_datestringNo指数发布日期;日期格式YYYYMMDD,必须为8位数字字符串。—
base_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_etf_index' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "ts_code": "000300.SH"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "adj_circle": "半年",
    "base_date": "20041231",
    "bp": 1000.0,
    "indx_csname": "沪深300",
    "indx_name": "沪深300指数",
    "pub_date": "20050408"
  }
]

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