Skip to content
OSINTtools.io

BlockCypher API

Block explorer and REST API for Bitcoin, Ethereum, Litecoin, Dogecoin and Dash addresses, transactions and blocks.

Base URL
https://api.blockcypher.com/v1
Sign-in
No key
Free tier
Free tier
Format
REST, Streaming
Endpoints
5

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

Introduction

The BlockCypher API returns blockchain data over HTTP: balances and transaction references of an address, full transaction records, single transactions and blocks. It supports Bitcoin and several other chains (Litecoin, Dash, Dogecoin and a test chain). Ethereum has a separate API with its own docs. An investigator uses it to follow coins between addresses.

Calls go to https://api.blockcypher.com/v1/$COIN/$CHAIN; Bitcoin mainnet is btc/main. The docs say GET requests need no token; a token URL parameter is needed for POST and DELETE calls, confidence lookups, webhooks and payments. Values are always in satoshis, the smallest unit of each coin.

This reference shows Bitcoin mainnet. Several identifiers can be batched with semicolons (up to 100). Free-tier limits are listed in the rate limit field.

Quick start

  1. No key needed

    The BlockCypher API answers without an account or key.

  2. Make your first request

    Balance and transaction counts of a Bitcoin address, without transaction details.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX/balance'
  3. Read the response

    A 200 response looks like this.

    {
      "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
      "total_received": 5000000,
      "total_sent": 3000000,
      "balance": 2000000,
      "unconfirmed_balance": 0,
      "final_balance": 2000000,
      "n_tx": 4,
      "unconfirmed_n_tx": 0,
      "final_n_tx": 4
    }

Authentication

No key or account: every endpoint answers without one.

GET requests need no token; an optional token query parameter raises limits and is needed for POST/DELETE, webhooks and confidence lookups.

Rate limits and pricing

Free tier: up to 3 requests per second and 100 per hour for classic requests; 10 confidence lookups per hour. Hourly limits reset at the top of the hour UTC; exceeding a limit returns 429.

Free tier.

Errors

StatusMeaning
429Rate limit exceeded

Addresses

Returns the Address object without transaction details. omitWalletAddresses only matters when querying a Wallet or HDWallet.

Path parameters

addressstringrequiredtakes your crypto wallet

Bitcoin address

Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX

Query parameters

omitWalletAddressesboolean

Only relevant for Wallets and HDWallets

Example: false
Response fields · 9Show

addressstring

The address

total_receivedinteger

Total satoshis received

total_sentinteger

Total satoshis sent

balanceinteger

Confirmed balance in satoshis

unconfirmed_balanceinteger

Unconfirmed balance in satoshis

final_balanceinteger

Balance including unconfirmed transactions

n_txinteger

Confirmed transaction count

unconfirmed_n_txinteger

Unconfirmed transaction count

final_n_txinteger

Transaction count including unconfirmed

curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX/balance'
No key needed
Response
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "total_received": 5000000,
  "total_sent": 3000000,
  "balance": 2000000,
  "unconfirmed_balance": 0,
  "final_balance": 2000000,
  "n_tx": 4,
  "unconfirmed_n_tx": 0,
  "final_n_tx": 4
}

Returns the balance fields plus txrefs and unconfirmed_txrefs, each pointing at a transaction input or output. Page with before when hasMore is true.

Path parameters

addressstringrequiredtakes your crypto wallet

Bitcoin address

Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX

Query parameters

unspentOnlyboolean

Return only unspent outputs

Example: false
includeScriptboolean

Include raw scripts in the references

Example: false
includeConfidenceboolean

Include the confidence attribute

Example: false
beforeinteger

Only references before this block height

Example: 800000
afterinteger

Only references after this block height

Example: 700000
limitinteger

Maximum references returned; maximum 2000

Example: 200Default: 200
confirmationsinteger

Minimum confirmations

Example: 1
confidenceinteger

Minimum confidence percentage

Example: 90
Response fields · 15Show

addressstring

The address

balanceinteger

Confirmed balance in satoshis

final_balanceinteger

Balance including unconfirmed

n_txinteger

Confirmed transaction count

tx_hashstring

Transaction hash

block_heightinteger

Block height

tx_input_ninteger

Input index, or -1 for an output

tx_output_ninteger

Output index, or -1 for an input

valueinteger

Value in satoshis

ref_balanceinteger

Address balance after this reference

spentboolean

Whether the output is spent

confirmationsinteger

Confirmations

double_spendboolean

Whether a double spend was detected

hasMoreboolean

More references exist; page with before

tx_urlstring

Base URL for transaction lookups

curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX'
No key needed
Response
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "balance": 2000000,
  "final_balance": 2000000,
  "n_tx": 4,
  "txrefs": [
    {
      "tx_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "block_height": 700001,
      "tx_input_n": -1,
      "tx_output_n": 0,
      "value": 2000000,
      "ref_balance": 2000000,
      "spent": false,
      "confirmations": 100,
      "double_spend": false
    }
  ],
  "hasMore": false,
  "tx_url": "https://api.blockcypher.com/v1/btc/main/txs/"
}

Returns the balance fields plus txs, full transaction records with inputs and outputs. Page with before when hasMore is true.

Path parameters

addressstringrequiredtakes your crypto wallet

Bitcoin address

Example: 1ExampleAddressXXXXXXXXXXXXXXXXXXX

Query parameters

beforeinteger

Only transactions before this block height

Example: 800000
afterinteger

Only transactions after this block height

Example: 700000
limitinteger

Transactions returned; default 10, maximum 50

Example: 10Default: 10
txlimitinteger

Cap on inputs and outputs returned per transaction

Example: 20
confirmationsinteger

Minimum confirmations

Example: 1
includeHexboolean

Include the raw hex-encoded transaction

Example: falseDefault: false
Response fields · 14Show

addressstring

The address

balanceinteger

Confirmed balance in satoshis

n_txinteger

Confirmed transaction count

hashstring

Transaction hash

block_heightinteger

Block height

addresses[]string

Addresses involved

totalinteger

Total output value in satoshis

feesinteger

Fees in satoshis

confirmedstring

Time of confirmation

receivedstring

Time first seen

double_spendboolean

Whether a double spend was detected

inputs[]object

Transaction inputs

outputs[]object

Transaction outputs

hasMoreboolean

More transactions exist; page with before

curl 'https://api.blockcypher.com/v1/btc/main/addrs/1ExampleAddressXXXXXXXXXXXXXXXXXXX/full'
No key needed
Response
{
  "address": "1ExampleAddressXXXXXXXXXXXXXXXXXXX",
  "balance": 2000000,
  "n_tx": 1,
  "txs": [
    {
      "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "block_height": 700001,
      "addresses": [
        "1ExampleAddressXXXXXXXXXXXXXXXXXXX"
      ],
      "total": 2000000,
      "fees": 1000,
      "confirmed": "2024-01-01T00:00:00Z",
      "received": "2024-01-01T00:00:00Z",
      "double_spend": false,
      "inputs": [],
      "outputs": []
    }
  ],
  "hasMore": false
}

Transactions and blocks

Returns the transaction record. block_height is -1 while unconfirmed.

Path parameters

hashstringrequiredtakes your crypto wallet

Transaction hash

Example: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Response fields · 13Show

hashstring

Transaction hash

block_heightinteger

Block height; -1 if unconfirmed

block_hashstring

Hash of the containing block

addresses[]string

Addresses involved

totalinteger

Total output value in satoshis

feesinteger

Fees in satoshis

sizeinteger

Size in bytes

vsizeinteger

Virtual size

confirmationsinteger

Confirmations

confirmedstring

Time of confirmation

double_spendboolean

Whether a double spend was detected

inputs[]object

Transaction inputs

outputs[]object

Transaction outputs

curl 'https://api.blockcypher.com/v1/btc/main/txs/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
No key needed
Response
{
  "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "block_height": 700001,
  "block_hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "addresses": [
    "1ExampleAddressXXXXXXXXXXXXXXXXXXX"
  ],
  "total": 2000000,
  "fees": 1000,
  "size": 225,
  "vsize": 225,
  "confirmations": 100,
  "confirmed": "2024-01-01T00:00:00Z",
  "double_spend": false,
  "inputs": [],
  "outputs": []
}

Block details by hash or height.

GET/btc/main/blocks/{block}

  • Passive: the target is not contacted

Returns the block with its first transaction hashes; page through them with txstart and limit. A block height is only a safe identifier when the block's depth is above 10.

Path parameters

blockstringrequired

Block hash or height

Example: 700000

Query parameters

txstartinteger

Return transaction hashes after this index

Example: 0
limitinteger

Transaction hashes returned; maximum 500

Example: 20
Response fields · 13Show

hashstring

Block hash

heightinteger

Block height

depthinteger

Confirmations of the block

chainstring

Chain name

totalinteger

Total value in satoshis

feesinteger

Fees in satoshis

sizeinteger

Size in bytes

timestring

Block time

n_txinteger

Transaction count

prev_blockstring

Previous block hash

mrkl_rootstring

Merkle root

txids[]string

Transaction hashes (first 20 by default)

next_txidsstring

URL of the next page of transaction hashes

curl 'https://api.blockcypher.com/v1/btc/main/blocks/700000'
No key needed
Response
{
  "hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "height": 700000,
  "depth": 100,
  "chain": "BTC.main",
  "total": 100000000,
  "fees": 50000,
  "size": 1000000,
  "time": "2024-01-01T00:00:00Z",
  "n_tx": 2,
  "prev_block": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
  "mrkl_root": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
  "txids": [
    "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  ]
}