24trust / 100

Trends

by Aayat AI in News & content

x402 APIFailing, checked 2 h ago

Is interest in a topic rising or falling? Wikipedia page views, worldwide news volume (GDELT) and Hacker News stories, each with its total and change over the window, plus an overall verdict. topic is the subject; days is the window (14-90, default 30); wikipedia_article sets the exact Wikipedia title when it differs from the topic. ?topic=AI agents&days=30

GET https://aayatai.com/trends

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
780 ms typical, 780 ms slowest 5%
Last check
2 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/trends?days=28&topic=Kubernetes"
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%2Ftrends
const res = await pay("https://aayatai.com/trends?days=28&topic=Kubernetes");
console.log(await res.json());

Example input

{
  "days": 28,
  "topic": "Kubernetes"
}

Example output

{
  "days": 28,
  "hackerNews": {
    "changePct": -8.7,
    "direction": "steady",
    "series": [
      {
        "count": 11,
        "date": "2026-09-02"
      }
    ],
    "total": 44
  },
  "news": null,
  "note": "changePct compares the second half of the window with the first; direction is rising/falling beyond ±15%. (Series shortened in this example.)",
  "source": "Wikimedia Pageviews (CC0); GDELT Project; Hacker News via Algolia",
  "topic": "Kubernetes",
  "unavailable": {
    "news": "The data source (api.gdeltproject.org) took too long."
  },
  "verdict": "steady",
  "wikipedia": {
    "article": "Kubernetes",
    "changePct": 20.2,
    "direction": "rising",
    "series": [
      {
        "count": 936,
        "date": "2026-09-02"
      }
    ],
    "total": 24500
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 410410136 ms-
6 h agoExpected HTTP 402, got 41041061 ms-
11 h agoExpected HTTP 402, got 41041044 ms-
15 h agoExpected HTTP 402, got 41041044 ms-
19 h agoExpected HTTP 402, got 410410152 ms-
23 h agoExpected HTTP 402, got 41041032 ms-
27 h agoExpected HTTP 402, got 410410109 ms-
31 h agoExpected HTTP 402, got 410410122 ms-
35 h agoExpected HTTP 402, got 410410188 ms-
39 h agoExpected HTTP 402, got 41041040 ms-
43 h agoExpected HTTP 402, got 410410213 ms-
2 days agoExpected HTTP 402, got 410410271 ms-
2 days agoExpected HTTP 402, got 410410238 ms-
2 days agoExpected HTTP 402, got 41041037 ms-
2 days agoPassed402780 ms$0.03