# Blockchain.com Explorer API – ETH Block Transactions

> Blockchain.com Explorer API – ETH Block Transactions is a paid API for AI agents from api.blockchain.info, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Retrieves a paginated, sorted list of transactions within a specific Ethereum block, identified by block hash or block number

## Facts

- Endpoint: POST https://api.blockchain.info/explorer-gateway-kt/x402/eth/block/transactions?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-com-explorer-api-eth-block-transactions-9bc8dc9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xh5jOPFgt5dhC_jr7zm2p

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 blockchain-com-explorer-api-eth-block-transactions-9bc8dc9d -d '<json body>'
```

Example prompt: Can you pull all the transactions from Ethereum block number 19500000 sorted by fee in descending order, showing me the first 25?

## When to prefer this

Use this endpoint when you need structured, paginated access to all transactions within a specific Ethereum block, especially when you need to sort by value, fee, or index, or when building analytics pipelines that process blocks transaction-by-transaction. Prefer this over general blockchain RPCs when you want a clean REST interface with sorting and pagination built in, backed by Blockchain.com's indexed explorer data.

## Known failure modes

- Neither hash nor blockId provided — request will fail or return error
- Both hash and blockId provided simultaneously — ambiguous input
- Block not found — non-existent block number or invalid hash returns empty or error
- Offset beyond total transactions — returns empty page (not an error)
- Limit exceeds maximum of 50 — capped or rejected
- Invalid sort/order enum value — API returns validation error
- Network parameter mismatch — requesting a non-ETH network on an ETH-specific endpoint
- Payment not processed — x402 payment failure blocks access

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

Returns a paginated list of Ethereum transactions within the specified block, including each transaction's index, value in Wei, and fee. Also includes total transaction count so the caller knows how to page through the full set. An offset beyond the total returns an empty list rather than an error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": [
    "string",
    "null"
   ],
   "description": "Block hash; provide this or blockId"
  },
  "sort": {
   "enum": [
    "index",
    "value",
    "fees"
   ],
   "type": "string",
   "default": "index",
   "description": "`index` orders by `transactionIndex`, `value` by `value` (Wei), `fees` by `fee`. Ties always fall back to transaction index, so paging can neither duplicate nor skip a transaction.\n"
  },
  "limit": {
   "type": "integer",
   "default": 15,
   "maximum": 50,
   "minimum": 1,
   "description": "Page size (capped at 50)"
  },
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string",
   "default": "asc"
  },
  "offset": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Offset into the sorted transaction list. An offset beyond `total` returns an empty page, not an error."
  },
  "blockId": {
   "type": [
    "integer",
    "null"
   ],
   "format": "int64",
   "minimum": 0,
   "description": "Block number (non-negative); provide this or hash"
  },
  "network": {
   "type": "string",
   "example": "ETH"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-com-explorer-api-eth-block-transactions-9bc8dc9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchain.info](https://www.zero.xyz/host/api.blockchain.info/llms.txt)
