# QuantaFlow CoinGecko Proxy (x402)

> QuantaFlow CoinGecko Proxy (x402) 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-10).

Proxies requests to the CoinGecko API through an x402 micropayment gateway, returning live cryptocurrency market data for $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/coingecko?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-coingecko-proxy-x402-1326a580
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iHCY_qkBjL2u5BdPxou-1

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-coingecko-proxy-x402-1326a580 -d '<json body>'
```

Example prompt: Pull the current price and 24-hour market cap for Ethereum and the top 10 coins by volume from CoinGecko right now.

## When to prefer this

Choose this endpoint when you need pay-per-call access to CoinGecko market data via x402 micropayments without managing a CoinGecko API key subscription. Ideal for AI agents operating in web3 environments that can autonomously authorize USDC microtransactions on-chain.

## Known failure modes

- Payment failure if wallet has insufficient USDC balance
- Invalid CoinGecko path returns 404 or upstream error
- Malformed query parameters forwarded to CoinGecko result in upstream 400 error
- CoinGecko rate limiting may cause 429 upstream errors
- Network timeout on Vercel serverless function

## How this service works

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

## Output

The raw upstream CoinGecko API response body is passed through after a successful x402 micropayment, including fields like current price, market cap, volume, price change percentages, coin metadata, and any other data the queried CoinGecko endpoint returns.

## 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-coingecko-proxy-x402-1326a580/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)
