---
title: "实时行情快照"
method: GET
path: "/v1/market/realtime"
tags: ["实时与快讯"]
---

# 实时行情快照

`GET /v1/market/realtime`

## Request

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

每只证券的最新盘中快照，交易时段持续刷新；非交易时段返回上一交易日收盘快照。

## Query parameters

- `symbol` string, nullable: 证券代码，逗号分隔可批量（至多 200 个）；不传返回全市场

## Response `200`

Successful Response

- object[]
  - `symbol` unknown
  - `name` unknown
  - `price` unknown
  - `open` unknown
  - `high` unknown
  - `low` unknown
  - `pre_close` unknown
  - `volume` unknown
  - `amount` unknown
  - `trade_time` unknown
  - `pct_chg` 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)
