← Back to directory

Use when an agent needs a sourced answer to a question from the live web in one ...

https://1gateway.dev/v1/web/answer

Overview

Use when an agent needs a sourced answer to a question from the live web in one call. Input: q (question), optional time_range (day, week, month, year). Output: JSON answer (English, inline [n] citations), citations [{url, title, quote}], confidence, notes, sources read. Searches, reads the top 4 pages itself and answers only from them. Provider or model failure is not charged. Example: ?q=what+is+the+x402+payment+protocol

Protocol x402
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category tools/search
Provider Web Answer
Source bazaar
Indexed 2026-10-28 01:15:02

Health

Status healthy
Latency (p50) 1001ms
Uptime (30d) 98.5%
Reliability Score 81.2/100
Last Checked 2026-10-31 07:14:31
Last Healthy 2026-10-31 07:14:31
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "q": "x402 payment protocol", "time_range": "month" }, "type": "http" }

Output Schema

{ "example": { "answer": "x402 is an open payment standard built on HTTP 402: a server replies to an unpaid request with payment requirements, and the client pays in USDC and retries [1…", "attribution": "Search via Serper (Google); pages fetched by 1gateway; answer written by an open model on Cloudflare Workers AI from those pages. Verify the cited pages before…", "cached": false, "citations": [ { "quote": "x402 is an open payment standard built on HTTP 402", "title": "x402 - An open protocol for internet-native payments", "url": "https://pages.example/x402" } ], "confidence": "high", "model": "@cf/google/gemma-4-26b-a4b-it", "notes": null, "provider": "serper", "query": "x402 payment protocol", "retrievedAt": "2026-10-19T00:00:00.000Z", "sources": [ { "n": 1, "publishedAt": null, "title": "x402 - An open protocol for internet-native payments", "url": "https://pages.example/x402" } ], "upstreamCostUsd": 0.001336 }, "type": "json" }