Skip to content
Fourohtwo

Use when an agent needs current web results for a query

1gateway.dev/v1/web/search

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

BaseMonadPolygonArbitrumSolanaAnswering
GEThttps://1gateway.dev/v1/web/search

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://1gateway.dev/v1/web/search?max=5&q=x402+payment+protocol&time_range=month");
console.log(await res.json());

Example input

{
  "max": 5,
  "q": "x402 payment protocol",
  "time_range": "month"
}

More from Web SearchProvider status