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

# Get Kalshi Market Data

> Retrieve raw Kalshi order book events for a specific market ticker on a given date.

## Request

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token. Example: `Bearer YOUR_API_KEY`
</ParamField>

### Query Parameters

<ParamField query="ticker" type="string" required>
  The Kalshi market ticker. Values are normalized to uppercase.
</ParamField>

<ParamField query="date" type="string" required>
  UTC date to retrieve, formatted as `YYYY-MM-DD`. Orderbook data exists for a subset of Kalshi markets from `2026-02-17`, but coverage is not continuous. Broad Kalshi crypto-related coverage begins on `2026-02-25`, and broad all-market capture begins on `2026-03-31`, with known March 31-April 24 quality exceptions for affected Kalshi orderbook payloads.
</ParamField>

<ParamField query="offset" type="integer">
  Number of records to skip. Default: `0`.
</ParamField>

<ParamField query="limit" type="integer">
  Maximum number of records to return. Default: `10000`. Max: `100000`.
</ParamField>

## Response

<ResponseField name="market_ticker" type="string">
  The Kalshi market ticker.
</ResponseField>

<ResponseField name="date" type="string">
  The requested date.
</ResponseField>

<ResponseField name="data_count" type="integer">
  Number of records returned in the current page.
</ResponseField>

<ResponseField name="data" type="array">
  Array of raw Kalshi records, typically snapshots and deltas. Record shapes vary by source event type and may include fields like `type`, `timestamp`, `epoch_ms`, `seq`, `yes`, and `no`.
</ResponseField>

<ResponseField name="pagination" type="object">
  Standard pagination metadata with `offset`, `limit`, `total_count`, and `has_more`.
</ResponseField>

<Tip>
  For arbitrary windows across one or more days, use [Get Kalshi Market Data Range](/api-reference/endpoint/get-kalshi-market-data-range).
</Tip>

## Example

<CodeGroup>
  ```python Python SDK theme={null}
  from entityml import EntityMLClient

  client = EntityMLClient(api_key="YOUR_API_KEY")

  data = client.kalshi.get_market_data(
      ticker="KXBTC-26FEB2606-B60125",
      date="2026-02-26",
      offset=0,
      limit=500,
  )

  print(data["data_count"])
  ```

  ```bash CLI theme={null}
  export ENTITY_API_KEY="YOUR_API_KEY"

  entityml kalshi market-data \
    --ticker KXBTC-26FEB2606-B60125 \
    --date 2026-02-26 \
    --offset 0 \
    --limit 500
  ```

  ```bash Raw HTTP (cURL) theme={null}
  curl -H "Authorization: Bearer YOUR_API_KEY" \
    "https://api.entityml.com/api/v1/kalshi/market/data?ticker=KXBTC-26FEB2606-B60125&date=2026-02-26&offset=0&limit=500"
  ```
</CodeGroup>

### Example response

```json theme={null}
{
  "market_ticker": "KXBTC-26FEB2606-B60125",
  "date": "2026-02-26",
  "data_count": 1,
  "data": [
    {
      "type": "snapshot",
      "ticker": "KXBTC-26FEB2606-B60125",
      "timestamp": "2026-02-26T11:01:16.000623+00:00",
      "epoch_ms": 1772103676000,
      "seq": null,
      "yes": [],
      "no": [[40, 14], [39, 290.81]]
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 500,
    "total_count": 1,
    "has_more": false
  }
}
```

<Tip>
  Use [Get Kalshi Market Date Range](/api-reference/endpoint/get-kalshi-market-date-range) first if you need to discover which UTC dates exist for a ticker.
</Tip>
