Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/web-search

Runs a web search through a licensed search API (Exa or Brave) and returns up to 10 ranked results with title, URL, snippet, highlights and published date, for agents that need current links. Does not scrape search engines, does not fetch or summarize the result pages (use page-contents for that), and does not use a model.

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/web-search

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/web-search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"x402 payment protocol HTTP 402","num_results":5,"include_text":true}),
});
console.log(await res.json());

Example input

{
  "query": "x402 payment protocol HTTP 402",
  "num_results": 5,
  "include_text": true
}