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. Send POST /api/kalshi-live-data with no required fields (4 optional) and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with eventTicker, type, isHistorical, defaultRange, rangeOptions and 10 more.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
eventTicker | string | no | Kalshi event ticker, e.g. KXBTC-26SEP1817. Either this or seriesTicker. |
seriesTicker | string | no | Kalshi series ticker, e.g. KXBTC or KXCPI - the soonest open event of the series is resolved. |
range | string | no | Chart range hint for types that support it: 15min, 1h, 3h, 1d, 1w, 1m, 1y, 5y, all. |
limit | number | no | Newest points to keep per series and per candlestick interval (default 200, max 1000). |
Example request
curl -i -X POST https://agent402.tools/api/kalshi-live-data \
-H "Content-Type: application/json" \
-d '{"seriesTicker":"KXBTC","limit":5}'
Without payment this returns HTTP 402 Payment Required with the exact price for kalshi-live-data; any x402 v2 or MPP client pays it and retries.
Example response
{
"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"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
eventTicker | string | yes | KXBTC-26SEP1817 |
type | string | yes | crypto |
isHistorical | boolean | yes | false |
defaultRange | string | yes | 1h |
rangeOptions | array of string | yes | 3 items in the example |
coin | string | yes | BTC |
maturityTime | string | yes | 2026-09-18T21:00:00.000Z |
latest | object | yes | 2 fields: time, value |
seriesCount | number | yes | 5 |
series | array of objects | yes | 1 item in the example |
candlesticks | array of objects | yes | 1 item in the example |
details | object | yes | 3 fields: event_ticker, coin, maturity_ts_ms |
resolvedFrom | object | yes | 3 fields: seriesTicker, title, strikeDate |
range | null | no | null |
source | string | yes | kalshi |
From an MCP client
catalog.call {
"slug": "kalshi-live-data",
"params": {
"seriesTicker": "KXBTC",
"limit": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for kalshi-live-data; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
GETorHEADto /api/kalshi-live-data returns the same 402 quote, so the price can be read without a body. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
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";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
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
Kalshi city temperature index
POST /api/kalshi-weather-indexKalshi's own minute-resolution city temperature index (Fahrenheit), the series its hourly temperature markets settle on,…
Kalshi event detail
POST /api/kalshi-eventGet full detail for a single Kalshi event with all its nested markets. Mutually-exclusive flag tells you whether the mar…
Kalshi markets list
POST /api/kalshi-marketsList Kalshi markets (CFTC-regulated US event contracts). Filter by status (open/closed/settled/unopened) or by event tic…
Known-address label lookup
POST /api/address-labelLabel a known EVM address from a curated, committed dataset: major stablecoin + token contracts (the USDC and USDG contr…
Wallet token transfers (filtered)
POST /api/asset-transfersRecent token transfers for a wallet on Base, Ethereum and other EVM chains, newest first. Filtered transfer log for an E…
Block info
GET /api/block-infoHeader-level detail for one block on Ethereum, Base, Polygon, Arbitrum, or Optimism: hash, timestamp (unix + ISO), trans…