Download crypto on-chain data with a single line of code.
chaindl is a lightweight Python library that lets you fetch historical and live on-chain crypto data from multiple
public sources in one step. Whether you want to analyze metrics from Bitcoin, Ethereum, or other chains, chaindl
handles the heavy lifting so you can focus on insights.
- Fetch crypto on-chain data in one line – no need for API keys or complicated setups.
- Fully free – all functionality is available without subscription or payment.
- Ready for analysis – data comes back as a
pandas.DataFrame, so you can immediately manipulate, visualize, or model it.
Documentation: https://chaindl.readthedocs.io/
Complete documentation is available at: https://chaindl.readthedocs.io/
- CheckOnChain
- ChainExposed
- Woocharts
- Bitbo Charts
- Blockchain.com
- Glassnode
- The Block
- Dune
- Bitcoin Magazine Pro
To install the chaindl package, use pip:
pip install chaindlTo download the data of a chart, simply obtain the URL and pass it to the download function
import chaindl
# Download data from a URL
data = chaindl.download("https://charts.checkonchain.com/btconchain/pricing/pricing_picycleindicator/pricing_picycleindicator_light.html")
# Export to CSV
data.to_csv('out.csv')
# Quick Plot
data.plot()For advanced usage and examples with other sources, see the documentation.