# Kalshi Markets API (kalshi.markets)

- Canonical page: https://everyinfra.com/en/kalshi-api/markets
- Endpoint: POST /api/v1/social with {"platform": "kalshi", "action": "markets", "params": {...}}
- Price: $0.006806 per call ($6.81 per 1,000 requests); failed and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=kalshi&action=markets

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| event_ticker | not declared | no | not declared | Only markets of one Kalshi event, such as `KXBTC2026200-27JAN01`, taken from the `event_ticker` of a row. |
| keyword | not declared | no | not declared | Words to find in market titles, at least 3 characters, such as `bitcoin` or `fed`; leave it out to list markets by the chosen order. |
| sort | enum: close_time / open_interest / price_asc / price_desc / volume | no | not declared | volume (default, contracts traded), open_interest, price_desc, price_asc or close_time. |
| status | enum: closed / open | no | not declared | open (default, still trading) or closed (finished or settled). |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| ticker | Market ticker, as Kalshi writes it. |
| event_ticker | Ticker of the parent event; pass it as `event_ticker` to list the event's other markets. |
| series_ticker | Ticker of the parent series. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| event_title | Title of the parent event. |
| yes_subtitle | Description of the Yes side, such as Above $200000. |
| no_subtitle | Description of the No side. |
| status | Market status as Kalshi reports it, such as open, closed or settled. |
| result | Settlement result, yes or no; absent before settlement. |
| last_price | Last traded price in dollars (0 to 1; a contract pays $1 on the winning side, so it reads as a probability). |
| yes_bid | Current Yes bid, dollars. |
| yes_ask | Current Yes ask, dollars. |
| no_bid | Current No bid, dollars. |
| no_ask | Current No ask, dollars. |
| volume | Contracts traded in total. |
| open_interest | Contracts open. |
| dollar_volume | Total traded value in dollars. |
| dollar_open_interest | Open interest in dollars. |
| strike_type | Strike type as Kalshi reports it, such as greater, less or between; absent for markets without a numeric strike. |
| floor_strike | Lower strike; absent when there is none. |
| cap_strike | Upper strike; absent when there is none. |
| rules | Main settlement rule, as written. |
| settlement_sources | Names of the sources used to settle the market. |
| open_at | Opening time, ISO 8601 UTC. |
| close_at | Closing time, ISO 8601 UTC. |
| settled_at | Settlement time, ISO 8601 UTC; absent before settlement. |
| can_close_early | Whether the market can close early once its condition is met. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "kalshi",
  "action": "markets",
  "params": {}
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "kalshi",
        "action": "markets",
        "params": {},
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "kalshi",
  "action": "markets",
  "results": [
    {
      "ticker": …,
      "event_ticker": …,
      "series_ticker": …,
      "title": …,
      "event_title": …,
      "yes_subtitle": …,
      "no_subtitle": …,
      "status": …,
      "result": …,
      "last_price": …,
      "yes_bid": …,
      "yes_ask": …,
      "no_bid": …,
      "no_ask": …,
      "volume": …,
      "open_interest": …,
      "dollar_volume": …,
      "dollar_open_interest": …,
      "strike_type": …,
      "floor_strike": …,
      "cap_strike": …,
      "rules": …,
      "settlement_sources": …,
      "open_at": …,
      "close_at": …,
      "settled_at": …,
      "can_close_early": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=kalshi
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
