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_keyparameter orX-Api-Keyheader- 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
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
Export the Python project
Every project exports
strategy.py,market_data.py,brokers.pyandlive.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format. - 3
Plug in Glassnode
Implement the four adapter methods (
account,positions,submit_market_orderand 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
- CryptoQuant API GuideOn-chain and exchange-flow data for crypto traders: reserves, netflows, miner flows, funding and the indicators built on them.
- Santiment API GuideCrypto social, on-chain and development-activity metrics through the SanAPI GraphQL endpoint and the sanpy Python client.
- Coin Metrics API GuideCrypto market and on-chain network data: candles, order books, funding, options and thousands of network metrics.
- Dune API GuideSQL over indexed blockchain data: run or schedule Dune queries and pull their results into a strategy through the Dune API.
Independent guide. AlgoGP is not affiliated with Glassnode. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.