# httpay.xyz Etherscan API Gateway

> httpay.xyz Etherscan API 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-15).

Proxies requests to the Etherscan blockchain explorer API, enabling on-chain data lookups for Ethereum addresses, transactions, and token balances via a pay-per-call gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/etherscan/%7B*path%7D/*
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-3b5dbc5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Isg6Xoj3VkBQAz5mXroym

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-3b5dbc5e -d '<json body>'
```

Example prompt: What's the current ETH balance of 0x1234567890123456789012345678901234567890 on Ethereum mainnet?

## When to prefer this

Use this endpoint when you need to query Ethereum blockchain data (balances, transactions, token transfers, contract ABIs) via the Etherscan API without managing your own API key or paying for a subscription — ideal for agents making occasional on-demand blockchain lookups at $0.001 per call.

## Known failure modes

- Payment not provided — returns 402 with payment instructions for x402 or MPP
- Invalid Ethereum address format — Etherscan returns error code
- Invalid API path — gateway returns 404 or Etherscan returns error
- Rate limit exceeded on demo mode (10 calls/IP/hour without payment)
- Etherscan API key missing or invalid — returns NOTOK status
- Address with no transaction history — returns empty result set

## How this service works

API Gateway: Etherscan blockchain explorer API

## Output

Returns Etherscan API response data for the requested query — such as ETH balance in wei, list of transactions, token transfer events, contract ABI, or gas oracle data — depending on the API path used.

## More

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