# Glassnode x402

> Institutional-grade crypto market and on-chain data for Bitcoin, Ethereum, and
> major assets, served over the x402 payment protocol. Agents pay per request in
> USDC on Base — no API key, no subscription, no account. Discover what is
> available via metadata endpoints, then request the time series you need.

This service mirrors the Glassnode API (`https://api.glassnode.com`) one-to-one at
`https://x402.glassnode.com`. Path, query parameters, and response format are
identical; requests are authorized by payment instead of an API key. The live
`402 Payment Required` challenge is authoritative for the price and accepted
network of any request.

Two endpoint families:

- Metadata (`GET /v1/metadata/*`) — discover assets, metric paths, and the
  supported parameters and allowed values for a metric.
- Metrics (`GET /v1/metrics/{category}/{metric}`) — the time-series data; the
  asset parameter `a` is always required.

Pricing is per request in USDC and is set by the live `402` challenge — always
read it there rather than assuming a fixed price.

## Docs

- [Skill manifest](https://x402.glassnode.com/SKILL.md): full instructions — the
  discover-then-request flow, parameters, error handling, pricing, and the x402
  payment loop.
- [Glassnode endpoint reference](https://docs.glassnode.com/basic-api/endpoints):
  upstream metric paths and semantics.
- [Glassnode metadata reference](https://docs.glassnode.com/basic-api/metadata):
  the metadata catalog this service proxies.
- [Glassnode x402 docs](https://docs.glassnode.com/basic-api/x402): official
  documentation for accessing Glassnode over x402.

## Payments (x402)

- [x402 overview](https://docs.cdp.coinbase.com/x402/welcome): how the payment
  protocol works.
- [x402 Quickstart for Buyers](https://docs.cdp.coinbase.com/x402/quickstart-for-buyers):
  build an x402-aware client that handles the 402 -> sign -> retry loop.
