Get markets
curl --request GET \
--url https://api.messari.io/metrics/v1/markets \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v1/markets"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v1/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v1/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v1/markets")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v1/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"id": "6071-140-68",
"baseAsset": {
"id": "4515ba15-2719-4183-b0ca-b9255d55b67e",
"name": "USDC",
"slug": "circle-usdc-stablecoin",
"symbol": "USDC"
},
"baseAssetSector": "Stablecoins",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "d8b0ea44-1963-451e-ac37-aead4ba3b4c7",
"name": "Binance",
"slug": "binance"
},
"network": null,
"sectors": [
"Stablecoins"
],
"firstTradeAt": "2018-12-15T04:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 30.9443843000696,
"latestPrice24hOpen": 1.0001146574421833,
"latestPrice24hHigh": 1.00108691224939,
"latestPrice24hLow": 0.998843764114286,
"latestPrice24hClose": 0.9999239113853846,
"premiumDiscount": 0.0008230461030325513,
"volume24h": 4424750740.452992,
"tradeCount24h": 669801
}
},
{
"id": "128-6071-265",
"baseAsset": {
"id": "9034399e-e229-48ca-8ff3-5ea5fc599080",
"name": "Zcash",
"slug": "zcash",
"symbol": "ZEC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "4515ba15-2719-4183-b0ca-b9255d55b67e",
"name": "USDC",
"slug": "circle-usdc-stablecoin",
"symbol": "USDC"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "2b482c0b-592c-47a3-bc24-33c8788feea7",
"name": "Bitrue",
"slug": "bitrue"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2025-12-25T04:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 38.0734001200449,
"latestPrice24hOpen": 827.9676744692978,
"latestPrice24hHigh": 869.2423560257628,
"latestPrice24hLow": 797.7113310026093,
"latestPrice24hClose": 831.2904666889657,
"premiumDiscount": 0.14060152343539953,
"volume24h": 3015111976.3514977,
"tradeCount24h": 4657362
}
},
{
"id": "6057-140-68",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "d8b0ea44-1963-451e-ac37-aead4ba3b4c7",
"name": "Binance",
"slug": "binance"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2017-08-17T05:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 16.929235555820586,
"latestPrice24hOpen": 76941.28223001234,
"latestPrice24hHigh": 80002.3783316743,
"latestPrice24hLow": 76677.26106967995,
"latestPrice24hClose": 79562.31754820744,
"premiumDiscount": 0.040390388297554355,
"volume24h": 2420718629.737021,
"tradeCount24h": 6532330
}
},
{
"id": "6057-140-265",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "2b482c0b-592c-47a3-bc24-33c8788feea7",
"name": "Bitrue",
"slug": "bitrue"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2018-04-05T13:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 29.625395838778573,
"latestPrice24hOpen": 76929.39110455786,
"latestPrice24hHigh": 80001.39812377431,
"latestPrice24hLow": 76681.25144703439,
"latestPrice24hClose": 79552.88805637053,
"premiumDiscount": 0.028533895505518665,
"volume24h": 2346096894.8404427,
"tradeCount24h": 228986
}
},
{
"id": "6057-140-113",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "bd9ed9e8-b95f-43e8-b156-654e62fc556f",
"name": "XT.com",
"slug": "xt-com"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2021-11-02T14:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 28.817619918534813,
"latestPrice24hOpen": 76977.5756650622,
"latestPrice24hHigh": 80001.3881216529,
"latestPrice24hLow": 76681.21144325139,
"latestPrice24hClose": 79552.84972635316,
"premiumDiscount": 0.028485699952403496,
"volume24h": 1429127877.1373124,
"tradeCount24h": 153815
}
}
],
"metadata": {
"pageSize": 10,
"page": 1,
"totalRows": 252802,
"totalPages": 25281
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Markets (included with Enterprise)
Get Markets
Retrieve a list of markets
GET
/
metrics
/
v1
/
markets
Get markets
curl --request GET \
--url https://api.messari.io/metrics/v1/markets \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v1/markets"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v1/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v1/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v1/markets")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v1/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"id": "6071-140-68",
"baseAsset": {
"id": "4515ba15-2719-4183-b0ca-b9255d55b67e",
"name": "USDC",
"slug": "circle-usdc-stablecoin",
"symbol": "USDC"
},
"baseAssetSector": "Stablecoins",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "d8b0ea44-1963-451e-ac37-aead4ba3b4c7",
"name": "Binance",
"slug": "binance"
},
"network": null,
"sectors": [
"Stablecoins"
],
"firstTradeAt": "2018-12-15T04:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 30.9443843000696,
"latestPrice24hOpen": 1.0001146574421833,
"latestPrice24hHigh": 1.00108691224939,
"latestPrice24hLow": 0.998843764114286,
"latestPrice24hClose": 0.9999239113853846,
"premiumDiscount": 0.0008230461030325513,
"volume24h": 4424750740.452992,
"tradeCount24h": 669801
}
},
{
"id": "128-6071-265",
"baseAsset": {
"id": "9034399e-e229-48ca-8ff3-5ea5fc599080",
"name": "Zcash",
"slug": "zcash",
"symbol": "ZEC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "4515ba15-2719-4183-b0ca-b9255d55b67e",
"name": "USDC",
"slug": "circle-usdc-stablecoin",
"symbol": "USDC"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "2b482c0b-592c-47a3-bc24-33c8788feea7",
"name": "Bitrue",
"slug": "bitrue"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2025-12-25T04:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 38.0734001200449,
"latestPrice24hOpen": 827.9676744692978,
"latestPrice24hHigh": 869.2423560257628,
"latestPrice24hLow": 797.7113310026093,
"latestPrice24hClose": 831.2904666889657,
"premiumDiscount": 0.14060152343539953,
"volume24h": 3015111976.3514977,
"tradeCount24h": 4657362
}
},
{
"id": "6057-140-68",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "d8b0ea44-1963-451e-ac37-aead4ba3b4c7",
"name": "Binance",
"slug": "binance"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2017-08-17T05:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 16.929235555820586,
"latestPrice24hOpen": 76941.28223001234,
"latestPrice24hHigh": 80002.3783316743,
"latestPrice24hLow": 76677.26106967995,
"latestPrice24hClose": 79562.31754820744,
"premiumDiscount": 0.040390388297554355,
"volume24h": 2420718629.737021,
"tradeCount24h": 6532330
}
},
{
"id": "6057-140-265",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "2b482c0b-592c-47a3-bc24-33c8788feea7",
"name": "Bitrue",
"slug": "bitrue"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2018-04-05T13:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 29.625395838778573,
"latestPrice24hOpen": 76929.39110455786,
"latestPrice24hHigh": 80001.39812377431,
"latestPrice24hLow": 76681.25144703439,
"latestPrice24hClose": 79552.88805637053,
"premiumDiscount": 0.028533895505518665,
"volume24h": 2346096894.8404427,
"tradeCount24h": 228986
}
},
{
"id": "6057-140-113",
"baseAsset": {
"id": "1e31218a-e44e-4285-820c-8282ee222035",
"name": "Bitcoin",
"slug": "bitcoin",
"symbol": "BTC"
},
"baseAssetSector": "Cryptocurrency",
"quoteAsset": {
"id": "51f8ea5e-f426-4f40-939a-db7e05495374",
"name": "Tether",
"slug": "tether",
"symbol": "USDT"
},
"quoteAssetSector": "Stablecoins",
"exchange": {
"id": "bd9ed9e8-b95f-43e8-b156-654e62fc556f",
"name": "XT.com",
"slug": "xt-com"
},
"network": null,
"sectors": [
"Cryptocurrency",
"Stablecoins"
],
"firstTradeAt": "2021-11-02T14:00:00Z",
"lastTradeAt": "2026-08-25T01:53:00Z",
"isNewMarket": false,
"isRecentlyListed": false,
"liveness": "live",
"metrics": {
"exchangeVolumePercentage24h": 28.817619918534813,
"latestPrice24hOpen": 76977.5756650622,
"latestPrice24hHigh": 80001.3881216529,
"latestPrice24hLow": 76681.21144325139,
"latestPrice24hClose": 79552.84972635316,
"premiumDiscount": 0.028485699952403496,
"volume24h": 1429127877.1373124,
"tradeCount24h": 153815
}
}
],
"metadata": {
"pageSize": 10,
"page": 1,
"totalRows": 252802,
"totalPages": 25281
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}x402 Support: Supported.
See the x402 guide.
Authorizations
Query Parameters
Number of items per page
Example:
10
Number of items per page. Kept for backward compatibility
Page number
Example:
1
Comma-separated list of liveness statuses to filter by. Possible values:
live: The market has had a trade in approximately the last 10 minutes.stale: The market has had a trade in the last 24 hours, but not in the last ~10 minutes.inactive: The market has not had any trades for more than 24 hours.
Example:
"live,stale"
Filter to markets that have had a trade since this date. Accepts RFC3339 (e.g. 2024-01-15T00:00:00Z), YYYY-MM-DD, or a unix timestamp.
Example:
"2024-01-15"

