← All 40 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callMarket DataBase & Polygon x402 v2

GPU-x402 Live Kalshi Prediction Markets & Odds Oracle

Sub-second regulated US Kalshi event contracts: live YES/NO bid-ask prices, implied probabilities, spread bps, 24h volume & open interest ($0.005 USDC).

Endpoint & Settlement Specs

x402 Endpoint: POST https://agentx402.fyi/x402/markets/kalshi
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

curl -i -X POST https://agentx402.fyi/x402/markets/kalshi \
  -H 'Content-Type: application/json' \
  -d '{"query": "Fed", "limit": 5, "sort_by": "volume_24h"}'

TypeScript Autonomous Agent (@x402/fetch)

import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/markets/kalshi", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"query": "Fed", "limit": 5, "sort_by": "volume_24h"})
});
console.log(await res.json());

Example JSON Input

{
  "query": "Fed",
  "limit": 5,
  "sort_by": "volume_24h"
}

Example JSON Output

{
  "query": "Fed",
  "count": 5,
  "markets": [
    {
      "ticker": "KXFED-26DEC-T4.25",
      "event_ticker": "KXFED-26DEC",
      "title": "Fed target rate decision",
      "category": "Economics",
      "yes_bid": 0.42,
      "yes_ask": 0.44,
      "last_price": 0.43,
      "implied_yes_prob_pct": 43.0,
      "bid_ask_spread_bps": 200,
      "volume_24h": 15240.0,
      "open_interest": 89100.0,
      "status": "active"
    }
  ]
}