Skip to main content
GET
/
metrics
/
v2
/
networks
/
metrics
Get timeseries metrics catalog
curl --request GET \
  --url https://api.messari.io/metrics/v2/networks/metrics \
  --header 'X-Messari-API-Key: <api-key>'
import requests

url = "https://api.messari.io/metrics/v2/networks/metrics"

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/networks/metrics', 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/networks/metrics",
  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/networks/metrics"

	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/networks/metrics")
  .header("X-Messari-API-Key", "<api-key>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.messari.io/metrics/v2/networks/metrics")

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": {
    "datasets": [
      {
        "slug": "activity",
        "granularities": [
          "1d"
        ],
        "metrics": [
          {
            "name": "Timestamp",
            "slug": "time",
            "description": "Timestamp of the data point.",
            "is_timestamp": true
          },
          {
            "name": "Daily Transactions",
            "slug": "txnCount24Hour",
            "description": "The number of successful and unsuccessful transactions in a day.",
            "is_timestamp": false
          },
          {
            "name": "Daily Active Addresses",
            "slug": "activeAddresses24Hour",
            "description": "The number of new and returning unique wallet addresses that send a transaction in a day.",
            "is_timestamp": false
          },
          {
            "name": "New Contracts Deployed 24 Hour",
            "slug": "newContractsDeployed24Hour",
            "description": "The number of new contracts deployed in a day.",
            "is_timestamp": false
          },
          {
            "name": "Contract Deployers 24 Hour",
            "slug": "contractDeployers24Hour",
            "description": "",
            "is_timestamp": false
          }
        ]
      },
      {
        "slug": "ecosystem",
        "granularities": [
          "1d"
        ],
        "metrics": [
          {
            "name": "Timestamp",
            "slug": "time",
            "description": "Timestamp of the data point.",
            "is_timestamp": true
          },
          {
            "name": "TVL 24 Hour USD",
            "slug": "tvl24HourUsd",
            "description": "Total Value Locked in the network in USD.",
            "is_timestamp": false
          },
          {
            "name": "Ecosystem DEX Volume (USD)",
            "slug": "dexVolume24HourUsd",
            "description": "USD value of all tokens swapped across supported decentralized exchanges (DEXs) on a network.",
            "is_timestamp": false
          },
          {
            "name": "Core Commits 24 Hour",
            "slug": "coreCommits24Hour",
            "description": "Number of code commits to the network's primary repository in the time period.",
            "is_timestamp": false
          },
          {
            "name": "Active Developers 24 Hour",
            "slug": "activeDevelopers24Hour",
            "description": "Number of developers that have made at least one commit to the network's primary repository in the last 30 days.",
            "is_timestamp": false
          }
        ]
      },
      {
        "slug": "financial",
        "granularities": [
          "1d"
        ],
        "metrics": [
          {
            "name": "Timestamp",
            "slug": "time",
            "description": "Timestamp of the data point.",
            "is_timestamp": true
          },
          {
            "name": "Median Transaction Fees",
            "slug": "feeMedian24HourUsd",
            "description": "Median fees paid for processing transactions.",
            "is_timestamp": false
          },
          {
            "name": "Rolling 7D Average Transaction Fees",
            "slug": "rolling7dAvgFees",
            "description": "7 day rolling average of daily total transaction fees.",
            "is_timestamp": false
          },
          {
            "name": "Average Fee Per Transaction",
            "slug": "avgFeePerTxn24Hour",
            "description": "Value of daily Transaction Fees divided by number of Transactions.",
            "is_timestamp": false
          },
          {
            "name": "Fees Total (USD)",
            "slug": "feesTotal24HourUsd",
            "description": "Total fees paid for processing transactions.",
            "is_timestamp": false
          }
        ]
      },
      {
        "slug": "stablecoin",
        "granularities": [
          "1d"
        ],
        "metrics": [
          {
            "name": "Timestamp",
            "slug": "time",
            "description": "Timestamp of the data point.",
            "is_timestamp": true
          },
          {
            "name": "Stablecoin Mints (USD)",
            "slug": "mints24HourUsd",
            "description": "Total stablecoin mints of the network in USD.",
            "is_timestamp": false
          },
          {
            "name": "Stablecoin Burns (USD)",
            "slug": "burns24HourUsd",
            "description": "Total stablecoin burn on the network in USD.",
            "is_timestamp": false
          },
          {
            "name": "Stablecoin Outstanding Supply (USD)",
            "slug": "outstandingSupplyUsd",
            "description": "Total stablecoin outstanding supply of the network in USD.",
            "is_timestamp": false
          },
          {
            "name": "Stablecoin Transfer Volume (USD)",
            "slug": "transferVolumeUsd",
            "description": "Total stablecoin transfer volume of the network in USD.",
            "is_timestamp": false
          }
        ]
      }
    ]
  }
}
{
  "data": "<unknown>",
  "error": "<string>"
}
{
  "data": "<unknown>",
  "error": "<string>"
}
{
  "data": "<unknown>",
  "error": "<string>"
}
x402 Support: Supported. See the x402 guide.

Authorizations

X-Messari-API-Key
string
header
required

Response

Default response

data
object
required
error
string