Skip to content
OSINTtools.io

Blockscout API

Open-source block explorer for EVM chains, with hosted explorers for many networks and a multichain search across them.

Base URL
https://api.blockscout.com
Sign-in
Bearer token
Free tier
Free tier
Pricing
Credits
Format
REST
Endpoints
5

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

Introduction

Blockscout's API covers the blockchain explorers Blockscout runs for many chains. For an address it returns the balance, whether it is a contract, name, ENS name, tags and reputation, its transactions and its token balances; for a transaction it returns the parties, value, fees, decoded input and token transfers.

Requests go to https://api.blockscout.com, with the chain chosen by the chain_id path segment (for example 1). The key is sent as Authorization: Bearer <key> or as an apikey query parameter. Responses carry x-credits-remaining and x-ratelimit-* headers.

The docs list a free plan of 100K credits per day and 5 requests per second, and paid plans at $49 and $199 a month with higher limits. The reference also has CSV export, RPC and Etherscan-style endpoints that are not covered here.

Quick start

  1. Get a key

    Create an account with Blockscout and copy your bearer token (free tier). Where to get it

  2. Make your first request

    Details for an address or contract: balance, name, ENS name, tags, reputation.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "hash": "0x0000000000000000000000000000000000000001",
      "is_contract": false,
      "name": null,
      "ens_domain_name": null,
      "is_scam": false,
      "reputation": "ok",
      "is_verified": null,
      "coin_balance": "1000000000000000000",
      "public_tags": [],
      "has_tokens": true,
      "has_token_transfers": true
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

The docs also accept the key as an apikey query parameter.

Get a key from Blockscout

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

Rate limits and pricing

Free plan: 5 requests per second and 100K credits per day. $49 plan: 15 requests per second. $199 plan: 30 requests per second. Enterprise: custom.

Free tier. Pricing: credits.

Errors

StatusMeaning
403Forbidden, for example an unverified email
404Not found (transaction lookups)
422Unprocessable entity: invalid parameters, with an errors array

Addresses

Returns the native coin balance, whether the address is a contract, its verification and proxy status, creator and creation transaction, token details if it is a token, and public and private tags.

Path parameters

chain_idstringrequired

ID of the blockchain

Example: 1
address_hash_paramstringrequiredtakes your crypto wallet

Address hash: 0x followed by 40 hex characters

Example: 0x0000000000000000000000000000000000000001
Response fields · 13Show

hashstring

Address hash

is_contractboolean

Whether the address has contract code (nullable)

namestring

Name associated with the address (nullable)

ens_domain_namestring

ENS name for the address (nullable)

is_scamboolean

Whether the address has a scam badge

reputationstring

ok or scam

is_verifiedboolean

Whether source code is associated (nullable)

creator_address_hashstring

Creator address (nullable)

creation_transaction_hashstring

Creation transaction hash (nullable)

coin_balancestring

Native coin balance as an integer string (nullable)

labelstring

Public tag label

has_tokensboolean

Whether the address holds tokens

has_token_transfersboolean

Whether the address has token transfers

curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "hash": "0x0000000000000000000000000000000000000001",
  "is_contract": false,
  "name": null,
  "ens_domain_name": null,
  "is_scam": false,
  "reputation": "ok",
  "is_verified": null,
  "coin_balance": "1000000000000000000",
  "public_tags": [],
  "has_tokens": true,
  "has_token_transfers": true
}

Transactions involving an address, optionally only those sent from or to it.

GET/{chain_id}/api/v2/addresses/{address_hash_param}/transactions

Paged list. Use next_page_params from one response as query parameters on the next request.

Path parameters

chain_idstringrequired

ID of the blockchain

Example: 1
address_hash_paramstringrequiredtakes your crypto wallet

Address hash

Example: 0x0000000000000000000000000000000000000001

Query parameters

filterstring

to: only sent to the address; from: only sent from it. Omit for all.

One of: to, from
sortstring

Sort field, use with order

One of: block_number, value, fee
orderstring

Sort direction, use with sort

One of: asc, desc
items_countinteger

Items per page (minimum 1)

Example: 50
Response fields · 11Show

items[]object

Transactions for the address

hashstring

Transaction hash

statusstring

ok or error (nullable)

block_numberinteger

Block number (nullable)

timestampstring

Block timestamp (nullable)

hashstring

Sender address

hashstring

Recipient address

valuestring

Value transferred, integer string

valuestring

Fee, integer string (nullable)

methodstring

Method name or hex method ID (nullable)

next_page_paramsobject

Paging cursor, or null on the last page

curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001/transactions' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "items": [
    {
      "hash": "0x0000000000000000000000000000000000000000000000000000000000000abc",
      "status": "ok",
      "block_number": 100,
      "timestamp": "2024-01-01T00:00:00.000000Z",
      "from": {
        "hash": "0x0000000000000000000000000000000000000001"
      },
      "to": {
        "hash": "0x0000000000000000000000000000000000000002"
      },
      "value": "1000000000000000",
      "fee": {
        "type": "actual",
        "value": "21000000000000"
      },
      "method": "transfer"
    }
  ],
  "next_page_params": null
}

All token balances held by an address (ERC-20, ERC-721, ERC-1155, ERC-404).

GET/{chain_id}/api/v2/addresses/{address_hash_param}/token-balances

Values are in the token's smallest unit: divide by 10^decimals for fungible tokens.

Path parameters

chain_idstringrequired

ID of the blockchain

Example: 1
address_hash_paramstringrequiredtakes your crypto wallet

Address hash

Example: 0x0000000000000000000000000000000000000001
Response fields · 8Show

valuestring

Balance in the token's smallest unit

token_idstring

Token ID for NFTs (nullable)

address_hashstring

Token contract address

namestring

Token name (nullable)

symbolstring

Token symbol (nullable)

decimalsstring

Decimal places (nullable)

typestring

ERC-20, ERC-721, ERC-1155, ERC-404 or ERC-7984

exchange_ratestring

Exchange rate (nullable)

curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001/token-balances' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "value": "5000000",
    "token_id": null,
    "token": {
      "address_hash": "0x0000000000000000000000000000000000000003",
      "name": "Example Token",
      "symbol": "EXT",
      "decimals": "6",
      "type": "ERC-20",
      "exchange_rate": "1.00"
    }
  }
]

Transactions

Details of one transaction by hash.

GET/{chain_id}/api/v2/transactions/{transaction_hash_param}

Returns sender, recipient, value, fee and gas fields, decoded input, token transfers and transaction types.

Path parameters

chain_idstringrequired

ID of the blockchain

Example: 1
transaction_hash_paramstringrequiredtakes your crypto wallet

Transaction hash: 0x followed by 64 hex characters

Example: 0x0000000000000000000000000000000000000000000000000000000000000abc
Response fields · 13Show

hashstring

Transaction hash

resultstring

pending, awaiting_internal_transactions, success, dropped/replaced, or an error message

statusstring

ok or error (nullable)

block_numberinteger

Block number (nullable)

timestampstring

Block timestamp (nullable)

hashstring

Sender address

hashstring

Recipient address

valuestring

Value transferred, integer string

valuestring

Fee, integer string (nullable)

gas_usedstring

Gas used (nullable)

methodstring

Method name or hex method ID (nullable)

token_transfers[]object

Token transfers in the transaction (nullable)

transaction_types[]string

Categories such as coin_transfer, contract_call, token_transfer

curl 'https://api.blockscout.com/1/api/v2/transactions/0x0000000000000000000000000000000000000000000000000000000000000abc' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "hash": "0x0000000000000000000000000000000000000000000000000000000000000abc",
  "result": "success",
  "status": "ok",
  "block_number": 100,
  "timestamp": "2024-01-01T00:00:00.000000Z",
  "from": {
    "hash": "0x0000000000000000000000000000000000000001"
  },
  "to": {
    "hash": "0x0000000000000000000000000000000000000002"
  },
  "value": "1000000000000000",
  "fee": {
    "type": "actual",
    "value": "21000000000000"
  },
  "gas_used": "21000",
  "method": "transfer",
  "transaction_types": [
    "coin_transfer"
  ]
}