> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Kalshi

> CFTC-regulated event contract exchange providing market data for prediction markets on economic indicators, weather, politics, and more.

CFTC-regulated event contract exchange providing market data for prediction markets on economic indicators, weather, politics, and more. Best for accessing regulated prediction market probabilities with full orderbook and trade data. Unlike Polymarket (crypto-based, broader events), Kalshi operates under U.S. regulatory oversight with structured event contracts.

3 example endpoints available through Lava's AI Gateway. See the [Kalshi API docs](https://docs.kalshi.com) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.elections.kalshi.com/trade-api/v2` is supported. Prediction market data API. Construct URL as [https://api.elections.kalshi.com/trade-api/v2/\&#123;endpoint\&#125](https://api.elections.kalshi.com/trade-api/v2/\&#123;endpoint\&#125);. Common endpoints: /markets?limit=5, /events?limit=5, /series, /exchange/status. The endpoints below are curated examples.</Info>

## Endpoints

### List markets

**GET** `https://api.elections.kalshi.com/trade-api/v2/markets?limit=5` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.elections.kalshi.com/trade-api/v2/markets?limit=5', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.elections.kalshi.com%2Ftrade-api%2Fv2%2Fmarkets%3Flimit%3D5" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### List events

**GET** `https://api.elections.kalshi.com/trade-api/v2/events?limit=5` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.elections.kalshi.com/trade-api/v2/events?limit=5', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.elections.kalshi.com%2Ftrade-api%2Fv2%2Fevents%3Flimit%3D5" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get exchange status

**GET** `https://api.elections.kalshi.com/trade-api/v2/exchange/status` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.elections.kalshi.com/trade-api/v2/exchange/status', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.elections.kalshi.com%2Ftrade-api%2Fv2%2Fexchange%2Fstatus" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
