# httpay.xyz Ethereum RPC Gateway (Ankr)

> httpay.xyz Ethereum RPC Gateway (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 infrastructure via a pay-per-call HTTP 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-24b481cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ZmOCYNDpFYT2R_cIi9sA

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-24b481cb -d '<json body>'
```

Example prompt: Can you query the Ethereum mainnet to get the current ETH balance of address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 using eth_getBalance with block tag 'latest'?

## When to prefer this

Choose this endpoint when you need direct Ethereum mainnet JSON-RPC access on a pay-per-call basis without managing an API key or subscription — ideal for agents that make occasional or bursty Ethereum queries and want to pay micro-amounts per call rather than commit to a plan. Prefer over Infura or Alchemy endpoints when using x402 payment flow or when key management is undesirable.

## Known failure modes

- Invalid JSON-RPC method returns error response
- Malformed request payload returns 400
- Insufficient USDC payment returns 402
- Ankr node timeout or unavailability returns 503
- Invalid Ethereum address format causes RPC-level error
- Transaction rejected by network due to low gas or nonce mismatch

## How this service works

API Gateway: Ethereum RPC (Ankr)

## Output

Returns the standard Ethereum JSON-RPC response object from Ankr's node, including result or error fields — e.g. block data, account balance in hex, transaction receipt, gas estimate, or broadcast confirmation depending on the RPC method called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-24b481cb/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)
