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, 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, price, market_cap, qtd_addr_greater_0.0, qtd_addr_greater_0.001, qtd_addr_greater_0.01, qtd_addr_greater_0.1, qtd_addr_greater_1.0, qtd_addr_greater_10.0, qtd_addr_greater_100.0, qtd_addr_greater_1000.0, balance_top_50_addresses, balance_top_100_addresses, balance_top_200_addresses, balance_top_500_addresses, balance_top_1000_addresses, balance_top_2000_addresses, balance_top_5000_addresses, mean_fee_vbyte, median_fee_vbyte, max_fee_vbyte, min_fee_vbyte, std_fee_vbyte, STH_supply<1m, STH_supply<2m, STH_supply<3m, STH_supply<4m, STH_supply<5m, STH_supply<6m, STH_supply<1y, STH_supply<2y, STH_supply<4y, total_supply, LTH_supply>1m, LTH_supply>2m, LTH_supply>3m, LTH_supply>4m, LTH_supply>5m, LTH_supply>6m, LTH_supply>1y, LTH_supply>2y, LTH_supply>4y, STH_realized_cap<1m, STH_realized_cap<2m, STH_realized_cap<3m, STH_realized_cap<4m, STH_realized_cap<5m, STH_realized_cap<6m, STH_realized_cap<1y, STH_realized_cap<2y, STH_realized_cap<4y, total_realized_cap, LTH_realized_cap>1m, LTH_realized_cap>2m, LTH_realized_cap>3m, LTH_realized_cap>4m, LTH_realized_cap>5m, LTH_realized_cap>6m, LTH_realized_cap>1y, LTH_realized_cap>2y, LTH_realized_cap>4y, STH_realized_price<1m, STH_realized_price<2m, STH_realized_price<3m, STH_realized_price<4m, STH_realized_price<5m, STH_realized_price<6m, STH_realized_price<1y, STH_realized_price<2y, STH_realized_price<4y, total_realized_price, LTH_realized_price>1m, LTH_realized_price>2m, LTH_realized_price>3m, LTH_realized_price>4m, LTH_realized_price>5m, LTH_realized_price>6m, LTH_realized_price>1y, LTH_realized_price>2y, LTH_realized_price>4y, STH_market_cap<1m, STH_market_cap<2m, STH_market_cap<3m, STH_market_cap<4m, STH_market_cap<5m, STH_market_cap<6m, STH_market_cap<1y, STH_market_cap<2y, STH_market_cap<4y, total_market_cap, LTH_market_cap>1m, LTH_market_cap>2m, LTH_market_cap>3m, LTH_market_cap>4m, LTH_market_cap>5m, LTH_market_cap>6m, LTH_market_cap>1y, LTH_market_cap>2y, LTH_market_cap>4y, STH_mvrv<1m, STH_mvrv<2m, STH_mvrv<3m, STH_mvrv<4m, STH_mvrv<5m, STH_mvrv<6m, STH_mvrv<1y, STH_mvrv<2y, STH_mvrv<4y, total_mvrv, LTH_mvrv>1m, LTH_mvrv>2m, LTH_mvrv>3m, LTH_mvrv>4m, LTH_mvrv>5m, LTH_mvrv>6m, LTH_mvrv>1y, LTH_mvrv>2y, LTH_mvrv>4y, hodl_waves_15d, hodl_waves_1m, hodl_waves_2m, hodl_waves_3m, hodl_waves_4m, hodl_waves_5m, hodl_waves_6m, hodl_waves_1y, hodl_waves_2y, hodl_waves_4y, hodl_waves_>4y.


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.