# httpay.xyz Polygon RPC Gateway

> httpay.xyz Polygon RPC Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Proxies JSON-RPC calls to the Polygon network via a pay-per-call HTTP gateway using x402 micropayments

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/eth-polygon/%7B*path%7D/*
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-4b34fc49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7-O2_9DXBo5Tnh5voDvC9

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 httpay-xyz-4b34fc49 -d '<json body>'
```

Example prompt: Send an eth_getBalance RPC call to the Polygon network for address 0xAbC123... at the latest block — route it through the pay-per-use Polygon RPC gateway.

## When to prefer this

Use this endpoint when you need to interact with the Polygon blockchain (read state, broadcast transactions, call contracts) and want a pay-per-call model via x402 micropayments without managing your own RPC node or subscription. Ideal for agents making sporadic or low-volume Polygon RPC calls where per-call USDC billing is preferable to a monthly plan.

## Known failure modes

- Invalid RPC method returns JSON-RPC error with code -32601
- Malformed params returns -32602 invalid params error
- Payment failure (402) if USDC balance is insufficient
- Network congestion on Polygon may cause timeout or slow response
- Invalid transaction data returns execution revert or -32000 error
- Path routing mismatch returns 404 if RPC path is malformed

## How this service works

API Gateway: Polygon RPC

## Output

Standard JSON-RPC response from the Polygon network, including result or error fields matching the Ethereum JSON-RPC spec (e.g. balance in hex wei, block object, transaction receipt, contract call return value).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-4b34fc49/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
