curl --request GET \
--url https://api.messari.io/metrics/v1/exchanges/metrics \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"datasets": [
{
"slug": "futures-open-interest",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Open Interest",
"slug": "open-interest",
"description": "The open interest for the exchange",
"is_timestamp": false
}
]
},
{
"slug": "futures-volume",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Futures Trade Count",
"slug": "trade-count",
"description": "The number of trades on the exchange across all assets",
"is_timestamp": false
},
{
"name": "Futures Volume (USD)",
"slug": "volume-usd",
"description": "The volume of the exchange across all assets in USD",
"is_timestamp": false
},
{
"name": "Futures Volume Buy (USD)",
"slug": "volume-buy-usd",
"description": "The volume of the exchange across all assets in USD for buy trades",
"is_timestamp": false
},
{
"name": "Futures Volume Sell (USD)",
"slug": "volume-sell-usd",
"description": "The volume of the exchange across all assets in USD for sell trades",
"is_timestamp": false
}
]
},
{
"slug": "volume",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Trade Count",
"slug": "trade-count",
"description": "Trade count during the candle.",
"is_timestamp": false
},
{
"name": "Volume",
"slug": "volume",
"description": "Volume traded during candle.",
"is_timestamp": false
}
]
}
]
}
}Get metric catalog of datasets for exchanges.
curl --request GET \
--url https://api.messari.io/metrics/v1/exchanges/metrics \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"datasets": [
{
"slug": "futures-open-interest",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Open Interest",
"slug": "open-interest",
"description": "The open interest for the exchange",
"is_timestamp": false
}
]
},
{
"slug": "futures-volume",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Futures Trade Count",
"slug": "trade-count",
"description": "The number of trades on the exchange across all assets",
"is_timestamp": false
},
{
"name": "Futures Volume (USD)",
"slug": "volume-usd",
"description": "The volume of the exchange across all assets in USD",
"is_timestamp": false
},
{
"name": "Futures Volume Buy (USD)",
"slug": "volume-buy-usd",
"description": "The volume of the exchange across all assets in USD for buy trades",
"is_timestamp": false
},
{
"name": "Futures Volume Sell (USD)",
"slug": "volume-sell-usd",
"description": "The volume of the exchange across all assets in USD for sell trades",
"is_timestamp": false
}
]
},
{
"slug": "volume",
"granularities": [
"1d",
"1h"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Trade Count",
"slug": "trade-count",
"description": "Trade count during the candle.",
"is_timestamp": false
},
{
"name": "Volume",
"slug": "volume",
"description": "Volume traded during candle.",
"is_timestamp": false
}
]
}
]
}
}