# QuantaFlow x402 API Gateway - GitHub Tool Route

> QuantaFlow x402 API Gateway - GitHub Tool Route 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 GitHub-related web3/DeFi tools via the x402 micropayment protocol, charging $0.01 USDC per call

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/github?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-api-gateway-github-tool-route-67a861db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S-xykHxBXoVM6qx4RNNq1

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-github-tool-route-67a861db -d '<json body>'
```

Example prompt: Use QuantaFlow to forward a POST request to the GitHub tool at path '/data/defi-rates' with body '{"token":"ETH"}', paying $0.01 USDC via x402.

## When to prefer this

Choose this endpoint when you need pay-per-call access to a GitHub-hosted web3 or DeFi tool via the x402 micropayment protocol and want automatic USDC billing at $0.01 per request. Prefer it over direct API calls when the upstream tool is gated behind x402 and you need transparent passthrough of request and response without additional transformation.

## Known failure modes

- Payment failure: insufficient USDC balance causes x402 payment rejection and no upstream call is made
- Invalid path: upstream returns 404 if the path below the GitHub origin does not exist
- Malformed body: upstream rejects badly formatted JSON body with a 4xx error
- Gateway timeout: Vercel cold start or upstream latency causes timeout
- Unauthorized upstream: GitHub-hosted tool returns 401/403 if additional auth is required beyond the x402 payment

## How this service works

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

## Output

The raw upstream response body and content type from the GitHub-hosted tool, passed through transparently after successful x402 micropayment verification. The agent receives whatever the upstream API returns — JSON data, status, or error — without additional transformation.

## 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-github-tool-route-67a861db/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)
