Skip to content
Fourohtwo

vaaya.ai/api/run/brave/search

Brave — keyword web search over Brave's own independent index (not Google/Bing). Pass `q`; optional `count` (1-20), `offset` (pagination), `country` (2-letter), `search_lang`, `freshness` (pd|pw|pm|py or YYYY-MM-DDtoYYYY-MM-DD), `safesearch`, `result_filter` (comma list: web,news,videos,faq,discussions), `extra_snippets` (up to 5 alternative excerpts per hit). Returns ranked results with snippets

BaseAnswering
POSThttps://vaaya.ai/api/run/brave/search

Uptime100% of 1 check 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

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://vaaya.ai/api/run/brave/search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"count":5,"q":"x402 payment protocol"}),
});
console.log(await res.json());

Example input

{
  "count": 5,
  "q": "x402 payment protocol"
}

More from Vaaya