G

Glassnode · Metadata Metric

by Glassnode

GETBase

$0.01

per call · USD Coin on Base

Metric Metadata — Returns metadata for a single metric: its supported parameters and allowed values, available time range, documentation and Studio links, and descriptors such as name, group, and tags. Requires the path parameter. Data by Glassnode.

Endpoint

GET https://x402.glassnode.com/v1/metadata/metric

7

Calls / 30d

2

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.glassnode.com/v1/metadata/metric", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.glassnode.com/v1/metadata/metric?path=%2Faddresses%2Fcount" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "descriptors": {
    "group": "Addresses",
    "name": "Number of Addresses",
    "tags": [
      "on-chain"
    ]
  },
  "parameters": {
    "a": [
      "BTC",
      "ETH"
    ],
    "f": [
      "csv",
      "json"
    ],
    "i": [
      "24h"
    ]
  },
  "path": "/addresses/count"
}

Payment details

Pay to0x1f81da453901d15296c1710af83e0bc0371d39f1
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Glassnode & similar services