81trust / 100

Search Contents

by x402 Web Search in Search & web

x402 APIPassing, checked 1 h ago

Web search with the page text already extracted: one call returns the top results for a query AND the readable content of each result page (JavaScript rendered, markdown or text, truncated to max_chars). What an agent needs to answer a question with sources without a second round of fetches. Up to 5 pages per call, fetched in parallel.

GET https://search.cyberwarex.com/search-contents

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
241 ms typical, 241 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://search.cyberwarex.com/search-contents?format=markdown&max_chars=4000&max_results=3&q=x402+payment+protocol"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsearch.cyberwarex.com%2Fsearch-contents
const res = await pay("https://search.cyberwarex.com/search-contents?format=markdown&max_chars=4000&max_results=3&q=x402+payment+protocol");
console.log(await res.json());

Example input

{
  "format": "markdown",
  "max_chars": 4000,
  "max_results": 3,
  "q": "x402 payment protocol"
}

Example output

{
  "count": 2,
  "fetched": 2,
  "query": "x402 payment protocol",
  "results": [
    {
      "chars": 3990,
      "content": "# x402\n\nx402 is an open payment standard...",
      "engine": "google",
      "snippet": "An open standard...",
      "status": 200,
      "title": "x402",
      "truncated": true,
      "url": "https://x402.org"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402218 ms$0.006
5 h agoPassed402328 ms$0.006
10 h agoPassed402241 ms$0.006