81trust / 100
Kalshi Markets
by Kalshi markets list in Markets & finance
x402 APIPassing, checked 7 min ago
List Kalshi markets (CFTC-regulated US event contracts). Filter by status (open/closed/settled/unopened) or by event ticker. Returns yes/no bid/ask, last price, volume, open interest, and the resting contract size at the best yes bid and ask (yesBidSize/yesAskSize). Covers US-regulated markets and Kalshi-only categories (weather, economic data).
POST https://agent402.tools/api/kalshi-markets
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 183 ms typical, 183 ms slowest 5%
- Last check
- 7 min ago
- Next check
- in 25 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/kalshi-markets" \
-H "content-type: application/json" \
-d '{"limit":5,"status":"open"}'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-markets
const res = await pay("https://agent402.tools/api/kalshi-markets", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":5,"status":"open"}),
});
console.log(await res.json());Example input
{
"limit": 5,
"status": "open"
}Example output
{
"count": 1,
"cursor": "next-page-token",
"markets": [
{
"closeTime": "2026-11-03T23:59:00Z",
"eventTicker": "PRES-24",
"lastPrice": 0.46,
"noAsk": 0.55,
"noBid": 0.53,
"openInterest": 5678,
"openTime": "2026-01-01T00:00:00Z",
"status": "open",
"subtitle": "2026 US Presidential election",
"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
}
],
"source": "kalshi"
}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 |
|---|---|---|---|---|
| 7 min ago | Passed | 402 | 192 ms | $0.002 |
| 5 h ago | Passed | 402 | 183 ms | $0.002 |