latestSwagger 2.02026-08-1274120326.8 KB

3a995f316cda

Index Data V2

Get Latest Ticker Data

This endpoint allows permissioned users to retrieve the latest data point for a ticker/index. Data can be queried by full ticker notation or individual components, allowing for broad or specific searches.

Query Parameter Semantics:

  • ticker: Fully qualified ticker notation in format "{Index}.{Granularity}" (e.g., "OTMS.DAL"). When provided, automatically splits into index and granularity1 components. This is the most specific form.
  • index: The base ticker/index identifier only (e.g., "OTMS"). Use this for broader queries across all granularities of an index.
  • granularity1: The primary granularity dimension (e.g., "USA", "DAL"). Can be used alone or with index.
  • granularity_level: Additional granularity level filtering (e.g., location codes such as XMKT).

Precedence: ticker takes precedence as it's most specific. Individual parameters override components parsed from ticker.

Required Parameters: at least one of (ticker or index) must be provided.

get/v2/index_data/latest

Query parameters

tickerstring

Fully qualified ticker notation (e.g., "OTMS.DAL"), optional

indexstring

Base index identifier (e.g., "OTMS"), optional

granularitystring

Primary granularity (e.g., "DAL"), optional

granularity_levelstring

Granularity level filter (e.g. "XMKT"), optional

Headers

x-api-versionstring

Response

OK

indexstring

The ticker symbol/identifier

granularitystring

Specific granularity item

granularity_levelstring

Granularity level identifier

data_datestring date

Date of the data point

data_valuenumber double

The value for this data point

Example response

[
  {
    "index": "OTMS",
    "granularity": "DAL",
    "granularity_level": "XMKT",
    "data_date": "2025-01-15",
    "data_value": 2.45
  }
]