> ## 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/index-price-now/{ticker}`

MCP command 为 `stocks.index_price_now`，需要 `derived:read` 或 `data-api:read` scope。

ticker 支持 SPX、VIX、RUT、DJX、XSP、OEX。查询标普 500 指数使用 SPX。

```bash theme={null}
curl -H "Authorization: Bearer $DATA_API_KEY" \
  'https://api.yehangshe.com/v1/stocks/index-price-now/SPX'
```

## 读懂结果

ticker 为指数代码，index\_points 为指数点数，as\_of 为 UTC 时间。例如 SPX 返回 7201.09，表示 7201.09 点。

## 计量

每次成功返回计 1 unit。盘中如需持续接收现金指数的实时点位变化，可使用不消耗月度配额 units 的 [股票逐笔成交与指数点位 WebSocket 推送](https://docs.yehangshe.com/api/streaming/stocks-and-indices.md)。


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