Skip to content

dhruvan2006/chaindl

Repository files navigation

chaindl

Download crypto on-chain data with a single line of code.

Build Passing Tests Passing PyPI - Version PyPI Downloads GitHub License

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.

Why Use chaindl?

  • 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 boilerplatechaindl handles parsing and formatting, so you spend less time on setup.

Complete documentation is available at: https://chaindl.readthedocs.io/

Supported Websites

Installation

To install the chaindl package, use pip:

pip install chaindl

Quick Start

To 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.