Current metrics for given exchange
GET /v1/metrics/exchange/current
Get current exchange metrics values.
Query Parameters
- metric_id string
The metric identifier (from the Metrics -> Listing)
- exchange_id string required
The exchange identifier (from the Metadata -> Exchanges)
- 200
successful operation
- text/plain
- application/json
- text/json
- application/x-msgpack
- Schema
- Example (from schema)
- Example response
Schema
- Array [
- entry_time date-time
Gets or sets the entry time for the data point.
- recv_time date-time
Gets or sets the received time for the data point.
- exchange_id string nullable
Gets or sets the identifier for the exchange.
- asset_id string nullable
Gets or sets the identifier for the asset.
- symbol_id string nullable
Gets or sets the identifier for the symbol.
- metric_id string nullable
Gets or sets the identifier for the metric.
- value_decimal double nullable
Gets or sets the decimal value for the metric.
- value_text string nullable
Gets or sets the textual representation of the value for the metric.
- value_time date-time nullable
Gets or sets the timestamp value for the metric.
- ]
[
{
"entry_time": "2024-05-10T11:23:43.916Z",
"recv_time": "2024-05-10T11:23:43.916Z",
"exchange_id": "string",
"asset_id": "string",
"symbol_id": "string",
"metric_id": "string",
"value_decimal": 0,
"value_text": "string",
"value_time": "2024-05-10T11:23:43.916Z"
}
]
[
{
"entry_time": "2023-06-16T07:55:07.2787756Z",
"recv_time": "2023-06-16T07:55:07.0010000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE",
"value_decimal": 0.0086
},
{
"entry_time": "2023-06-26T07:05:39.9865633Z",
"recv_time": "2023-06-26T07:05:39.9000000Z",
"exchange_id": "DERIBIT",
"metric_id": "IV_UNDERLYING_PRICE",
"value_decimal": 30743.29
},
{
"entry_time": "2023-06-26T07:05:17.0768012Z",
"recv_time": "2023-06-26T07:05:16.8420000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE_IV",
"value_decimal": 60.77
}
]
- Schema
- Example (from schema)
- Example response
Schema
- Array [
- entry_time date-time
Gets or sets the entry time for the data point.
- recv_time date-time
Gets or sets the received time for the data point.
- exchange_id string nullable
Gets or sets the identifier for the exchange.
- asset_id string nullable
Gets or sets the identifier for the asset.
- symbol_id string nullable
Gets or sets the identifier for the symbol.
- metric_id string nullable
Gets or sets the identifier for the metric.
- value_decimal double nullable
Gets or sets the decimal value for the metric.
- value_text string nullable
Gets or sets the textual representation of the value for the metric.
- value_time date-time nullable
Gets or sets the timestamp value for the metric.
- ]
[
{
"entry_time": "2024-05-10T11:23:43.916Z",
"recv_time": "2024-05-10T11:23:43.916Z",
"exchange_id": "string",
"asset_id": "string",
"symbol_id": "string",
"metric_id": "string",
"value_decimal": 0,
"value_text": "string",
"value_time": "2024-05-10T11:23:43.916Z"
}
]
[
{
"entry_time": "2023-06-16T07:55:07.2787756Z",
"recv_time": "2023-06-16T07:55:07.0010000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE",
"value_decimal": 0.0086
},
{
"entry_time": "2023-06-26T07:05:39.9865633Z",
"recv_time": "2023-06-26T07:05:39.9000000Z",
"exchange_id": "DERIBIT",
"metric_id": "IV_UNDERLYING_PRICE",
"value_decimal": 30743.29
},
{
"entry_time": "2023-06-26T07:05:17.0768012Z",
"recv_time": "2023-06-26T07:05:16.8420000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE_IV",
"value_decimal": 60.77
}
]
- Schema
- Example (from schema)
- Example response
Schema
- Array [
- entry_time date-time
Gets or sets the entry time for the data point.
- recv_time date-time
Gets or sets the received time for the data point.
- exchange_id string nullable
Gets or sets the identifier for the exchange.
- asset_id string nullable
Gets or sets the identifier for the asset.
- symbol_id string nullable
Gets or sets the identifier for the symbol.
- metric_id string nullable
Gets or sets the identifier for the metric.
- value_decimal double nullable
Gets or sets the decimal value for the metric.
- value_text string nullable
Gets or sets the textual representation of the value for the metric.
- value_time date-time nullable
Gets or sets the timestamp value for the metric.
- ]
[
{
"entry_time": "2024-05-10T11:23:43.917Z",
"recv_time": "2024-05-10T11:23:43.917Z",
"exchange_id": "string",
"asset_id": "string",
"symbol_id": "string",
"metric_id": "string",
"value_decimal": 0,
"value_text": "string",
"value_time": "2024-05-10T11:23:43.917Z"
}
]
[
{
"entry_time": "2023-06-16T07:55:07.2787756Z",
"recv_time": "2023-06-16T07:55:07.0010000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE",
"value_decimal": 0.0086
},
{
"entry_time": "2023-06-26T07:05:39.9865633Z",
"recv_time": "2023-06-26T07:05:39.9000000Z",
"exchange_id": "DERIBIT",
"metric_id": "IV_UNDERLYING_PRICE",
"value_decimal": 30743.29
},
{
"entry_time": "2023-06-26T07:05:17.0768012Z",
"recv_time": "2023-06-26T07:05:16.8420000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE_IV",
"value_decimal": 60.77
}
]
- Schema
- Example (from schema)
- Example response
Schema
- Array [
- entry_time date-time
Gets or sets the entry time for the data point.
- recv_time date-time
Gets or sets the received time for the data point.
- exchange_id string nullable
Gets or sets the identifier for the exchange.
- asset_id string nullable
Gets or sets the identifier for the asset.
- symbol_id string nullable
Gets or sets the identifier for the symbol.
- metric_id string nullable
Gets or sets the identifier for the metric.
- value_decimal double nullable
Gets or sets the decimal value for the metric.
- value_text string nullable
Gets or sets the textual representation of the value for the metric.
- value_time date-time nullable
Gets or sets the timestamp value for the metric.
- ]
[
{
"entry_time": "2024-05-10T11:23:43.917Z",
"recv_time": "2024-05-10T11:23:43.917Z",
"exchange_id": "string",
"asset_id": "string",
"symbol_id": "string",
"metric_id": "string",
"value_decimal": 0,
"value_text": "string",
"value_time": "2024-05-10T11:23:43.917Z"
}
]
[
{
"entry_time": "2023-06-16T07:55:07.2787756Z",
"recv_time": "2023-06-16T07:55:07.0010000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE",
"value_decimal": 0.0086
},
{
"entry_time": "2023-06-26T07:05:39.9865633Z",
"recv_time": "2023-06-26T07:05:39.9000000Z",
"exchange_id": "DERIBIT",
"metric_id": "IV_UNDERLYING_PRICE",
"value_decimal": 30743.29
},
{
"entry_time": "2023-06-26T07:05:17.0768012Z",
"recv_time": "2023-06-26T07:05:16.8420000Z",
"exchange_id": "DERIBIT",
"metric_id": "DERIVATIVES_MARK_PRICE_IV",
"value_decimal": 60.77
}
]