# Phantom API — Blockchain RPC Gateway (57+ Networks)

> Phantom API — Blockchain RPC Gateway (57+ Networks) is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Executes JSON-RPC calls against 57+ blockchain networks, returning on-chain data such as block info, transaction details, balances, and smart contract state.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/adi/rpc
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-blockchain-rpc-gateway-57-networks-2bac5574
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wvjyoat_J3kxqWjTMSRYS

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 phantom-api-blockchain-rpc-gateway-57-networks-2bac5574 -d '<json body>'
```

Example prompt: Use the Phantom API to call eth_getBalance with params ['0xAbCd...1234', 'latest'] and tell me the ETH balance of that address on mainnet.

## When to prefer this

Choose this endpoint when an AI agent needs raw, low-latency access to on-chain blockchain data across multiple EVM or non-EVM networks via a single pay-per-call interface, especially when you want to avoid managing node infrastructure or long-term API key subscriptions. Prefer it over free public RPCs when reliability and multi-chain coverage (57+ networks) matter, and over heavyweight indexers when you need direct node-level queries rather than pre-indexed data.

## Known failure modes

- Invalid RPC method name returns JSON-RPC error code -32601 (method not found)
- Malformed params array causes -32602 (invalid params) error
- Unsupported network or misconfigured endpoint returns connection/timeout error
- Payment not included or insufficient USDC balance causes 402 Payment Required before the call is executed
- Rate limiting or provider downtime returns 5xx or timeout

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

Returns a standard JSON-RPC response object containing a 'result' field with the requested on-chain data (e.g. hex-encoded balance, block object, transaction receipt, contract return value) or an 'error' object with a code and message if the call fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string"
  },
  "params": {
   "type": "array",
   "items": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-blockchain-rpc-gateway-57-networks-2bac5574/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
