Skip to main content

Welcome to Kalshi’s API Documentation

This documentation covers the Kalshi Exchange API for real-time market data and trade execution

By continuing to use or access Kalshi’s API, you are agreeing to be bound to our Developer Agreement

The APIs

Predictions APIs

Event-contract markets: REST, WebSocket, and FIX.

Perps APIs

Perpetual futures (margin): REST, WebSocket, and FIX.

Get started

Making Your First Request

Make your first API call and start trading on Kalshi.

Demo Environment

Build and test safely against the demo environment.

API Keys

Generate and manage your API credentials.

Kalshi Academy

New to prediction markets? Explore educational resources and tutorials.

Reference

Rate Limits

Token budgets, tiers, and bursting.

Changelog

Stay updated with the latest API changes.

Glossary

Key terms and concepts used across the exchange.

Specifications

Predictions REST

Download openapi.yaml for event-contract REST API integration.

Predictions WebSocket

Download asyncapi.yaml for event-contract WebSocket integration.

Perps REST

Download perps_openapi.yaml for perpetual futures REST API integration.

Perps WebSocket

Download perps_asyncapi.yaml for perpetual futures WebSocket integration.