> ## 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-at-time/{ticker}`

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

`date` 和 `time` 指定美东交易日与时刻，精确到毫秒。支持 SPX、VIX、RUT、DJX、XSP、OEX。

```bash theme={null}
curl -H "Authorization: Bearer $DATA_API_KEY" \
  'https://api.yehangshe.com/v1/stocks/index-at-time/SPX?date=2026-11-24&time=10:30:17.250'
```

## 读懂结果

`requested_at` 是请求时刻，`as_of` 是实际观察时刻，`index_points` 是点位。指数更新间隔因标的而异，两处时间可以不同。响应里的时间戳为 UTC。

一次实际响应的 `data` 字段如下。

```json theme={null}
{
  "ticker": "SPX",
  "requested_at": "2026-11-24T15:30:17.250Z",
  "index_points": 7162.3,
  "as_of": "2026-11-24T15:30:17.000Z"
}
```

## 计量

每次成功响应 1 unit。


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