> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yehangshe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 股票当日全市场行情

> 分页查看有当日记录的股票，比较盘中开高低收、成交量和成交笔数。

分页查看有当日记录的股票，比较盘中开高低收、成交量和成交笔数。

Pro 和 Pro+ 共用此端点。当前 Key 可用的端点见 `GET /v1/discover`。

## 请求

`GET /v1/stocks/market-ohlc-today`

MCP 命令为 `stocks.market_ohlc_today`。需要 `derived:read` 或 `data-api:read` scope。

`date` 可省略，默认当前美东日期。显式传入时仅接受当前美东日期。

```bash theme={null}
curl -H "Authorization: Bearer $DATA_API_KEY" \
  'https://api.yehangshe.com/v1/stocks/market-ohlc-today?limit=100'
```

## 读懂结果

`stocks` 按 `ticker` 排列。`observed_at` 为该标的源时间。`open_usd`、`high_usd`、`low_usd`、`close_usd` 是当前常规交易时段的四价。盘前尚无常规时段价格时显示 `null`，`volume_shares` 和 `trade_count` 仍可有值。快照覆盖部分成交场所。响应里的时间戳为 UTC。

`total_stocks` 为本次查询总条数，`returned_stocks` 为本页条数。`limit` 默认 400，上限 1000。每页还受响应大小限制。把 `_meta.next_cursor` 传给相同查询的 `cursor`，直到返回 `null`。

一次实际响应中的一条记录如下。

```json theme={null}
{
  "ticker": "A",
  "observed_at": "2026-11-25T09:10:47.297Z",
  "open_usd": null,
  "high_usd": null,
  "low_usd": null,
  "close_usd": null,
  "volume_shares": 61,
  "trade_count": 10
}
```

## 计量

每个成功页 1 unit。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.