---
title: "指数成分与权重"
method: GET
path: "/v1/indices/index-weight"
tags: ["指数"]
---

# 指数成分与权重

`GET /v1/indices/index-weight`

## Request

- Base URL: `https://quantsonar.com`
- URL: `https://quantsonar.com/v1/indices/index-weight`
- Auth: API key in header `X-API-Key`

## Query parameters

- `symbol` string, nullable: 指数代码（带后缀），如 000300.SH
- `start_date` string, nullable: 起始日期 YYYYMMDD
- `end_date` string, nullable: 结束日期 YYYYMMDD
- `trade_date` string, nullable: 单个交易日 YYYYMMDD（与 start/end 二选一）

## Response `200`

Successful Response

- object[]
  - `symbol` unknown
  - `trade_date` unknown
  - `con_symbol` unknown
  - `con_name` unknown
  - `weight` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/quantsonar/apis/quantsonar-agent-data-api.md) · [All operations](https://skmtc.dev/quantsonar/apis/quantsonar-agent-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quantsonar/apis/quantsonar-agent-data-api/revisions/1457cc05fb2b?raw)
