---
title: "Index value as-of a past date (Professional+)"
method: GET
path: "/indices/{code}/historical"
tags: ["Indices", "Series"]
---

# Index value as-of a past date (Professional+)

`GET /indices/{code}/historical`

## Request

- Base URL: `https://opnplatform.com/api`
- URL: `https://opnplatform.com/api/indices/{code}/historical`
- Auth: HTTP bearer

Returns the most recent published index value on or before `date` — answers "what was the index when I signed this contract?". Requires Professional plan or above. The date is clamped to plan history depth.

## Path parameters

- `code` string, required

## Query parameters

- `date` string, date

## Response `200`

As-of value

- object

## Other responses

- `403`: Professional plan required

---

[API](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network.md) · [All operations](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/llms.txt) · [OpenAPI document](https://skmtc.dev/opnplatform/apis/packindex-packiq-api-open-packaging-network/revisions/f427c0467bb2?raw)
