# QuantaFlow x402 Gateway — OpenLibrary Proxy

> QuantaFlow x402 Gateway — OpenLibrary 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-14).

Proxies requests to the Open Library API via the x402 micropayment protocol, charging $0.01 USDC per call

## Facts

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

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-openlibrary-proxy-581530d1 -d '<json body>'
```

Example prompt: Search Open Library for books by Ursula K. Le Guin — I want to see a list of her works with titles and edition counts.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to Open Library data via the x402 micropayment protocol and do not want to manage Open Library API credentials or rate limits directly. Suitable for agents that already have a USDC wallet integrated with x402 and need lightweight bibliographic lookups without committing to a subscription.

## Known failure modes

- Payment failure — insufficient USDC balance or x402 protocol error returns 402 Payment Required
- Invalid path — a malformed or non-existent Open Library endpoint path returns an upstream 404
- Rate limiting — Open Library upstream rate limits may cause 429 or 503 responses
- Malformed query parameters — incorrect query formatting may return empty results or upstream 400 errors
- Gateway downtime — Vercel deployment unavailability returns 500 or timeout errors

## How this service works

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

## Output

The raw upstream Open Library API response is passed through after successful x402 micropayment, including book records, author data, search result lists, edition details, or any other data returned by the Open Library endpoint at the specified path.

## 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-openlibrary-proxy-581530d1/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)
