Skip to main content

Get recent published Index values

GET 

/api/v1/values

Will return the most recent values in ascending order of time (1 hour for RTIs and 1 year for RRs).

In exceptional circumstances index values may be delayed or amended after publication. In such cases cases, the value object may also contain either of the following two fields: amendTime or repeatOfPreviousValue.

Request

Query Parameters

    id stringrequired

    ID of stream

Responses

successful operation

Schema

    serverTime date-time
    error stringnullable

    description of error in natural language, absent in case of successful operation

    payload

    object[]

    nullable

    The response data

  • Array [

  • value string

    Published Index Value

    time int64

    Milliseconds since Unix epoch

    amendTime int64

    If the value has been amended after being previously published, this field indicates the time of the amendment in milliseconds since Unix epoch. If no amendment has been made, the field will be absent.

    repeatOfPreviousValue boolean

    If an error has occurred during calculation such that an index value could not be calculated for that day, and it has been replaced with the value from the previous day, this boolean field will exist, and will be true. If no such error has occurred, the field will be absent.

  • ]

Loading...