82trust / 100

News

by StableFinance in Markets & finance

x402 APIPassing, checked 2 h ago

Recent articles. With ticker: company news. Without: market news.

GET https://stablefinance.dev/api/news

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
292 ms typical, 292 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://stablefinance.dev/api/news?limit=5&ticker=AAPL"
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%2Fstablefinance.dev%2Fapi%2Fnews
const res = await pay("https://stablefinance.dev/api/news?limit=5&ticker=AAPL");
console.log(await res.json());

Example input

{
  "limit": 5,
  "ticker": "AAPL"
}

Example output

{
  "news": [
    {
      "date": "2026-05-28",
      "source": "Reuters",
      "ticker": "AAPL",
      "title": "Apple announces record quarterly results",
      "url": "https://www.reuters.com/..."
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402503 ms$0.02
7 h agoPassed402292 ms$0.02