# Phantom API — Polygon RPC Endpoint

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

Executes JSON-RPC calls against the Polygon blockchain network, enabling on-chain data retrieval and smart contract interactions via a pay-per-call model.

## Facts

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

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-polygon-rpc-endpoint-df8aebfc -d '<json body>'
```

Example prompt: What's the current MATIC balance of wallet address 0xAbC123... on Polygon? Use eth_getBalance with the latest block tag.

## When to prefer this

Choose this endpoint when you need direct, low-latency JSON-RPC access to the Polygon (MATIC) network specifically, and want pay-per-call pricing without committing to a subscription. Ideal for agents that need occasional or burst Polygon queries without managing API keys or monthly plans. Prefer over Ethereum RPC endpoints when the target contracts or wallets are on Polygon mainnet.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601 (method not found)
- Malformed params array causes -32602 (invalid params) error
- Network congestion or node unavailability may cause timeouts
- Calling a non-existent contract address returns empty result
- Payment failure via x402 protocol blocks request execution
- Unsupported Polygon-specific methods may not be available

## 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 field with on-chain data such as block information, account balances, transaction receipts, contract return values, or event logs — depending on the method called. Errors are returned as JSON-RPC error objects with code and message fields.

## 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-polygon-rpc-endpoint-df8aebfc/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)
