80trust / 100

News Type

by x402.coinstats.app in News & content

x402 APIPassing, checked 2 h ago

CoinStats crypto news filtered by topic (handpicked, trending, latest, bullish, bearish)

GET https://x402.coinstats.app/news/type/:type

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
32 ms typical, 324 ms 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://x402.coinstats.app/news/type/:type?limit=100&page=1"
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%2Fx402.coinstats.app%2Fnews%2Ftype%2F%3Atype
const res = await pay("https://x402.coinstats.app/news/type/:type?limit=100&page=1");
console.log(await res.json());

Example input

{
  "limit": "100",
  "page": "1"
}

Example output

[
  {
    "description": "coingape.com.",
    "feedDate": 1756204736000,
    "id": "376f390df50a1d44cb5593c9bff6faafabed18ee90e0d4d737d3b6d3eea50c80",
    "isFeatured": false,
    "link": "https://coingape.com/trending/why-is-xrp-price-down-even-after-the-ripple-lawsuit-end/?utm_medium=referral&utm_source=coinstats",
    "searchKeyWords": [
      "xrp",
      "XRP"
    ],
    "source": "CoinGape",
    "title": "Why is XRP Price Down Even After the Ripple Lawsuit End?"
  }
]

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402324 ms$0.001
6 h agoPassed402496 ms$0.001
10 h agoPassed40231 ms$0.001
13 h agoPassed40229 ms$0.001
17 h agoPassed40231 ms$0.001
20 h agoPassed402235 ms$0.001
26 h agoPassed40232 ms$0.001