---
title: "ETF 日线行情"
method: GET
path: "/v1/etf/daily"
tags: ["ETF"]
---

# ETF 日线行情

`GET /v1/etf/daily`

## Request

- Base URL: `https://quantsonar.com`
- URL: `https://quantsonar.com/v1/etf/daily`
- Auth: API key in header `X-API-Key`

## Query parameters

- `symbol` string, nullable: 代码原样匹配（ETF/板块/外汇/港股等）
- `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
  - `pre_close` unknown
  - `open` unknown
  - `high` unknown
  - `low` unknown
  - `close` unknown
  - `change` unknown
  - `pct_chg` unknown
  - `vol` unknown
  - `amount` 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)
