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 of stream
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
description of error in natural language, absent in case of successful operation
payload
object[]
nullable
The response data
Published Index Value
Milliseconds since Unix epoch
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.
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.
{
"serverTime": "2024-01-01T09:00:00.000Z",
"error": "string",
"payload": [
{
"value": "string",
"time": 0,
"amendTime": 0,
"repeatOfPreviousValue": true
}
]
}