# Phantom API – Berachain RPC Endpoint

> Phantom API – Berachain 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-14).

Provides JSON-RPC access to the Berachain blockchain network, enabling agents to query on-chain state, send transactions, and interact with smart contracts.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/berachain/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-berachain-rpc-endpoint-f4d46283
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fq7zMatvZvMjdTtqL3-_Z

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-berachain-rpc-endpoint-f4d46283 -d '<json body>'
```

Example prompt: Can you call eth_getBalance on Berachain for wallet address 0xAbC123... at the latest block so I can see the current BERA balance?

## When to prefer this

Choose this endpoint when you specifically need to interact with the Berachain network via standard JSON-RPC and want pay-per-call pricing without a subscription. Prefer it over self-hosted nodes when you need zero infrastructure management, or over other RPC providers when Berachain-specific network support is the priority.

## Known failure modes

- Invalid JSON-RPC method name returns an error response with code -32601
- Malformed params array returns a parse or invalid params error
- Payment not included or insufficient USDC results in HTTP 402 Payment Required
- Berachain node unavailable or syncing may return temporary 503 or timeout
- Calling a non-existent contract address returns 0x or null result silently

## 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

A standard JSON-RPC response object containing the result field with the requested on-chain data (e.g. balance in wei, block object, transaction receipt, or smart contract return value), or an error object with 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-berachain-rpc-endpoint-f4d46283/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)
