74trust / 100

Trends

by ReadX in News & content

x402 APIPassing, checked 2 h ago

Trending topics for a location (worldwide by default; filter with country or woeid). Example: GET /api/trends?country=US

GET https://readx.sh/api/trends

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.3 s typical, 1.5 s slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://readx.sh/api/trends?country=US"
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%2Freadx.sh%2Fapi%2Ftrends
const res = await pay("https://readx.sh/api/trends?country=US");
console.log(await res.json());

Example input

{
  "country": "US"
}

Example output

{
  "code": 0,
  "data": {
    "as_of": "2026-07-25T04:51:10Z",
    "location": "United States",
    "status": "success",
    "trends": [
      {
        "is_hashtag": true,
        "name": "#TypeScript",
        "promoted": false,
        "query": "#TypeScript",
        "rank": 1,
        "search_url": "https://x.com/search?q=%23TypeScript&src=trend_click",
        "tweet_volume": 18452
      },
      {
        "is_hashtag": false,
        "name": "Cloudflare",
        "promoted": false,
        "query": "Cloudflare",
        "rank": 2,
        "search_url": "https://x.com/search?q=Cloudflare&src=trend_click",
        "tweet_volume": null
      }
    ],
    "trends_count": 2,
    "woeid": 23424977
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed4021.2 s$0.01
5 h agoPassed4021.2 s$0.01
9 h agoPassed4021.3 s$0.01
12 h agoPassed4021.4 s$0.01
16 h agoPassed4021.9 s$0.01
20 h agoPassed4021.2 s$0.01
24 h agoPassed402519 ms$0.01
27 h agoPassed4021.4 s$0.01
31 h agoPassed4021.1 s$0.01
34 h agoPassed4021.5 s$0.01
38 h agoPassed4021.4 s$0.01
43 h agoPassed4021.4 s$0.01