# QuantaFlow x402 Gateway – Alternative.me Proxy

> QuantaFlow x402 Gateway – Alternative.me 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-10-24).

Proxies requests to the Alternative.me API (crypto fear & greed index and related endpoints) via the x402 micropayment protocol, charging $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/alternative-me?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-x402-gateway-alternative-me-proxy-41fbca7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aw3CRMomz-7H4UN5Ba1oI

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-gateway-alternative-me-proxy-41fbca7e -d '<json body>'
```

Example prompt: What's the current crypto fear and greed index from Alternative.me? Charge my wallet the $0.01 USDC fee and give me today's score and sentiment label.

## When to prefer this

Choose this endpoint when you need crypto market sentiment data from Alternative.me and want to pay per-call with USDC micropayments via x402 rather than managing a traditional API subscription or key. Ideal for AI agents with a crypto wallet that need occasional, on-demand fear and greed index lookups without committing to a monthly plan.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Invalid or missing path parameter causes upstream 404
- Alternative.me upstream API unavailable returns a 502 or passthrough error
- Malformed query object causes bad request error
- Payment transaction not confirmed on-chain leads to timeout or rejection

## How this service works

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

## Output

The raw upstream response from Alternative.me, passed through after successful x402 USDC micropayment — typically a JSON object containing the current or historical fear and greed index value (0–100), sentiment classification label (e.g. 'Extreme Fear', 'Greed'), timestamp, and metadata fields as defined by the Alternative.me API.

## 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-gateway-alternative-me-proxy-41fbca7e/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)
