Skip to content
Fourohtwo

Use when an agent needs to search and read in one call

1gateway.dev/v1/web/search-read

Use when an agent needs to search and read in one call. Input: q, optional max (1-10, default 5), time_range (day, week, month, year). Output: JSON results (title, URL, date) and, for the top 3, the page converted to Markdown (up to 4,000 characters each; a page that fails is marked, the rest still ship). Provider failure is not charged. Example: ?q=EU+AI+Act+timeline&max=5

BaseMonadSolanaAnswering
GEThttps://1gateway.dev/v1/web/search-read

Uptime100% of 3 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-read?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"
}