# QuantaFlow GNews Gateway

> QuantaFlow GNews Gateway 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-21).

Proxies requests to the GNews news search API via x402 micropayment protocol, charging $0.01 USDC per call

## Facts

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

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-gnews-gateway-cdba8858 -d '<json body>'
```

Example prompt: Search GNews for the latest articles about the Federal Reserve interest rate decision and give me the top 5 headlines from the past week.

## When to prefer this

Choose this endpoint when you need pay-per-use access to the GNews API without a separate subscription, especially in a web3/crypto-native agentic workflow where x402 micropayments are already supported. Ideal for low-volume or sporadic news searches where a $0.01/call model is more economical than a monthly API plan.

## Known failure modes

- Payment failure — insufficient USDC balance or wallet not connected returns payment required error
- Invalid path — incorrect GNews API path results in upstream 404 or error
- Malformed query parameters — invalid GNews query syntax returns upstream error
- Rate limiting — GNews upstream rate limits may return 429
- Network timeout — upstream GNews service unavailable returns gateway error

## How this service works

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

## Output

Returns the proxied GNews API response body containing news articles, headlines, publication dates, source information, and article URLs, passed through directly after successful $0.01 USDC micropayment.

## 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-gnews-gateway-cdba8858/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)
