# Phantom API – Avalanche RPC Endpoint

> Phantom API – Avalanche 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-09-15).

Provides pay-per-call JSON-RPC access to the Avalanche blockchain network for querying chain data, interacting with smart contracts, and submitting transactions.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/avalanche/rpc
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-avalanche-rpc-endpoint-67bb885b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BJ1v_VpB9PPCsUNO9fsBK

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-avalanche-rpc-endpoint-67bb885b -d '<json body>'
```

Example prompt: Can you call eth_getBalance on the Avalanche RPC for wallet address 0xAbC123... and tell me how much AVAX it holds?

## When to prefer this

Choose this endpoint when you need direct, pay-per-call JSON-RPC access to the Avalanche blockchain without committing to a monthly subscription — ideal for low-volume or bursty agent workflows querying Avalanche C-Chain data, reading smart contract state, or submitting transactions on AVAX.

## Known failure modes

- Invalid RPC method name returns JSON-RPC error -32601 (method not found)
- Malformed params array returns JSON-RPC error -32602 (invalid params)
- Payment not included or insufficient results in HTTP 402 Payment Required
- Network congestion or node unavailability may return a timeout or 503 error
- Querying a non-existent block or transaction hash returns null result

## 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 with an 'id', 'jsonrpc' version field, and a 'result' containing the requested on-chain data (e.g. block info, balance in hex wei, transaction receipt, contract return value) or an 'error' object if the call failed.

## 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-avalanche-rpc-endpoint-67bb885b/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)
