X

X402stock · Prediction Markets

by X402stock

GETBase

$0.03

per call · USD Coin on Base

Use to see where prediction-market money is flowing: the most recently traded Polymarket outcome tokens with implied probability (last on-chain price), today's VWAP and USD volume, and indexed totals — decoded by our own indexer from CTF Exchange V2 events on the public Polygon ledger, not from any Polymarket API. `?limit=` up to 100. From x402stock, a market & economic data API (x402, USDC).

Endpoint

GET https://x402stock.xyz/api/v1/prediction-markets

3

Calls / 30d

1

Unique payers / 30d

Aug 21

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

Example response

{
  "as_of": "2026-06-08T13:02:11.000Z",
  "count": 1,
  "indexer": {
    "cursor_neg_risk": 61234401,
    "cursor_standard": 61234567,
    "tokens_tracked": 412
  },
  "markets": [
    {
      "condition_id": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917",
      "implied_probability": 0.945,
      "last_block": 61234560,
      "last_side": "buy",
      "matches_indexed": 88123,
      "matches_today": 9123,
      "neg_risk": false,
      "title": "Will Donald Trump win the 2024 US Presidential Election?",
      "token_id": "21742633143463906290569050155826241533067272736897614950488156847949938836455",
      "updated_at": "2026-06-08T12:58:40.000Z",
      "volume_usd_indexed": 24310221.07,
      "volume_usd_today": 1842310.55,
      "vwap_today": 0.938
    }
  ],
  "note": "Implied probabilities decoded from CTF Exchange V2 OrdersMatched events on the public Polygon ledger (both standard and neg-risk exchanges). Not from any Polymarket API. Prices are USD per outcome token = implied probability.",
  "source": "x402stock",
  "venue": "polymarket"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Games & Fun and the homepage with a featured placement.

Get featured →

More from X402stock & similar services