Guide
Market dataOn-chainCrypto API key

Glassnode API guide

On-chain data can add a signal price alone does not have, such as coins flowing onto exchanges ahead of selling.

Last verified · Also known as Glassnode API, Glassnode Studio

Quick answer

Glassnode’s API exposes thousands of on-chain and derivatives metrics (exchange net flows, SOPR, MVRV, realized cap, holder cohorts, funding) as time series by asset and resolution. Requests carry an api_key parameter, and API access comes with Professional plans. For backtests, be careful with metrics that are revised as clustering heuristics improve.

Glassnode API at a glance

Pricing
API on Professional plans and above
Availability
Worldwide
Paper trading
Not applicable (data only)
Integration type
REST + API key
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
Auth
api_key parameter or X-Api-Key header
Shape
/v1/metrics/{category}/{metric}?a=BTC&i=24h
Access
Professional plan with API add-on

On-chain data and look-ahead bias

Build a Glassnode strategy with AlgoGP

AlgoGP does not connect to Glassnode natively yet. Glassnode uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Glassnode

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Glassnode’s SDK, or keep a built-in platform for paper trading and add Glassnode when you go live.

Built-in data sources for the same markets: Alpaca, Binance, Coinbase Exchange, Yahoo Finance.

Glassnode API: frequently asked questions

Is there a free Glassnode API?

API access requires a Professional plan; Studio has free charts.

Design and backtest your Glassnode strategy first

AlgoGP turns an idea into Python and tests it on years of history before you connect it to Glassnode. The exported code keeps the broker behind four small adapter methods.

  • AI copilot writes and revises the rules
  • Backtests with realistic costs
  • Exported Python ready to wire to Glassnode

Free plan, no card required.

Glassnode alternatives

Independent guide. AlgoGP is not affiliated with Glassnode. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.

Build a strategy