List all protocols
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols"
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/v2/protocols', 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/v2/protocols",
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/v2/protocols"
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/v2/protocols")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols")
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": {
"data": [
{
"id": "1eaf063a-b8dd-4cfb-95dd-a06338565720",
"name": "Tether",
"slug": "tether",
"activity": {
"tvl24HourUsd": 186138616800.32935,
"activeAddresses24Hour": 1074826,
"fees24HourUsd": 14618429.653360274
}
},
{
"id": "9e46405d-d9e8-4dd3-8dc6-0cd2d81ffedc",
"name": "Circle",
"slug": "circle-usdc",
"activity": {
"tvl24HourUsd": 74155146526.96213,
"activeAddresses24Hour": 201947,
"fees24HourUsd": 5993980.1985607445
}
},
{
"id": "675b85dc-85a1-4096-9600-212e90a56e9a",
"name": "Aave",
"slug": "aave",
"activity": {
"tvl24HourUsd": 25655880957.451805,
"activeAddresses24Hour": 3734,
"fees24HourUsd": 946435.4827859957
}
},
{
"id": "3ee3418e-ab75-475c-b153-aeba3752478e",
"name": "Lido DAO",
"slug": "lido-dao",
"activity": {
"tvl24HourUsd": 17831436736.024673,
"activeAddresses24Hour": 612,
"fees24HourUsd": 1442713.8988312965
}
},
{
"id": "8b8a7fe3-65ad-41ed-9a0c-3292d3db50e0",
"name": "Dai",
"slug": "dai",
"activity": {
"tvl24HourUsd": 12724384023.185722,
"activeAddresses24Hour": 31060,
"fees24HourUsd": 134738.51827660613
}
}
],
"metadata": {
"pageSize": 10,
"page": 1,
"totalRows": 214,
"totalPages": 22
}
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Core Protocols
List All Protocols
Returns a complete list of all available protocols supported by Messari, along with core metrics. Protocols aggregate deployments across multiple blockchain networks (e.g., Aave includes V3, V2, and V1 versions).
GET
/
metrics
/
v2
/
protocols
List all protocols
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols"
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/v2/protocols', 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/v2/protocols",
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/v2/protocols"
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/v2/protocols")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols")
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": {
"data": [
{
"id": "1eaf063a-b8dd-4cfb-95dd-a06338565720",
"name": "Tether",
"slug": "tether",
"activity": {
"tvl24HourUsd": 186138616800.32935,
"activeAddresses24Hour": 1074826,
"fees24HourUsd": 14618429.653360274
}
},
{
"id": "9e46405d-d9e8-4dd3-8dc6-0cd2d81ffedc",
"name": "Circle",
"slug": "circle-usdc",
"activity": {
"tvl24HourUsd": 74155146526.96213,
"activeAddresses24Hour": 201947,
"fees24HourUsd": 5993980.1985607445
}
},
{
"id": "675b85dc-85a1-4096-9600-212e90a56e9a",
"name": "Aave",
"slug": "aave",
"activity": {
"tvl24HourUsd": 25655880957.451805,
"activeAddresses24Hour": 3734,
"fees24HourUsd": 946435.4827859957
}
},
{
"id": "3ee3418e-ab75-475c-b153-aeba3752478e",
"name": "Lido DAO",
"slug": "lido-dao",
"activity": {
"tvl24HourUsd": 17831436736.024673,
"activeAddresses24Hour": 612,
"fees24HourUsd": 1442713.8988312965
}
},
{
"id": "8b8a7fe3-65ad-41ed-9a0c-3292d3db50e0",
"name": "Dai",
"slug": "dai",
"activity": {
"tvl24HourUsd": 12724384023.185722,
"activeAddresses24Hour": 31060,
"fees24HourUsd": 134738.51827660613
}
}
],
"metadata": {
"pageSize": 10,
"page": 1,
"totalRows": 214,
"totalPages": 22
}
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Authorizations
Query Parameters
Page number (1-indexed)
Example:
1
Number of results per page
Example:
10
Column to sort by (default: tvl_usd)
Available options:
tvl_usd, active_addresses, fees_usd, fees_supply_side_usd, expenses_usd, dex_volume_usd, borrowed_usd, treasury_usd Sort direction: asc or desc (default: desc)
Available options:
asc, desc ⌘I

