85trust / 100

Metadata Metrics

by Glassnode in Onchain & crypto

x402 APIPassing, checked 10 min ago

Metrics Catalog — Lists all available metric paths. Use the optional filter parameters (asset, exchange, interval, currency, etc.) to narrow the catalog to metrics that support a given combination. Data by Glassnode.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
176 ms typical, 235 ms slowest 5%
Last check
10 min ago
Next check
in 23 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.glassnode.com/v1/metadata/metrics?a=BTC"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.glassnode.com%2Fv1%2Fmetadata%2Fmetrics
const res = await pay("https://x402.glassnode.com/v1/metadata/metrics?a=BTC");
console.log(await res.json());

Example input

{
  "a": "BTC"
}

Example output

{
  "paths": [
    "/addresses/active_count",
    "/addresses/count",
    "/market/price_usd_close"
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
10 min agoPassed402166 ms$0.01
3 h agoPassed402174 ms$0.01
7 h agoPassed402193 ms$0.01
11 h agoPassed402359 ms$0.01
14 h agoPassed402235 ms$0.01
19 h agoPassed402169 ms$0.01
22 h agoPassed402151 ms$0.01
25 h agoPassed402225 ms$0.01
30 h agoPassed402176 ms$0.01