LIVE$APIEDCA0x720800690cd81c3319cb0ab9c4f480b659a772d4
APIED
Loading…
Loading prices…

Glassnode

Cost Basis Distribution Heatmap — The Cost Basis Distribution (CBD) Heatmap is a price-versus-time visualization of supply density across cost-basis levels over a specified period (e.g. 1 month, 1 year). The y-axis represents the cost basis on a log scale, set from 1% below the minimum price to 1% above the maximum price within the chosen period, and each pixel's color intensity reflects the conce

Price per call
$0.05
Chain
Base
Method
GET
Paid calls · 30 days
1

Call it from code

This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";

const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });

const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402.glassnode.com/v1/metrics/indicators/cost_basis_distribution_heatmap", { method: "GET" });
console.log(await res.json());

https://x402.glassnode.com/v1/metrics/indicators/cost_basis_distribution_heatmap