# Phantom API — Ethereum JSON-RPC Endpoint

> Phantom API — Ethereum JSON-RPC Endpoint 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-10-20).

Executes Ethereum JSON-RPC calls (e.g. eth_getBalance, eth_call, eth_blockNumber) via a pay-per-call gateway on the Ethereum network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/ethereum/rpc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-ethereum-json-rpc-endpoint-87a2c2aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kycJis4l0yh3yxnBknvCA

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-ethereum-json-rpc-endpoint-87a2c2aa -d '<json body>'
```

Example prompt: What's the current ETH balance of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call Ethereum RPC access without committing to a monthly node subscription. Ideal for agents that make occasional on-chain reads (balances, contract state, transaction lookups) and want to pay only for what they use via USDC microtransactions. Prefer over self-hosted nodes or full subscription RPC providers when cost-per-call economics are favorable and you need no infrastructure management.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601 (Method not found)
- Malformed params array causes -32602 (Invalid params) error
- Network or node unavailability returns 5xx HTTP error
- Payment failure or insufficient USDC balance blocks the call with 402 Payment Required
- Querying a non-existent block or transaction returns null result
- Rate limiting or quota exceeded returns 429 Too Many Requests

## 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 Ethereum JSON-RPC response object containing the result field with the requested blockchain data (balance in wei, block object, transaction receipt, contract return value, etc.) or an error object 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-ethereum-json-rpc-endpoint-87a2c2aa/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)
