curl --request GET \
--url https://api.messari.io/metrics/v1/markets/{marketIdentifier} \
--header 'X-Messari-API-Key: <api-key>'
{
"data": {
"baseAsset": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"symbol": "<string>"
},
"baseAssetSector": "<string>",
"exchange": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"firstTradeAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"isNewMarket": true,
"isRecentlyListed": true,
"lastTradeAt": "2023-11-07T05:31:56Z",
"liveness": "<string>",
"metrics": {
"exchangeVolumePercentage24h": 123,
"latestPrice24hClose": 123,
"latestPrice24hHigh": 123,
"latestPrice24hLow": 123,
"latestPrice24hOpen": 123,
"premiumDiscount": 123,
"tradeCount24h": 123,
"volume24h": 123
},
"network": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"quoteAsset": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"symbol": "<string>"
},
"quoteAssetSector": "<string>",
"sectors": [
"<string>"
]
},
"error": "<string>"
}
Retrieve a specific market
curl --request GET \
--url https://api.messari.io/metrics/v1/markets/{marketIdentifier} \
--header 'X-Messari-API-Key: <api-key>'
{
"data": {
"baseAsset": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"symbol": "<string>"
},
"baseAssetSector": "<string>",
"exchange": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"firstTradeAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"isNewMarket": true,
"isRecentlyListed": true,
"lastTradeAt": "2023-11-07T05:31:56Z",
"liveness": "<string>",
"metrics": {
"exchangeVolumePercentage24h": 123,
"latestPrice24hClose": 123,
"latestPrice24hHigh": 123,
"latestPrice24hLow": 123,
"latestPrice24hOpen": 123,
"premiumDiscount": 123,
"tradeCount24h": 123,
"volume24h": 123
},
"network": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"quoteAsset": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"symbol": "<string>"
},
"quoteAssetSector": "<string>",
"sectors": [
"<string>"
]
},
"error": "<string>"
}
Default response
The response is of type object
.