# HTTPay Gas Oracle

> HTTPay Gas Oracle is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns simulated current gas prices across multiple blockchain networks

## Facts

- Endpoint: POST https://httpay.xyz/api/gas-oracle
- Price: $0.005/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-9c37047b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UOAclXeSpCbmNGC4XdjqC

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-9c37047b -d '<json body>'
```

Example prompt: What are the current gas prices across major EVM chains like Ethereum, Base, and Polygon right now?

## When to prefer this

Use this endpoint when an AI agent needs a quick, paid, cross-chain gas price snapshot without querying individual RPC nodes. Particularly useful in automated DeFi workflows where gas cost awareness is needed before executing transactions. Note that data is simulated, so prefer real RPC-based oracles when accuracy is critical.

## Known failure modes

- Payment not received or invalid x402 payment header — 402 Payment Required
- Unsupported chain identifier — 400 Bad Request
- Service temporarily unavailable — 503
- Rate limit exceeded — 429
- Simulated data may not reflect real-time on-chain conditions

## How this service works

Current gas prices across chains (simulated)

## Output

Returns simulated current gas price data across multiple blockchain networks, likely including values such as base fee, priority fee, and estimated transaction costs per chain.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Current gas prices across chains (simulated)"
 }
}
```

## More

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