Get latest values
GET/api/v1/latest_values
Request
Query Parameters
ID(s) of stream, may contain up to 30 different IDs, separated by commas
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
description of error in natural language, absent in case of successful operation
payload
object
nullable
The response data
latest_values
object
Latest value by ID
property name*
LatestValue
Latest value by ID
Most recently published index value
Milliseconds since Unix epoch of value
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": {
"latest_values": {
"BRR": {
"time": 1599750000000,
"value": "10437.33"
},
"BRTI": {
"time": 1599814290000,
"value": "10291.07"
}
}
}
}