Basically, how does a site like bitcoincharts.com gather its statistics? I like coding in python if you want to offer code examples.

  • Welcome to Bitcoin.stackexchange! Your question is probably too inspecific to get a very good answer. You're best to start by stating what your end goal is, such as a chart of price history, and then asking a question on how to get there. – Highly Irregular Aug 16 '12 at 3:19

BitcoinCharts doesn't show much from the bitcoin network. The market data comes from the exchanges.

Bitcoin Charts shares freely their markets and trade history data:

The original source for the data is accessed from the exchanges themselves. Most exchanges do share their data but the API methods are not standard nor consistent between exchanges.

As far as statistics on the blockchain data, the method will vary on which statistic you are trying to get at as some are stored (confirmed transactions), and others are not (e.g., memory pool contents, double spend transaction attempts, etc.)

If you like python, then Armory provides access to the blockchain. See the Sample Armory code in the extras::

    Your Answer

    By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

    Not the answer you're looking for? Browse other questions tagged or ask your own question.