During development, you can use the developer endpoints
without an API key. For production use, request an API key
for higher rate limits.
- Using the settlement mint (USDC or CASH) is the direct path.
- Any other SPL token adds a swap leg first and roughly 50ms of latency.
With USDC or CASH
Every market supports both USDC and CASH as settlement mints. Pass your chosen mint asinputMint and the outcome token as outputMint.
Set up
Imports, env config, and the wallet/connection used across every step.
Imports, env, and wallet
Imports, env, and wallet
With any SPL token
The/order endpoint accepts any SPL token as inputMint. It automatically routes through the settlement mint: Input Token → Settlement Mint → Outcome Token. The transaction returned covers both legs.
Set amount in the input token’s native decimals (9 for SOL, 6 for USDC).
Market initialization
The first trade into a market that has not yet been tokenized incurs a one-time fee of approximately 0.02 SOL, paid in SOL. The/order endpoint detects this automatically and includes the initialization instruction in the transaction. No code changes are required.
Related Resources
Prediction Market Quickstart
Build a Kalshi prediction market integration end-to-end.
Change Position Size
Increase or decrease an existing prediction market position.
KYC for Kalshi
Verify wallets before they receive Kalshi outcome tokens.
Authenticate Requests
Authenticate requests for production rate limits.