# Blockscout API reference

> 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…

Source: https://osinttools.io/apis/blockscout/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/blockscout/

- Base URL: https://api.blockscout.com
- Authentication: Bearer token in the `Authorization` header. Get a key: https://docs.blockscout.com/devs/dev-portal.md The docs also accept the key as an apikey query parameter.
- Free tier: yes
- Pricing: Credits
- Rate limits: 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.
- Vendor docs: https://docs.blockscout.com/

## Overview

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.

## Errors

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

## Addresses

### Details for an address or contract: balance, name, ENS name, tags, reputation.

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

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `chain_id` | path | string | yes | ID of the blockchain Example: 1 |
| `address_hash_param` | path | string | yes | Address hash: 0x followed by 40 hex characters Example: 0x0000000000000000000000000000000000000001 |

Response fields:

- `hash` (string): Address hash
- `is_contract` (boolean): Whether the address has contract code (nullable)
- `name` (string): Name associated with the address (nullable)
- `ens_domain_name` (string): ENS name for the address (nullable)
- `is_scam` (boolean): Whether the address has a scam badge
- `reputation` (string): ok or scam
- `is_verified` (boolean): Whether source code is associated (nullable)
- `creator_address_hash` (string): Creator address (nullable)
- `creation_transaction_hash` (string): Creation transaction hash (nullable)
- `coin_balance` (string): Native coin balance as an integer string (nullable)
- `public_tags[].label` (string): Public tag label
- `has_tokens` (boolean): Whether the address holds tokens
- `has_token_transfers` (boolean): Whether the address has token transfers

```bash
curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "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`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `chain_id` | path | string | yes | ID of the blockchain Example: 1 |
| `address_hash_param` | path | string | yes | Address hash Example: 0x0000000000000000000000000000000000000001 |
| `filter` | query | string | no | to: only sent to the address; from: only sent from it. Omit for all. One of: to, from |
| `sort` | query | string | no | Sort field, use with order One of: block_number, value, fee |
| `order` | query | string | no | Sort direction, use with sort One of: asc, desc |
| `items_count` | query | integer | no | Items per page (minimum 1) Example: 50 |

Response fields:

- `items[]` (object): Transactions for the address
- `items[].hash` (string): Transaction hash
- `items[].status` (string): ok or error (nullable)
- `items[].block_number` (integer): Block number (nullable)
- `items[].timestamp` (string): Block timestamp (nullable)
- `items[].from.hash` (string): Sender address
- `items[].to.hash` (string): Recipient address
- `items[].value` (string): Value transferred, integer string
- `items[].fee.value` (string): Fee, integer string (nullable)
- `items[].method` (string): Method name or hex method ID (nullable)
- `next_page_params` (object): Paging cursor, or null on the last page

```bash
curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001/transactions' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "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`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `chain_id` | path | string | yes | ID of the blockchain Example: 1 |
| `address_hash_param` | path | string | yes | Address hash Example: 0x0000000000000000000000000000000000000001 |

Response fields:

- `[].value` (string): Balance in the token's smallest unit
- `[].token_id` (string): Token ID for NFTs (nullable)
- `[].token.address_hash` (string): Token contract address
- `[].token.name` (string): Token name (nullable)
- `[].token.symbol` (string): Token symbol (nullable)
- `[].token.decimals` (string): Decimal places (nullable)
- `[].token.type` (string): ERC-20, ERC-721, ERC-1155, ERC-404 or ERC-7984
- `[].token.exchange_rate` (string): Exchange rate (nullable)

```bash
curl 'https://api.blockscout.com/1/api/v2/addresses/0x0000000000000000000000000000000000000001/token-balances' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "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}`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `chain_id` | path | string | yes | ID of the blockchain Example: 1 |
| `transaction_hash_param` | path | string | yes | Transaction hash: 0x followed by 64 hex characters Example: 0x0000000000000000000000000000000000000000000000000000000000000abc |

Response fields:

- `hash` (string): Transaction hash
- `result` (string): pending, awaiting_internal_transactions, success, dropped/replaced, or an error message
- `status` (string): ok or error (nullable)
- `block_number` (integer): Block number (nullable)
- `timestamp` (string): Block timestamp (nullable)
- `from.hash` (string): Sender address
- `to.hash` (string): Recipient address
- `value` (string): Value transferred, integer string
- `fee.value` (string): Fee, integer string (nullable)
- `gas_used` (string): Gas used (nullable)
- `method` (string): 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

```bash
curl 'https://api.blockscout.com/1/api/v2/transactions/0x0000000000000000000000000000000000000000000000000000000000000abc' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "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"
  ]
}
```

## Search

### Search tokens, addresses, contracts, blocks and transactions by identifier.

`GET /{chain_id}/api/v1/search`

- Takes: Crypto wallet
- Footprint: passive (the target is not contacted)

Results are ordered by relevance, at most 50 per page. Paging uses next_page_params.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `chain_id` | path | string | yes | ID of the blockchain Example: 1 |
| `q` | query | string | no | Search query Example: 0x0000000000000000000000000000000000000001 |

Response fields:

- `items[]` (object): Matched search results
- `next_page_params` (object): Paging parameters for the next page (nullable)

```bash
curl 'https://api.blockscout.com/1/api/v1/search' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "type": "address",
      "address_hash": "0x0000000000000000000000000000000000000001"
    }
  ],
  "next_page_params": null
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
