X

X402stock · News

by X402stock

GETBase

$0.02

per call · USD Coin on Base

Curated stock-market news with ticker tags, source, publisher, image, and timestamps. Pass `?ticker=AAPL` to filter. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.

Endpoint

GET https://x402stock.xyz/api/v1/news

540

Calls / 30d

7

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.xyz/api/v1/news", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/news?limit=10&ticker=AAPL" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "articles": [
    {
      "author": "Jane Reporter",
      "description": "Shares climbed on strong services revenue.",
      "id": "abc123",
      "image_url": "https://example.com/img/apple.jpg",
      "keywords": [
        "earnings",
        "services"
      ],
      "published_at": "2026-05-29T12:00:00Z",
      "publisher": "Example Wire",
      "publisher_homepage": "https://example.com",
      "tickers": [
        "AAPL"
      ],
      "title": "Apple reaches new all-time high",
      "url": "https://example.com/news/apple-high"
    }
  ],
  "as_of": "2026-05-29T20:00:00.000Z",
  "count": 1,
  "source": "x402stock"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of News & Content and the homepage with a featured placement.

Get featured →

More from X402stock & similar services