# Phantom API — Worldchain RPC Endpoint

> Phantom API — Worldchain 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).

Provides a pay-per-call JSON-RPC interface to the Worldchain blockchain network, enabling agents to query on-chain data and interact with smart contracts.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/worldchain/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-worldchain-rpc-endpoint-9f8cb894
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RXFJl3pb0_LUctCstLMlE

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-worldchain-rpc-endpoint-9f8cb894 -d '<json body>'
```

Example prompt: Can you call eth_getBalance on Worldchain for wallet address 0xAbC123... using the Phantom API RPC endpoint and tell me the current balance?

## When to prefer this

Choose this endpoint when you specifically need to query the Worldchain blockchain network via standard JSON-RPC and want pay-per-call pricing without a subscription. It is ideal for agents that make sporadic or low-volume on-chain queries and need fast access without managing node infrastructure. Prefer it over self-hosted nodes when cost predictability per call matters and over generic RPC providers when x402 micropayment-based billing is required.

## Known failure modes

- Invalid RPC method name returns JSON-RPC error with code -32601 (method not found)
- Malformed params array causes parse error (-32700) or invalid request error (-32600)
- Payment not attached or insufficient USDC causes 402 Payment Required response
- Worldchain node unavailable returns server error (-32000 or 503)
- Unsupported network-specific method returns error

## 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 the result of the requested RPC method call — e.g. block data, account balance in wei, transaction receipt, smart contract return value, or log entries — along with an id and jsonrpc version field. Errors return a standard JSON-RPC error object with code and message.

## 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-worldchain-rpc-endpoint-9f8cb894/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)
