Kalshi live data behind an event
POST /api/kalshi-live-dataThe live feed a Kalshi event settles on, from Kalshi's free live_data tier: a crypto event returns the CF Benchmarks price series, candlesticks (15M, 1M) and the maturity time; an economic-data event (CPI, jobs) returns the provider's series with the target period. Pass an eventTicker, or a seriesTicker (e.g. KXBTC) and the soonest open event is resolved for you. The type field names the schema of details.
Input
| Field | Type | Description |
|---|---|---|
eventTicker | string | Kalshi event ticker, e.g. KXBTC-26SEP1817. Either this or seriesTicker. |
seriesTicker | string | Kalshi series ticker, e.g. KXBTC or KXCPI - the soonest open event of the series is resolved. |
range | string | Chart range hint for types that support it: 15min, 1h, 3h, 1d, 1w, 1m, 1y, 5y, all. |
limit | number | Newest points to keep per series and per candlestick interval (default 200, max 1000). |
Example output
{
"eventTicker": "KXBTC-26SEP1817",
"type": "crypto",
"isHistorical": false,
"defaultRange": "1h",
"rangeOptions": [
"15min",
"1h",
"3h"
],
"coin": "BTC",
"maturityTime": "2026-09-18T21:00:00.000Z",
"latest": {
"time": "2026-09-18T16:22:00.000Z",
"value": 80867.31
},
"seriesCount": 5,
"series": [
{
"time": "2026-09-18T16:22:00.000Z",
"value": 80867.31
}
],
"candlesticks": [
{
"interval": "15M",
"count": 5,
"candles": [
{
"time": "2026-09-18T16:15:00.000Z",
"open": 80703.13,
"high": 80868.42,
"low": 80664.65,
"close": 80867.31
}
]
}
],
"details": {
"event_ticker": "KXBTC-26SEP1817",
"coin": "BTC",
"maturity_ts_ms": 1789765200000
},
"resolvedFrom": {
"seriesTicker": "KXBTC",
"title": "BTC price range on Sep 18, 2026 at 5pm EDT?",
"strikeDate": "2026-09-18T21:00:00Z"
},
"range": null,
"source": "kalshi"
}
Try it - see the 402 challenge (free)
curl -i -X POST https://agent402.tools/api/kalshi-live-data \
-H "Content-Type: application/json" \
-d '{"seriesTicker":"KXBTC","limit":5}'
The response is HTTP 402 Payment Required with exact payment requirements. Any x402 v2 client pays automatically and retries:
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
import { metaTitle, metaDescription } from "./seo-meta.js";
const client = new x402Client();
client.setSpendControls?.(false); // @x402/core 2.23+ refuses anything over $1 or off the pegged-asset list by default; keep your own ceiling in code instead
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/kalshi-live-data", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"seriesTicker": "KXBTC",
"limit": 5
}),
});
Related tools
Crypto order book
GET /api/crypto-orderbookL2 order-book snapshot for a spot pair: best bid/ask, mid price, spread (absolute + %), and the top N aggregated price l…
try in playground →Stablecoin peg monitor
GET /api/stablecoin-pegLive $1-peg deviation for the top USD stablecoins (USDT, USDC, USDS, DAI, USDe, PYUSD, USDD, TUSD, FDUSD by default, or …
try in playground →Wallet balance (native + ERC-20)
POST /api/wallet-balanceLook up the native coin balance (ETH/MATIC) plus every ERC-20 holding for a wallet address on Ethereum, Base, Polygon, A…
try in playground →