Perpetual futures
Kalshi perps
Kalshi perps (CFTC-regulated US exchange): each market's leverage by size and side, margin rule, funding, hours, halts, rule changes; worst case and cost to hold.
kalshi_perpscurl https://mcp.optimistfi.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"kalshi_perps","arguments":{"symbol":"NVDA","size_usd":1000,"leverage":2}}}'When a model calls it
Models choose a tool from its description. This is the one the server publishes:
Kalshi perps (CFTC-regulated US exchange): each market's leverage by size and side, margin rule, funding, hours, halts, rule changes; worst case and cost to hold. Use when the user asks: Kalshi leverage on X; when does Kalshi trade X; cost of a 3x NVDA long. Not for: Kalshi's BTC odds → get_perps_desk. Args: symbol; size_usd; leverage; side; limit.
- Kalshi leverage on X
- when does Kalshi trade X
- cost of a 3x NVDA long
For something else: get_perps_desk.
Parameters
symbolstring
One Kalshi market by ticker or name (NVDA, BTC, Gold, US 500, WTI): leverage by size and side, funding, hours, holidays, liquidation levels and its own changes. Unset: every market by class.
size_usdnumber
Calculator: position size in dollars (1000). Needs symbol and leverage.
At least 10.
leveragenumber
Calculator: leverage asked (2); cut to Kalshi's estimate at that size and side.
At least 1.
sidestringdefault "long"
Calculator: long or short.
Accepts long, short.
limitintegerdefault 20
Change-log rows, newest first.
At least 1.
Response
A real response to the example call, trimmed: lists cut to two items, long text cut short. The result's content holds the answer as JSON text; parsed, it reads:
{
"type": "kalshi_perps",
"as_of": "2026-12-01T23:15:32.269Z",
"confidence": "reported",
"source": {
"name": "Kalshi's public perps API, read by OptimistFi",
"url": "https://optimistfi.com/perps/venues/kalshi",
"license": "computed"
},
"data": {
"venue": {
"name": "Kalshi",
"kind": "CFTC-regulated US exchange (designated contract market)",
"openTo": "US residents, after ID check and perps approval",
"hub": "https://optimistfi.com/perps/venues/kalshi"
},
"margin": {
"rule": "Opening a position takes 1.3 times the maintenance margin on every market, and a position is closed when its margin falls to the maintenance level.",
"initialMarginMultiplier": 1.3,
"liquidationMarginRatio": 1,
"queueEntryMarginRatio": 0.91,
"leverageNote": "Kalshi publishes leverage estimates by position size ($1,000, $10,000, $100,000, $1 million) and by side; a larger position or the other side can allow less."
},
"fees": {
"unverified": {
"takerPct": 0.12,
"makerPct": 0.02,
"label": "unverified, read Sept. 25 via third party"
},
"charged": "On full position size, to open and to close",
"note": "Kalshi's perps fees are not in its public API. The fee figures here use a 0.12% taker and 0.02% maker rate (unverified, read Sept. 25 via third party), the same figures the hub's calculator shows with that label; check Kalshi's fee schedule before trading."
},
"interest": {
"apyPct": 3.5000000000000004,
"note": "Kalshi pays 3.5% APY on perps cash and open positions, variable, and 7% on days with a qualifying position (Kalshi help, read 2026-11-18)."
},
"market": {
"ticker": "KXNVDAPERP",
"name": "NVDA",
"title": "NVDA",
"class": "Stocks and funds",
"status": "trading",
"haltReasons": [],
"contract": "0.02 shares",
"price": 156.16,
"referencePrice": 156.32,
"referenceAt": "2026-12-01T23:15:33.000Z",
"openInterestUsd": 4036046,
"volume24hUsd": 48478782,
"leverage": [
{
"positionUsd": 1000,
"long": 4.2574,
"short": 3.1954
},
{
"positionUsd": 10000,
"long": 4.2574,
"short": 3.1954
},
"… 2 more"
],
"marginMultiplier": 1.3,
"liquidation": [
{
"leverage": "2x",
"longFall": 0.3897,
"shortRise": 0.209
},
{
"leverage": "3.2x (highest at $1,000, short)",
"longFall": 0.1614,
"shortRise": 0.0582
},
"… 1 more"
],
"funding": {
"schedule": "Once a day, 4 p.m. ET",
"windowsPerDay": 1,
"nextAt": "2026-12-02T21:00:00Z",
"capPerWindow": 0.02,
"latestHourlyRate": -0.0000082355,
"latestRateSource": "OptimistFi's live perps snapshot, Kalshi quote, divided down to one hour"
},
"hours": {
"now": "open",
"nextClose": "2026-12-02T22:00:00.000Z",
"weekly": "Sun. 6 p.m. to Fri. 5 p.m. ET, break 5 to 6 p.m.",
"holidays": [
{
"from": "2026-12-24T18:00:00Z",
"reason": "Christmas Eve (early close 1:00pm ET)",
"until": "2026-12-24T23:00:00Z"
},
{
"from": "2026-12-24T23:00:00Z",
"reason": "Christmas Day closure begins 6:00pm ET",
"until": "2026-12-25T05:00:00Z"
},
"… 1 more"
]
},
"corporateActions": []
},
"calculator": {
"available": true,
"input": {
"sizeUsd": 1000,
"leverageAsked": 2,
"side": "long"
},
"capAtThisSizeAndSide": 4.2574,
"leverageUsed": 2,
"marginUsd": 500,
"liquidationMove": 0.3897,
"liquidationPrice": 95.298642,
"lossAtLiquidationUsd": 389.74,
"worstCaseUsd": 500,
"worstCaseMeaning": "the margin posted, before fees",
"trueCost": {
"fundingPerDayUsd": -0.2,
"fundingMeaning": "positive is paid, negative is received, at the latest rate",
"fundingMaxPerWindowUsd": 20,
"windowsPerDay": 1,
"feesUnverified": {
"openUsd": 1.2,
"closeUsd": 1.2,
"takerPct": 0.12,
"label": "unverified, read Sept. 25 via third party"
},
"interestPerDayUsd": 0.048,
"openHoldOneDayCloseUsd": 2.15,
"openHoldOneDayCloseMeaning": "unverified fees to open and close, plus a day's funding at the latest rate (0 when unknown), less a day's interest at 3.5% APY"
},
"note": "Estimates from Kalshi's public parameters, not Kalshi figures. The liquidation level uses maintenance margin = 1 / (margin multiplier x the leverage estimate at this size and side); Kalshi liquidates on its own liquidation mark price and its app may show a nearer level. Worst …"
},
"changes": {
"count": 0,
"events": []
}
}
}Fields are explained in Reading a response.
Errors
isError: true and the reason in words. A company or market the server cannot match comes back as a result naming what was not found. See Errors and limits.
