# Blockscout Block Transactions Endpoint

> Blockscout Block Transactions Endpoint is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-12).

Retrieves all transactions contained within a specific block on a given blockchain network, identified by block hash or number

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/blocks/%7Bblock_hash_or_number_param%7D/transactions
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-block-transactions-endpoint-89a64d3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pH6e-5KLuyXK4tyL9JFYz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockscout-block-transactions-endpoint-89a64d3d
```

Example prompt: Can you pull all the transactions from block 21500000 on Ethereum using Blockscout's multichain explorer?

## When to prefer this

Use this endpoint when you need to enumerate all transactions within a specific block on any supported EVM-compatible chain. Prefer this over address-based transaction lookups when the unit of analysis is the block itself rather than a specific address or token. Particularly useful for block-level audits, MEV analysis, or reconstructing chain state at a specific height. The multichain support via chain_id makes it ideal for cross-chain tooling without needing separate explorer integrations per network.

## Known failure modes

- Invalid chain_id returns 404 or empty results
- Non-existent block hash or number returns 404
- Malformed block hash format causes 400 bad request
- Pagination parameters out of range return empty items array
- Rate limiting or payment failure returns 402 or 429
- Truncated response if block has very high transaction count — requires pagination

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a paginated list of transactions in the specified block, each containing: transaction hash, from/to addresses (with ENS names, tags, contract status, reputation), fee breakdown, gas used/limit/price, transaction status, decoded input data, token transfers (with token metadata), timestamp, nonce, position in block, confirmations count, and chain-specific metadata (e.g. Arbitrum L1/L2 gas breakdown, batch number).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      },
      "block_hash_or_number_param": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "type": {
       "type": "string"
      },
      "index": {
       "type": "integer"
      },
      "items_count": {
       "type": "integer"
      },
      "block_number": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "to": {},
    "fee": {
     "type": "string",
     "value": "string"
    },
    "from": {
     "hash": "string",
     "name": "string",
     "is_scam": true,
     "metadata": {},
     "proxy_type": "string",
     "reputation": "string",
     "is_contract": true,
     "is_verified": true,
     "public_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "private_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "ens_domain_name": "string",
     "implementations": [
      {
       "name": "string",
       "address_hash": "string"
      }
     ],
     "watchlist_names": [
      {
       "label": "string",
       "display_name": "string"
      }
     ]
    },
    "hash": "string",
    "type": 0,
    "nonce": 0,
    "value": "string",
    "method": "string",
    "result": {},
    "status": "string",
    "arbitrum": {
     "status": "string",
     "poster_fee": "string",
     "network_fee": "string",
     "batch_number": 0,
     "gas_used_for_l1": "string",
     "gas_used_for_l2": "string",
     "contains_message": "string",
     "batch_data_container": "string",
     "message_related_info": {
      "message_id": 0,
      "message_status": "string",
      "associated_l1_transaction_hash": "string"
     },
     "commitment_transaction": {
      "hash": "string",
      "status": "string",
      "timestamp": "string"
     },
     "confirmation_transaction": {
      "hash": "string",
      "status": "string",
      "timestamp": "string"
     }
    },
    "gas_used": "string",
    "position": 0,
    "gas_limit": "string",
    "gas_price": "string",
    "raw_input": "string",
    "timestamp": "string",
    "block_number": 0,
    "priority_fee": "string",
    "confirmations": 0,
    "decoded_input": {},
    "exchange_rate": "string",
    "revert_reason": {},
    "max_fee_per_gas": "string",
    "token_transfers": [
     {
      "to": {
       "hash": "string",
       "name": "string",
       "is_scam": true,
       "metadata": {},
       "proxy_type": "string",
       "reputation": "string",
       "is_contract": true,
       "is_verified": true,
       "public_tags": [
        {
         "label": "string",
         "address_hash": "string",
         "display_name": "string"
        }
       ],
       "private_tags": [
        {
         "label": "string",
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-block-transactions-endpoint-89a64d3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
