Historical metrics for asset
GET/v1/metrics/asset/history
Get asset metrics history.
Request
Query Parameters
Metric identifier (from the Metrics -> Listing)
Asset identifier (from the Metadata -> Assets)
Exchange asset identifier
Exchange identifier (from the Metadata -> Exchanges)
Starting time in ISO 8601
Ending time in ISO 8601
If set, returned values will be in unix timestamp format (valid values: unix_sec, unix_millisec, unix_microsec, unix_nanosec)
Identifier of requested timeseries period (e.g. 5SEC
or 2MTH
), default value is 1SEC
Default value: 100
Amount of items to return (optional, mininum is 1, maximum is 100000, default value is 100, if the parameter is used then every 100 output items are counted as one request)
Responses
- 200
successful operation
- text/plain
- application/json
- text/json
- application/x-msgpack
- Schema
- Example (from schema)
Schema
Array [
]
Gets or sets the symbol id.
Gets or sets the time at which the value is recorded.
Gets or sets the value of the metric.
[
{
"symbol_id": "string",
"time": "2024-11-29T10:04:03.479Z",
"value": 0
}
]
- Schema
- Example (from schema)
Schema
Array [
]
Gets or sets the symbol id.
Gets or sets the time at which the value is recorded.
Gets or sets the value of the metric.
[
{
"symbol_id": "string",
"time": "2024-11-29T10:04:03.479Z",
"value": 0
}
]
- Schema
- Example (from schema)
Schema
Array [
]
Gets or sets the symbol id.
Gets or sets the time at which the value is recorded.
Gets or sets the value of the metric.
[
{
"symbol_id": "string",
"time": "2024-11-29T10:04:03.479Z",
"value": 0
}
]
- Schema
- Example (from schema)
Schema
Array [
]
Gets or sets the symbol id.
Gets or sets the time at which the value is recorded.
Gets or sets the value of the metric.
[
{
"symbol_id": "string",
"time": "2024-11-29T10:04:03.479Z",
"value": 0
}
]