81trust / 100

News Search

by agentdata-api.sander-van-aard.workers.dev in Search & web

x402 APIPassing, checked 1 h ago

Google News search for AI agents at $0.010 per call, from the same Serper.dev source as /web/search. Send a query, get back compact JSON: top news results with position, title, url, snippet, publish date and source. Tune with num (1-10 results), country and language (2-letter codes). Zero results is a valid, honest answer. Pay per call in USDC on Base, no account, no API key.

POST https://agentdata-api.sander-van-aard.workers.dev/news/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
70 ms typical, 70 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 POST "https://agentdata-api.sander-van-aard.workers.dev/news/search" \
  -H "content-type: application/json" \
  -d '{"num":5,"query":"example news topic"}'
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%2Fagentdata-api.sander-van-aard.workers.dev%2Fnews%2Fsearch
const res = await pay("https://agentdata-api.sander-van-aard.workers.dev/news/search", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"num":5,"query":"example news topic"}),
});
console.log(await res.json());

Example input

{
  "num": 5,
  "query": "example news topic"
}

Example output

{
  "checked_at": "2026-07-30T08:00:00.000Z",
  "query": "example news topic",
  "results": [
    {
      "date": "2 hours ago",
      "position": 1,
      "snippet": "Short snippet of the story.",
      "source": "Example News",
      "title": "Example headline",
      "url": "https://example.com/news/1"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40239 ms$0.01
5 h agoPassed402200 ms$0.01
10 h agoPassed40270 ms$0.01