Kalshi event detail
POST /api/kalshi-eventGet full detail for a single Kalshi event with all its nested markets. Send POST /api/kalshi-event with the required field eventTicker and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with eventTicker, title, subTitle, seriesTicker, category and 4 more.
Mutually-exclusive flag tells you whether the markets partition outcome space (e.g. one winner). Useful for: viewing all candidates in an election, all CPI ranges, all weather buckets.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
eventTicker | string | yes | Kalshi event ticker, e.g. PRES-24, CPI-25APR. |
Example request
curl -i -X POST https://agent402.tools/api/kalshi-event \
-H "Content-Type: application/json" \
-d '{"eventTicker":"KXELONMARS-99"}'
Without payment this returns HTTP 402 Payment Required with the exact price for kalshi-event; any x402 v2 or MPP client pays it and retries.
Example response
{
"eventTicker": "PRES-24",
"title": "2026 US Presidential election",
"subTitle": "Who will win?",
"seriesTicker": "PRES",
"category": "Politics",
"mutuallyExclusive": true,
"marketCount": 2,
"markets": [
{
"ticker": "PRES-24-DEM",
"eventTicker": "PRES-24",
"title": "Will the Democratic nominee win?",
"status": "open",
"yesBid": 0.45,
"yesAsk": 0.47,
"noBid": 0.53,
"noAsk": 0.55,
"lastPrice": 0.46,
"volume": 12345,
"openInterest": 5678,
"yesBidSize": 471.53,
"yesAskSize": 323.1,
"venue": "kalshi",
"venueUrl": "https://kalshi.com/markets/pres-24-dem"
}
],
"source": "kalshi"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
eventTicker | string | yes | PRES-24 |
title | string | yes | 2026 US Presidential election |
subTitle | string | yes | Who will win? |
seriesTicker | string | yes | PRES |
category | string | yes | Politics |
mutuallyExclusive | boolean | yes | true |
marketCount | number | yes | 2 |
markets | array of objects | yes | 1 item in the example |
source | string | yes | kalshi |
From an MCP client
catalog.call {
"slug": "kalshi-event",
"params": {
"eventTicker": "KXELONMARS-99"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for kalshi-event; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
eventTickeris required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- 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-event 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-event", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"eventTicker": "KXELONMARS-99"
}),
});
Related tools
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…
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 pri…
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,…
Contract event logs
POST /api/event-logsFetch contract event logs (eth_getLogs) on Ethereum, Base, Polygon, Arbitrum, or Optimism - bounded so it always answers…
Function selector / event topic lookup
POST /api/selector-lookupResolve a 4-byte function selector or a 32-byte event topic hash to its known human-readable Solidity signatures, via th…
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…