# Blockscout Block Internal Transactions

> Blockscout Block Internal Transactions 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-13).

Retrieves all internal transactions within a specific block on a given blockchain network via Blockscout's multichain explorer API

## Facts

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

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-internal-transactions-a0b37833
```

Example prompt: Can you pull all the internal transactions from block 19800000 on Ethereum mainnet (chain_id 1) using Blockscout, and show me any that failed or involved contract creation?

## When to prefer this

Use this endpoint when you need to inspect the internal call tree or sub-transactions within a specific block across any of Blockscout's supported chains. It is ideal for auditing smart contract interactions, tracing DeFi protocol flows, identifying contract deployments, or debugging failed internal calls — especially when you need multichain support from a single API with per-block granularity rather than per-transaction granularity.

## Known failure modes

- Invalid or non-existent block hash/number returns empty items or 404
- Unsupported chain_id returns an error response
- Malformed block_hash_or_number_param causes a bad request error
- Rate limiting or payment failure returns 402 or 429
- Block exists but has no internal transactions returns an empty items array
- Invalid filter parameters (call_type, internal_type) may return no results or an error

## 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 internal transactions within the specified block, each containing from/to addresses (with ENS names, tags, proxy type, reputation, scam flags), transaction hash, value, gas limit, block number, timestamp, call type, success/error status, created contract details, and next_page_params for pagination.

## 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": {
      "index": {
       "type": "integer"
      },
      "call_type": {
       "type": "string"
      },
      "items_count": {
       "type": "integer"
      },
      "internal_type": {
       "type": "string"
      },
      "transaction_index": {
       "type": "integer"
      },
      "include_zero_value": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "status": 0,
   "message": "string"
  },
  "items": [
   {
    "to": {},
    "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"
      }
     ]
    },
    "type": "string",
    "error": "string",
    "index": 0,
    "value": "string",
    "success": true,
    "gas_limit": "string",
    "timestamp": "string",
    "block_number": 0,
    "created_contract": {},
    "transaction_hash": "string",
    "transaction_index": 0
   }
  ],
  "next_page_params": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-block-internal-transactions-a0b37833/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)
