# QuantaFlow x402 API Gateway – Infura Unichain Mainnet Proxy

> QuantaFlow x402 API Gateway – Infura Unichain Mainnet Proxy 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-09-15).

Proxies requests to the Infura Unichain mainnet JSON-RPC endpoint via the x402 micropayment protocol, charging $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/infura-unichain-mainnet
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-x402-api-gateway-infura-unichain-mainnet-proxy-e711c032
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RAJ_EaCP2HgBkYOzPvj8y

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-unichain-mainnet-proxy-e711c032 -d '<json body>'
```

Example prompt: Can you query the Unichain mainnet to get the latest block number — use the Infura RPC proxy and pay the per-call fee automatically?

## When to prefer this

Choose this endpoint when you need pay-per-call access to Unichain mainnet JSON-RPC without managing an Infura API key subscription, and your agent environment supports the x402 micropayment protocol for automatic per-request USDC billing. Ideal for low-volume or sporadic Unichain queries where a subscription is wasteful.

## Known failure modes

- Insufficient USDC balance to cover $0.01 per-call fee — payment rejected before request is forwarded
- Invalid or malformed JSON-RPC body — upstream returns a JSON-RPC error object
- Unsupported RPC method for Unichain — upstream returns method-not-found error
- Network or Infura upstream outage — 502/503 passthrough error
- Invalid path parameter — gateway cannot route to upstream correctly
- x402 facilitator unavailable — payment verification fails and request is blocked

## How this service works

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

## Output

The raw upstream Infura Unichain mainnet RPC response body, passed through transparently after the x402 micropayment is processed. Returns standard Ethereum JSON-RPC response objects including result fields, block data, transaction receipts, or error objects depending on the method called.

## 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-unichain-mainnet-proxy-e711c032/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)
