81trust / 100

Proxy Web Search

by Wikipedia Search in Search & web

x402 APIPassing, checked 4 h ago

Quick factual lookup: a plain-language summary (abstract) plus up to 5 relevant links from Wikipedia. Best for people, places, concepts, history and science. Returns links, not page content: to get the content of the top results in the same call, use search-read. Not for breaking news: use news-search. Params: query (required).

POST https://agentsvc.io/api/v1/proxy/web-search

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/web-search" \
  -H "content-type: application/json" \
  -d '{"query":"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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fweb-search
const res = await pay("https://agentsvc.io/api/v1/proxy/web-search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"x402 payment protocol"}),
});
console.log(await res.json());

Example input

{
  "query": "x402 payment protocol"
}

Example output

{
  "data": {
    "abstract": "Paris is the capital and most populous city of France. With an official estimated population of 2,102,650 residents as of 1 January 2023 in an area of more than 105 km²...",
    "abstract_source": "Wikipedia",
    "abstract_url": "https://en.wikipedia.org/wiki/Paris",
    "answer": "",
    "heading": "Paris",
    "query": "capital of France",
    "results": [
      {
        "text": "Paris — Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Paris"
      },
      {
        "text": "Visit Paris — Official Tourism Site",
        "url": "https://www.parisinfo.com/"
      }
    ]
  },
  "success": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40234 ms$0.0035