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. - Save and share – easily export data as CSV for offline use, Excel, or reporting.
- Multiple sources supported – from Cryptoquant to CheckOnChain, get all your metrics without juggling different platforms.
- Focus on insights, not boilerplate –
chaindlhandles parsing and formatting, so you spend less time on setup.
Documentation: https://chaindl.readthedocs.io/
Complete documentation is available at: https://chaindl.readthedocs.io/
- CheckOnChain
- ChainExposed
- Woocharts
- Cryptoquant
- Bitbo Charts
- Bitcoin Magazine Pro
- Blockchain.com
- Glassnode
- The Block
- Dune
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 Cryptoquant and other sources, see the documentation.