金
Blockchain.com Explorer API
3 endpointsFinance & CryptoGlobalsocial:read
Bitcoin blocks and mempool from the Blockchain.com explorer: recent blocks, one block by height or hash, unconfirmed transactions.
View as Markdown| GET | /blockchaininfo/blocks | The newest Bitcoin blocks: height, hash, time, transactions, size, fees and mining pool. |
| GET | /blockchaininfo/block | One Bitcoin block by hash or height: time, transactions, size, weight, fees, nonce and the price when it was mined. |
| GET | /blockchaininfo/mempool | Unconfirmed Bitcoin transactions waiting in the mempool, with size, fee and value. |
blocks
GET
/v1/blockchaininfo/blocksThe newest Bitcoin blocks: height, hash, time, transactions, size, fees and mining pool.
scope social:read1 unitcached 1 minpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
17 fields
bits | integer (int64) |
feesSat | integer (int64) |
hash | string |
height | integer (int64) |
merkleRoot | string |
minedAt | string |
miner | string |
nonce | integer (int64) |
outputSat | integer (int64) |
previousHash | string |
priceUsd | string |
size | integer (int64) |
subsidySat | integer (int64) |
txCount | integer (int64) |
url | string |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/blockchaininfo/blocks" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/blockchaininfo/blocks", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/blockchaininfo/blocks", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "bits": 0, "feesSat": 0, "hash": "…", "height": 0, "merkleRoot": "…", "minedAt": "2026-11-06T09:41:00Z", "miner": "…", "nonce": 0, "outputSat": 0, "previousHash": "…", "priceUsd": "…", "size": 0, "subsidySat": 0, "txCount": 1280, "url": "https://…", "version": 0, "weight": 0 } ], "meta": { "cached": false, "endpoint": "blocks", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "blockchaininfo", "requestId": "req_2Xb9kQ…", "units": 1 } }
block
GET
/v1/blockchaininfo/blockOne Bitcoin block by hash or height: time, transactions, size, weight, fees, nonce and the price when it was mined.
scope social:read1 unitcached 10 min
Parameters
idstring required | Block height such as 840000, block hash (64 hex characters) or a Blockchain.com block URL. e.g. 840000 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
17 fields
bits | integer (int64) |
feesSat | integer (int64) |
hash | string |
height | integer (int64) |
merkleRoot | string |
minedAt | string |
miner | string |
nonce | integer (int64) |
outputSat | integer (int64) |
previousHash | string |
priceUsd | string |
size | integer (int64) |
subsidySat | integer (int64) |
txCount | integer (int64) |
url | string |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/blockchaininfo/block?id=840000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/blockchaininfo/block?id=840000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/blockchaininfo/block?id=840000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "bits": 0, "feesSat": 0, "hash": "…", "height": 0, "merkleRoot": "…", "minedAt": "2026-11-06T09:41:00Z", "miner": "…", "nonce": 0, "outputSat": 0, "previousHash": "…", "priceUsd": "…", "size": 0, "subsidySat": 0, "txCount": 1280, "url": "https://…", "version": 0, "weight": 0 }, "meta": { "cached": false, "endpoint": "block", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "blockchaininfo", "requestId": "req_2Xb9kQ…", "units": 1 } }
mempool
GET
/v1/blockchaininfo/mempoolUnconfirmed Bitcoin transactions waiting in the mempool, with size, fee and value.
scope social:read1 unitpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
feeSat | integer (int64) |
hash | string |
inputCount | integer (int64) |
outputCount | integer (int64) |
outputSat | integer (int64) |
seenAt | string |
size | integer (int64) |
url | string |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/blockchaininfo/mempool" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/blockchaininfo/mempool", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/blockchaininfo/mempool", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "feeSat": 0, "hash": "…", "inputCount": 1280, "outputCount": 1280, "outputSat": 0, "seenAt": "2026-11-06T09:41:00Z", "size": 0, "url": "https://…", "weight": 0 } ], "meta": { "cached": false, "endpoint": "mempool", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "blockchaininfo", "requestId": "req_2Xb9kQ…", "units": 1 } }