Indices
Series

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

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.

get/indices/{code}/historical

Request

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

Path parameters

codestring required

Query parameters

datestring date

YYYY-MM-DD; defaults to yesterday

Response

As-of value

object required

Changes

No recorded changes to this operation across all 1 revision of this API.