25trust / 100

News

by Aayat AI in News & content

x402 APIFailing, checked 58 min ago

Research any topic across Hacker News and headlines from major outlets (BBC, Guardian, Ars Technica, TechCrunch, crypto news and more), Lobsters, Lemmy and DEV in one call: recent stories merged, de-duplicated and sorted newest first, with links, discussion threads, points, comment counts and outlets. q is the topic; days (1-30, default 7) is how far back to look; sources picks which feeds to search. For an AI-written summary with citations use /news/brief. ?q=topic&days=7

GET https://aayatai.com/news

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
622 ms typical, 622 ms slowest 5%
Last check
58 min ago: Expected HTTP 402, got 410
Next check
in 4 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/news?days=7&q=AI+agents"
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%2Faayatai.com%2Fnews
const res = await pay("https://aayatai.com/news?days=7&q=AI+agents");
console.log(await res.json());

Example input

{
  "days": 7,
  "q": "AI agents"
}

Example output

{
  "days": 7,
  "items": [
    {
      "comments": 140,
      "discussionUrl": "https://news.ycombinator.com/item?id=1",
      "outlet": "x402.org",
      "publishedAt": "2026-09-27T10:15:00Z",
      "score": 312,
      "snippet": null,
      "source": "hackernews",
      "title": "x402: an open payment protocol for the web",
      "url": "https://x402.org"
    }
  ],
  "query": "AI agents",
  "sources": [
    {
      "count": 1,
      "name": "hn",
      "ok": true
    },
    {
      "count": 0,
      "name": "lemmy",
      "ok": true
    },
    {
      "count": 0,
      "name": "news",
      "ok": true
    }
  ],
  "total": 1
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
58 min agoExpected HTTP 402, got 41041034 ms-
5 h agoExpected HTTP 402, got 41041036 ms-
10 h agoExpected HTTP 402, got 410410254 ms-
14 h agoExpected HTTP 402, got 41041049 ms-
18 h agoExpected HTTP 402, got 41041036 ms-
22 h agoExpected HTTP 402, got 410410124 ms-
26 h agoExpected HTTP 402, got 41041034 ms-
30 h agoExpected HTTP 402, got 410410156 ms-
34 h agoExpected HTTP 402, got 410410221 ms-
39 h agoExpected HTTP 402, got 41041041 ms-
42 h agoExpected HTTP 402, got 410410293 ms-
47 h agoExpected HTTP 402, got 41041039 ms-
2 days agoExpected HTTP 402, got 41041035 ms-
2 days agoExpected HTTP 402, got 41041037 ms-
2 days agoPassed402622 ms$0.01