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

# Kalshi data

> The attribution line Kalshi data carries, what data_type means, and how to see whether your key can read Kalshi.

Kalshi data comes with every Qelso plan, Free included. It needs a one-time declaration first, a box you tick in the [console](https://app.qelso.io/keys) to accept the Kalshi terms and confirm you're eligible. `GET /v2/usage` shows whether your key can read it: look for entitlements with `venue: kalshi`.

## What's included

Series, events and markets with their lifecycle; prices, candles and statistics from `1d` down to `100ms`; full order books, every price level, at a millisecond or at any interval; every trade; and with Ultra, every book change and every change of the best bid and ask. Your plan's limits apply as on Polymarket.

## The attribution line

Every response and stream that contains Kalshi data carries the attribution **"Powered by Kalshi Research"**.

| Where | How it's carried |
| - | - |
| JSON pages | `"attribution": "Powered by Kalshi Research"` and `data_type` |
| Streams (NDJSON, CSV) | The `Qelso-Attribution` and `Qelso-Data-Type` response headers |

**Show the attribution wherever you display Kalshi data**: in your charts, tables, reports and apps. `GET /v2/venues` gives each venue's attribution text, or null when a venue needs none.

## `data_type`

Responses with Kalshi data also say how old it is.

* `historical`: all of the Kalshi data in the response is at least 24 hours old.
* `delayed`: some of it is newer.

## In the Python SDK

Pages carry `attribution` and `data_type` as fields; a stream has them as `stream.attribution` and `stream.data_type` once it has started.

```python theme={null}
from datetime import date, timedelta

end = date.today()
page = client.get_market_prices("kalshi:KXRECSSNBER-27", start=end - timedelta(days=1), end=end, resolution="1h")
print(page.attribution)  # Powered by Kalshi Research

# Trades come with paid plans:
with client.stream_market_trades("kalshi:KXRECSSNBER-27", start=end - timedelta(days=7), end=end) as s:
    rows = s.to_list()
    print(s.attribution, s.data_type)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.