# BlockRun On-Chain Transaction Lookup

> BlockRun On-Chain Transaction Lookup is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0075/call, status unknown (last checked 2026-09-13).

Fetches detailed data for a specific on-chain transaction by hash and chain identifier

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/surf/onchain/tx
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-on-chain-transaction-lookup-95c5150c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKaY5GR0e7dvTHx4-2pqe

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 blockrun-on-chain-transaction-lookup-95c5150c
```

Example prompt: Can you look up the details of this Solana transaction for me — hash 5xK9...abc — and tell me what was transferred, who sent it, and whether it confirmed?

## When to prefer this

Choose this endpoint when you need to resolve a specific transaction hash to its full on-chain details across Base or Solana without managing your own RPC infrastructure or API keys — especially useful for AI agents that need pay-per-call access with no setup overhead.

## Known failure modes

- Invalid or malformed transaction hash returns an error response
- Unsupported chain identifier returns a 400 or similar error
- Transaction not yet indexed or very recent may return not-found
- Payment failure (402) if USDC balance is insufficient for the $0.0075 per-call fee
- Network timeout if the underlying RPC is slow

## How this service works

Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.

## Output

Returns structured data about the specified on-chain transaction including block number, timestamp, sender, recipient, value, token transfers, gas used, and confirmation status for the requested chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "description": "Required query param"
  },
  "chain": {
   "type": "string",
   "description": "Required query param"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-on-chain-transaction-lookup-95c5150c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
