# httpay.xyz API Gateway: Ethereum RPC (PublicNode)

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

Proxies Ethereum JSON-RPC requests to PublicNode through a pay-per-call x402 HTTP gateway, enabling blockchain queries without managing API keys

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/eth-publicnode/%7B*path%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-api-gateway-ethereum-rpc-publicnode-905a2755
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-DuajrYcRp9NOoPCm2xi

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-api-gateway-ethereum-rpc-publicnode-905a2755 -d '<json body>'
```

Example prompt: Can you check the current ETH balance for wallet address 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe using the Ethereum RPC gateway on PublicNode?

## When to prefer this

Use this endpoint when an AI agent needs to query the Ethereum blockchain (balances, blocks, transactions, contract calls) without provisioning a private RPC API key — ideal for pay-as-you-go micro-payment workflows using x402/USDC where managing API credentials is undesirable.

## Known failure modes

- Payment not included or invalid x402 payment header — 402 Payment Required
- Invalid or malformed RPC method/path — 400 Bad Request or RPC error response
- PublicNode upstream unavailable — 502 or 503 gateway error
- Rate limit exceeded on underlying PublicNode endpoint — upstream throttling error
- Invalid JSON-RPC parameters — RPC error with code and message in response body

## How this service works

API Gateway: Ethereum RPC (PublicNode)

## Output

Returns the standard Ethereum JSON-RPC response for the requested method — e.g. balance in wei, block data object, transaction receipt, gas estimate, or smart contract return value — proxied from PublicNode's Ethereum node.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-api-gateway-ethereum-rpc-publicnode-905a2755/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)
