Skip to content

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/blocksThe newest Bitcoin blocks: height, hash, time, transactions, size, fees and mining pool.
GET/blockchaininfo/blockOne Bitcoin block by hash or height: time, transactions, size, weight, fees, nonce and the price when it was mined.
GET/blockchaininfo/mempoolUnconfirmed Bitcoin transactions waiting in the mempool, with size, fee and value.

blocks

GET/v1/blockchaininfo/blocks

The newest Bitcoin blocks: height, hash, time, transactions, size, fees and mining pool.

scope social:read1 unitcached 1 minpaginated

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
bitsinteger (int64)
feesSatinteger (int64)
hashstring
heightinteger (int64)
merkleRootstring
minedAtstring
minerstring
nonceinteger (int64)
outputSatinteger (int64)
previousHashstring
priceUsdstring
sizeinteger (int64)
subsidySatinteger (int64)
txCountinteger (int64)
urlstring
versioninteger (int64)
weightinteger (int64)
curl "https://api.hoshime.com/v1/blockchaininfo/blocks" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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/block

One 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

id
string
required
Block height such as 840000, block hash (64 hex characters) or a Blockchain.com block URL.
e.g. 840000
tunnel
string
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.
proxy
string
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.
profileId
string
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
bitsinteger (int64)
feesSatinteger (int64)
hashstring
heightinteger (int64)
merkleRootstring
minedAtstring
minerstring
nonceinteger (int64)
outputSatinteger (int64)
previousHashstring
priceUsdstring
sizeinteger (int64)
subsidySatinteger (int64)
txCountinteger (int64)
urlstring
versioninteger (int64)
weightinteger (int64)
curl "https://api.hoshime.com/v1/blockchaininfo/block?id=840000" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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/mempool

Unconfirmed Bitcoin transactions waiting in the mempool, with size, fee and value.

scope social:read1 unitpaginated

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
feeSatinteger (int64)
hashstring
inputCountinteger (int64)
outputCountinteger (int64)
outputSatinteger (int64)
seenAtstring
sizeinteger (int64)
urlstring
weightinteger (int64)
curl "https://api.hoshime.com/v1/blockchaininfo/mempool" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open