API to download data

  • With a valid API key and subscription, you can download the raw data via GET requests;

  • Your API key is found at the My Account section.

  • You can purchase a subscription or add more days to a existing one at the Subscribe section.


Data


  • We are constantly adding new data and metrics to our database, and the currently available data is organized into the following columns, indexed by block_height:

  • 'datetime', 'block_size', 'bits', 'heights', 'difficulty', 'interval', 'date', 'qty_blocks_found_24h', 'qty_blocks_expect_24h', 'hashrate', 'revenue', 'fee', 'tx_count', 'output_value', 'output_count', 'input_value', 'input_count', 'subsidy', 'coins', 'miner', 'price'.


Parameters

  • api_key: your API key;

  • start_block: integer starting block height;

  • end_block: integer ending block height.


Examples

  • https://bitcoinisdata.com/api/get_data?api_key=XXXXXXXXXXXXXXXXXXXXXX : download data from the default block height 800,000 onwards;

  • https://bitcoinisdata.com/api/get_data?api_key=XXXXXXXXXXXXXXXXXXXXXX&start_block=600000 : download data from the block height 600,000 onwards;

  • https://bitcoinisdata.com/api/get_data?api_key=XXXXXXXXXXXXXXXXXXXXXX&start_block=600000&end_block=650000 : download data between the block heights 600,000 and 650,000.