Historical metrics for symbol
GET/v1/metrics/symbol/history
Get symbol metrics history.
Request
Query Parameters
Metric identifier (from the Metrics -> Listing)
Symbol identifier (from the Metadata -> Symbols)
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)
- Example response
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-12-26T10:04:01.258Z",
"value": 0
}
]
[
{
"time_period_start": "2023-07-03T14:29:02.0000000Z",
"time_period_end": "2023-07-03T14:29:03.0000000Z",
"time_open": "2023-07-03T14:29:02.5699837Z",
"time_close": "2023-07-03T14:29:02.5699837Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 30668.476938
},
{
"time_period_start": "2023-07-03T14:29:03.0000000Z",
"time_period_end": "2023-07-03T14:29:04.0000000Z",
"time_open": "2023-07-03T14:29:03.1076159Z",
"time_close": "2023-07-03T14:29:03.1076159Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 0.05485331
},
{
"time_period_start": "2023-07-03T14:29:04.0000000Z",
"time_period_end": "2023-07-03T14:29:05.0000000Z",
"time_open": "2023-07-03T14:29:04.5792149Z",
"time_close": "2023-07-03T14:29:04.9459786Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 7.0257000000000005
}
]
- Schema
- Example (from schema)
- Example response
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-12-26T10:04:01.259Z",
"value": 0
}
]
[
{
"time_period_start": "2023-07-03T14:29:02.0000000Z",
"time_period_end": "2023-07-03T14:29:03.0000000Z",
"time_open": "2023-07-03T14:29:02.5699837Z",
"time_close": "2023-07-03T14:29:02.5699837Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 30668.476938
},
{
"time_period_start": "2023-07-03T14:29:03.0000000Z",
"time_period_end": "2023-07-03T14:29:04.0000000Z",
"time_open": "2023-07-03T14:29:03.1076159Z",
"time_close": "2023-07-03T14:29:03.1076159Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 0.05485331
},
{
"time_period_start": "2023-07-03T14:29:04.0000000Z",
"time_period_end": "2023-07-03T14:29:05.0000000Z",
"time_open": "2023-07-03T14:29:04.5792149Z",
"time_close": "2023-07-03T14:29:04.9459786Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 7.0257000000000005
}
]
- Schema
- Example (from schema)
- Example response
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-12-26T10:04:01.259Z",
"value": 0
}
]
[
{
"time_period_start": "2023-07-03T14:29:02.0000000Z",
"time_period_end": "2023-07-03T14:29:03.0000000Z",
"time_open": "2023-07-03T14:29:02.5699837Z",
"time_close": "2023-07-03T14:29:02.5699837Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 30668.476938
},
{
"time_period_start": "2023-07-03T14:29:03.0000000Z",
"time_period_end": "2023-07-03T14:29:04.0000000Z",
"time_open": "2023-07-03T14:29:03.1076159Z",
"time_close": "2023-07-03T14:29:03.1076159Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 0.05485331
},
{
"time_period_start": "2023-07-03T14:29:04.0000000Z",
"time_period_end": "2023-07-03T14:29:05.0000000Z",
"time_open": "2023-07-03T14:29:04.5792149Z",
"time_close": "2023-07-03T14:29:04.9459786Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 7.0257000000000005
}
]
- Schema
- Example (from schema)
- Example response
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-12-26T10:04:01.259Z",
"value": 0
}
]
[
{
"time_period_start": "2023-07-03T14:29:02.0000000Z",
"time_period_end": "2023-07-03T14:29:03.0000000Z",
"time_open": "2023-07-03T14:29:02.5699837Z",
"time_close": "2023-07-03T14:29:02.5699837Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 30668.476938
},
{
"time_period_start": "2023-07-03T14:29:03.0000000Z",
"time_period_end": "2023-07-03T14:29:04.0000000Z",
"time_open": "2023-07-03T14:29:03.1076159Z",
"time_close": "2023-07-03T14:29:03.1076159Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 0.05485331
},
{
"time_period_start": "2023-07-03T14:29:04.0000000Z",
"time_period_end": "2023-07-03T14:29:05.0000000Z",
"time_open": "2023-07-03T14:29:04.5792149Z",
"time_close": "2023-07-03T14:29:04.9459786Z",
"first": 0,
"last": 0,
"min": 0,
"max": 0,
"count": 0,
"sum": 7.0257000000000005
}
]