Get market
curl --request GET \
--url https://api.messari.io/metrics/v1/markets/{marketIdentifier} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v1/markets/{marketIdentifier}"
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/{marketIdentifier}', 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/{marketIdentifier}",
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/{marketIdentifier}"
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/{marketIdentifier}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v1/markets/{marketIdentifier}")
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": "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
}
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Markets (included with Enterprise)
Get Market
Retrieve a specific market
GET
/
metrics
/
v1
/
markets
/
{marketIdentifier}
Get market
curl --request GET \
--url https://api.messari.io/metrics/v1/markets/{marketIdentifier} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v1/markets/{marketIdentifier}"
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/{marketIdentifier}', 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/{marketIdentifier}",
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/{marketIdentifier}"
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/{marketIdentifier}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v1/markets/{marketIdentifier}")
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": "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
}
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}x402 Support: Supported.
See the x402 guide.

