# Blockscout Internal Transactions API

> Blockscout Internal Transactions API 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-10).

Retrieves internal transactions (traces) for a specific transaction on a given blockchain network via Blockscout's multichain explorer

## Facts

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

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-internal-transactions-api-c6ec89c1
```

Example prompt: Can you pull the internal transactions for transaction hash 0xabc123... on Ethereum (chain ID 1) using Blockscout, and show me all the internal calls including zero-value transfers?

## When to prefer this

Choose this endpoint when you need internal transaction traces (sub-calls, internal ETH transfers, contract creations) for a specific transaction or block on EVM-compatible chains supported by Blockscout. It is ideal for debugging smart contract interactions, auditing DeFi flows, or tracing execution paths across multiple internal calls. Prefer it over Etherscan-style APIs when working with non-mainnet EVM chains (Base, Optimism, Gnosis, etc.) that Blockscout indexes natively.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty result
- Non-existent transaction_hash returns empty items array
- Malformed query parameters return a 400-level error
- Chain not indexed by Blockscout returns no data
- Rate limiting or payment failure returns 402 or 429 error
- Very recent transactions may not yet be indexed, returning empty results

## 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, each including from/to address details (with ENS names, tags, scam flags, contract status), transfer value, gas limit, success/error status, timestamp, block number, transaction hash, and any created contract info. Also returns next_page_params for cursor-based 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"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "index": {
       "type": "integer"
      },
      "items_count": {
       "type": "integer"
      },
      "block_number": {
       "type": "integer"
      },
      "transaction_hash": {
       "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-internal-transactions-api-c6ec89c1/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)
