{"slug":"1gateway-dev-v1-web-search-3b5a6e","title":"Use when an agent needs current web results for a query","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/web/search","category":"search","description":"Use when an agent needs current web results for a query. Input: q, optional max (1-10, default 5), time_range (day, week, month, year). Output: JSON results with title, URL and date when known, provider and retrieval time. For page text use /v1/web/search-read. Provider failure is not charged. Examp","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":181,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"max":5,"q":"x402 payment protocol","time_range":"month"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"max":{"description":"Number of results (default 5)","examples":[5],"maximum":10,"minimum":1,"type":"integer"},"q":{"description":"Search query","examples":["x402 payment protocol"],"maxLength":300,"type":"string"},"time_range":{"description":"Only results from the past day, week, month or year","enum":["day","week","month","year"],"examples":["month"],"type":"string"}},"required":["q"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"attribution":{"type":"string"},"cached":{"type":"boolean"},"count":{"type":"integer"},"notes":{"items":{"type":"string"},"type":"array"},"provider":{"type":"string"},"query":{"type":"string"},"results":{"items":{"properties":{"publishedAt":{"type":["string","null"]},"title":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"},"retrievedAt":{"type":"string"},"timeRange":{"type":"null"},"upstreamCostUsd":{"type":"number"}},"required":["query","timeRange","count","results","provider","retrievedAt","cached","upstreamCostUsd","attribution","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":181,"error":null}],"description_full":"Use when an agent needs current web results for a query. Input: q, optional max (1-10, default 5), time_range (day, week, month, year). Output: JSON results with title, URL and date when known, provider and retrieval time. For page text use /v1/web/search-read. Provider failure is not charged. Example: ?q=x402+payment+protocol&max=5","last_updated":"2026-10-25T13:59:40.29Z","schemes":["exact"]}