Skip to content
OSINTtools.io

Blockchain.com Explorer API

Block explorer for Bitcoin, Ethereum, Solana and Bitcoin Cash with address, transaction and network statistics.

Base URL
https://api.blockchain.info/explorer-gateway-kt
Sign-in
API key
Pricing
Pay per request
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from blockchain.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Blockchain.com Explorer API returns on-chain data for Bitcoin, Bitcoin Cash, Ethereum and Solana: address balances and transactions, transaction details, blocks and charts. An investigator uses it to look at what an address holds and how funds moved.

Every endpoint in the OpenAPI spec is a POST with a JSON body, under https://api.blockchain.info/explorer-gateway-kt. An Explorer API key is optional and goes in the X-Explorer-Auth-Key header; requests without one get the default unauthenticated limits. The spec says each listed endpoint is a paid x402 call at $0.005 per request and returns 402 Payment Required when unpaid.

This reference covers the Bitcoin address and transaction lookups and the Ethereum address lookup. The spec also has Bitcoin Cash, Solana, block, broadcast and chart endpoints.

Quick start

  1. Get a key

    Create an account with Blockchain.com Explorer and copy your api key. Where to get it

  2. Make your first request

    Get a Bitcoin address's balances, UTXO and transaction counts.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/address' \
      -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
      -H 'Content-Type: application/json' \
      -d '{"address":"bc1qexampleaddress0000000000000000000000"}'
  3. Read the response

    A 200 response looks like this.

    {
      "address": "bc1qexampleaddress0000000000000000000000",
      "confirmed": 0,
      "unconfirmed": 0,
      "txCount": 2,
      "received": 0
    }

Authentication

Send your API key in the X-Explorer-Auth-Key header of every request.

Optional; without it the default unauthenticated rate limits apply.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs (default unauthenticated limits apply without a key)

Pricing: pay per request.

Errors

StatusMeaning
402Payment Required: the x402 payment for this call was not made

Bitcoin

Returns confirmed and unconfirmed balances, UTXO data, transaction count and total received for one address.

Request body (JSON) · 1Show

addressstringalways present

Bitcoin address

Response fields · 6Show

addressstring

The address

confirmednumber

Confirmed balance

unconfirmednumber

Unconfirmed balance

utxonumber

UTXO data

txCountinteger

Number of transactions

receivednumber

Total received

curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/address' \
  -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"address":"bc1qexampleaddress0000000000000000000000"}'
Replace YOUR_API_KEY with your key
Response
{
  "address": "bc1qexampleaddress0000000000000000000000",
  "confirmed": 0,
  "unconfirmed": 0,
  "txCount": 2,
  "received": 0
}

List the transactions of a Bitcoin address, paged.

POST/x402/btc/address/transactions

Returns transactions for one address with limit and offset paging.

Request body (JSON) · 3Show

addressstringalways present

Bitcoin address

limitinteger

1 to 50, default 20

offsetinteger

Number of transactions to skip

Response fields · 3Show

transactions[]object

Transactions of the address

limitinteger

Page size used

offsetinteger

Offset used

curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/address/transactions' \
  -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"address":"bc1qexampleaddress0000000000000000000000","limit":20,"offset":0}'
Replace YOUR_API_KEY with your key
Response
{
  "transactions": [],
  "limit": 20,
  "offset": 0
}

Returns block height, mempool state, fee, size and the inputs and outputs of the transaction.

Request body (JSON) · 1Show

txIdstringalways present

Transaction ID

Response fields · 7Show

txIdstring

Transaction ID

blockHeightinteger

Block height, when confirmed

mempoolboolean

Whether the transaction is in the mempool

feenumber

Fee

sizeinteger

Transaction size

inputs[]object

Inputs

outputs[]object

Outputs

curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/transaction' \
  -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"txId":"0000000000000000000000000000000000000000000000000000000000000001"}'
Replace YOUR_API_KEY with your key
Response
{
  "txId": "0000000000000000000000000000000000000000000000000000000000000001",
  "blockHeight": 1,
  "mempool": false,
  "fee": 0,
  "size": 200,
  "inputs": [],
  "outputs": []
}

Batch version of the transaction lookup.

Request body (JSON) · 1Show

txIdsarrayalways present

Transaction IDs, at most 50

Response fields · 1Show

transactions[]object

The requested transactions

curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/btc/transactions' \
  -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"txIds":["0000000000000000000000000000000000000000000000000000000000000001"]}'
Replace YOUR_API_KEY with your key
Response
{
  "transactions": []
}

Ethereum

Returns balance, nonce, transaction count, totals sent and received and a page of transactions.

Request body (JSON) · 4Show

networkstringalways present

Network to query (accepted values are in the spec)

addressstringalways present

Ethereum address

pageinteger

Page number, default 1

sizeinteger

Page size 1 to 50, default 20

Response fields · 8Show

addressstring

The address

balancestring

Balance

nonceinteger

Nonce

transactionCountinteger

Number of transactions

totalSentstring

Total sent

totalReceivedstring

Total received

transactions[]object

Page of transactions

pageinteger

Page returned

curl -X POST 'https://api.blockchain.info/explorer-gateway-kt/x402/eth/address' \
  -H 'X-Explorer-Auth-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"network":"YOUR_NETWORK","address":"0x0000000000000000000000000000000000000001","page":1,"size":20}'
Replace YOUR_API_KEY with your key
Response
{
  "address": "0x0000000000000000000000000000000000000001",
  "balance": "0",
  "nonce": 0,
  "transactionCount": 0,
  "totalSent": "0",
  "totalReceived": "0",
  "transactions": [],
  "page": 1
}