X

X402stock · Xstocks

by X402stock

GETBase

$0.04

per call · USD Coin on Base

Use to monitor tokenized US equities (xStocks) against their real underlyings: every tracked xStock's on-chain price decoded from Raydium CLMM pool state on the public Solana ledger (no Backed/Chainlink/Pyth API), the underlying's live quote, and the premium/discount percent — plus pool liquidity, scaled-UI multiplier, and a us_market_open arb-context flag. From x402stock

Endpoint

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

1

Calls / 30d

1

Unique payers / 30d

Aug 17

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/xstocks", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/xstocks" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-06-08T13:02:11.000Z",
  "count": 1,
  "items": [
    {
      "liquidity": 8312047113.2,
      "mint": "XsbEhLAtcf6HdfpFZ5xEMdqW8nfAvcsP5bdudRLJzJp",
      "multiplier": 1.000139,
      "pool": "CKwJZwm7oj3nu4653N1EpDrqXbXAYXoPFiPeEnLouF8y",
      "pool_price_raw_unit": 291.16,
      "premium_percent": 0.24,
      "symbol": "AAPLx",
      "tick_current": 10688,
      "underlying": "AAPL",
      "underlying_change_percent": 0.82,
      "underlying_market_status": "closed",
      "underlying_price_usd": 290.43,
      "xstock_price_usd": 291.12
    }
  ],
  "note": "xStock prices decoded from Raydium CLMM pool state (sqrt_price_x64) on the public Solana ledger — not from any Backed/xStocks, Chainlink, or Pyth API. Per-share price accounts for the Token-2022 scaled-UI multiplier. The AMM price is arb-anchored to the underlying only while US markets are open (us_market_open); off-hours it is the market's standing 24/7 price discovery.",
  "program": "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
  "protocol": "raydium-clmm",
  "sections": {
    "onchain": "ok",
    "underlying": "ok"
  },
  "source": "x402stock",
  "us_market_open": false,
  "venue": "solana"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from X402stock & similar services