# QuantaFlow x402 API Gateway – Infura Gas API

> QuantaFlow x402 API Gateway – Infura Gas API is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Proxies requests to the Infura Gas API via x402 micropayment protocol, returning current gas price estimates for Ethereum and EVM-compatible networks

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/infura-gas-api?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-x402-api-gateway-infura-gas-api-ee5dac7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L8ReQTlgCVCLKmIF79w1k

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 quantaflow-x402-api-gateway-infura-gas-api-ee5dac7e -d '<json body>'
```

Example prompt: What are the current Ethereum gas prices right now — slow, standard, and fast tiers — so I can decide when to send my transaction?

## When to prefer this

Choose this endpoint when you need real-time Ethereum or EVM gas price data and are operating in a web3/DeFi agent context that supports x402 micropayment protocol. Prefer this over direct Infura API access when you want pay-per-use billing at $0.01 USDC per call without managing an Infura API key subscription.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment header missing/malformed — returns 402 Payment Required
- Invalid path: incorrect sub-path forwarded to Infura upstream — returns 404 or upstream error
- Infura API downtime: upstream unavailable — passes through 5xx error
- Malformed query parameters: upstream rejects request — returns upstream validation error
- Network timeout: slow upstream response exceeds gateway timeout

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

The raw upstream Infura Gas API response, passed through after successful x402 micropayment. Typically includes gas price tiers (slow, standard, fast, instant) with base fee and priority fee values in gwei for the current Ethereum block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-x402-api-gateway-infura-gas-api-ee5dac7e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
