81trust / 100
Kalshi Event
by Kalshi event detail in Markets & finance
x402 APIPassing, checked 35 min ago
Get full detail for a single Kalshi event with all its nested markets. 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.
POST https://agent402.tools/api/kalshi-event
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 188 ms typical, 189 ms slowest 5%
- Last check
- 35 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/kalshi-event" \
-H "content-type: application/json" \
-d '{"eventTicker":"KXELONMARS-99"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fkalshi-event
const res = await pay("https://agent402.tools/api/kalshi-event", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"eventTicker":"KXELONMARS-99"}),
});
console.log(await res.json());Example input
{
"eventTicker": "KXELONMARS-99"
}Example output
{
"category": "Politics",
"eventTicker": "PRES-24",
"marketCount": 2,
"markets": [
{
"eventTicker": "PRES-24",
"lastPrice": 0.46,
"noAsk": 0.55,
"noBid": 0.53,
"openInterest": 5678,
"status": "open",
"ticker": "PRES-24-DEM",
"title": "Will the Democratic nominee win?",
"venue": "kalshi",
"venueUrl": "https://kalshi.com/markets/pres-24-dem",
"volume": 12345,
"yesAsk": 0.47,
"yesAskSize": 323.1,
"yesBid": 0.45,
"yesBidSize": 471.53
}
],
"mutuallyExclusive": true,
"seriesTicker": "PRES",
"source": "kalshi",
"subTitle": "Who will win?",
"title": "2026 US Presidential election"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 35 min ago | Passed | 402 | 186 ms | $0.002 |
| 4 h ago | Passed | 402 | 189 ms | $0.002 |
| 7 h ago | Passed | 402 | 188 ms | $0.002 |
| 12 h ago | Passed | 402 | 205 ms | $0.002 |