# httpay.xyz API Gateway: Ethereum RPC via Ankr

> httpay.xyz API Gateway: Ethereum RPC via Ankr 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 calls through Ankr's node infrastructure via a pay-per-call x402 gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/eth-ankr/%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-via-ankr-9e396f52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CF2Vvzx5uxxL-iD2xu1fl

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-via-ankr-9e396f52 -d '<json body>'
```

Example prompt: Can you check the current ETH balance of wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 using an Ethereum RPC call?

## When to prefer this

Use this endpoint when you need permissionless, pay-as-you-go Ethereum RPC access without setting up API keys or subscriptions — ideal for agents making occasional blockchain queries via x402 micropayments, backed by Ankr's reliable node infrastructure.

## Known failure modes

- Payment not included or insufficient USDC — gateway returns 402 Payment Required
- Invalid JSON-RPC method name — returns RPC error with code -32601
- Malformed parameters for the RPC method — returns RPC error with code -32602
- Ankr node temporarily unavailable — gateway may return 503 or upstream timeout
- Unsupported Ethereum network or path — returns 404 from gateway

## How this service works

API Gateway: Ethereum RPC (Ankr)

## Output

Returns the standard Ethereum JSON-RPC response from Ankr's node, including result fields like account balances, block data, transaction receipts, contract return values, or gas estimates depending on the method called.

## More

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