Blockchain Explorer - Search The Blockchain
The Blockchain Charts & Statistics API provides a simple interface to programmatically interact with the charts and statistics displayed on blockchain.data.
Preamble
Date parameters are represented as YYYY-MM-DDThh:mm:ss or YYYY-MM-DD. The timezone is UTC. Durations are represented by concatenating the variety of time units and the time unit it represents (for example '1year', '3months', etc..). Available time units are: minute, hour, day, week and yr.
Charts API
Get the information behind Blockchain's charts
This technique can be utilized to get and manipulate information behind Blockchain.com's charts.
URL:https://api.blockchain.information/charts/$chartName?timespan=$timespan&rollingAverage=$rollingAverage&start=$begin&format=$format&sampled=$sampled
Method:GET
Instance:https://api.blockchain.information/charts/transactions-per-second?timespan=5weeks&rollingAverage=8hours&format=json
$timespan - Duration of the chart, default is 1 12 months for most charts, 1 week for create your own coin mempool charts. (Optionally available)
$rollingAverage - Duration over which the info needs to be averaged. (Non-compulsory)
$start - Datetime at which to start out the chart. (Non-compulsory)
$format - Both JSON or CSV, defaults to JSON. (Non-obligatory)
$sampled - Boolean set to 'true' or 'false' (default 'true'). If true, limits the number of datapoints returned to ~1.5k for efficiency reasons. (Optional)
Please notice that values for charts will be represented in scientific notation (14,627,seven hundred is represented as 1.46277E7)
Response:200 Okay, application/json
"status": "ok", "name": "Confirmed Transactions Per Day", "unit": "Transactions", "interval": "day", "description": "The number of every day confirmed Bitcoin transactions.", "values": [ "x": 1442534400, "y": 188330 , "..." ]
Response:200 Okay, text/csv; charset=ascii
2015-09-18 00:00:00,188330.0
2015-09-19 00:00:00,117999.0
2015-09-20 00:00:00,105933.0
Stats API
Get the information behind Blockchain's stats
This methodology can be used to get and manipulate information behind Blockchain.com's stats.
URL:https://api.blockchain.info/stats
Technique:GET
Example:https://api.blockchain.information/stats
Response:200 Ok, utility/json
"market_worth_usd": 610.036975, "hash_rate": 1841098926.6292908, "complete_charges_btc": 6073543165, "n_btc_mined": 205000000000, "n_tx": 233805, "n_blocks_mined": 164, "minutes_between_blocks": 8.2577, "totalbc": 1587622500000000, "n_blocks_whole": 430098, "estimated_transaction_volume_usd": 123429768.68108143, "blocks_dimension": 117490685, "miners_revenue_usd": 1287626.6577490852, "nextretarget": 431423, "issue": 225832872179, "estimated_btc_despatched": 20233161880242, "miners_revenue_btc": 2110, "complete_btc_despatched": 184646388663542, "commerce_quantity_btc": 21597.09997288, "trade_volume_usd": 13175029.536228297, "timestamp": 1474035340000
Pools API
Get the data behind Blockchain's swimming pools data
This methodology can be used to get and manipulate information behind Blockchain.com's swimming pools info.
URL:https://api.blockchain.data/swimming pools?timespan=$timespan
Method:GET
Instance:https://api.blockchain.info/pools?timespan=5days
$timespan - Duration over which the info is computed, maximum 10 days, default is four days. (Optionally available)
Response:200 Ok, application/json
"GHash.IO": 7, "95.128.48.209": 1, "NiceHash Solo": 1, "Solo CKPool": 2, "176.9.31.178": 1, "1Hash": 11, "217.11.225.189": 1, "Unknown": 10, "BitClub Network": 23, "Telco 214": 5, "HaoBTC": 29, "GBMiners": 2, "SlushPool": 44, "91.220.131.39": 1, "Kano CKPool": 13, "BTCC Pool": 74, "60.205.107.55": 1, "BitMinter": 1, "BitFury": 58, "AntPool": 87, "F2Pool": 104, "ViaBTC": 54, "BW.COM": 77, "BTC.com": 2, "47.89.51.25": 1, "74.118.157.122": 2
You’ve considered it, now it’s time.
Create a Wallet. Sign up for the Change. Buy Bitcoin in minutes.