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

# Kalshi Integration for AI Agents & Workflows

> Access Kalshi prediction markets and trade event contracts: retrieve markets, events, series, orderbooks, trades, candlesticks, account balance, positions, orders, fills, settlements, exchange status, and place, cancel, or amend orders.

{/* Self-hosted logo — build-time vendored from modulex.json / Iconify (see scripts/lib/logo.js). */}

<img src="https://mintcdn.com/modulexaillc/df8MOr-hXotYLTh5/logos/placeholder.svg?fit=max&auto=format&n=df8MOr-hXotYLTh5&q=85&s=a4046f9cd6d738c81259050e9833913c" alt="Kalshi logo" width="72" height="72" data-path="logos/placeholder.svg" />

## Overview

Add **Kalshi** to any ModuleX agent or workflow. Access Kalshi prediction markets and trade event contracts against the Kalshi Trade API v2 (`api.elections.kalshi.com/trade-api/v2`). Retrieve markets, events, series, orderbooks, trades, and candlesticks; manage your balance, positions, orders, fills, and settlements; check exchange status; and place, cancel, or amend orders.

<Info>
  **Categories**: Finance & Payments · Prediction Markets · Data Analytics · **Auth**: API Key · **Actions**: 22
</Info>

## Authentication

### API Key Authentication

Authenticate with a Kalshi API key id and its RSA private key. Each request is signed with the private key (RSA-PSS over SHA-256); the signing material never leaves the runtime.

<Steps>
  <Step title="Step 1">
    Sign in at [https://kalshi.com](https://kalshi.com) and open Account → API Keys.
  </Step>

  <Step title="Step 2">
    Create a new API key; download the RSA private key (PEM) and copy the Key ID.
  </Step>

  <Step title="Step 3">
    Paste the Key ID into KALSHI\_KEY\_ID below.
  </Step>

  <Step title="Step 4">
    Paste the full PEM private key into KALSHI\_PRIVATE\_KEY below.
  </Step>
</Steps>

#### Required Credentials

| Field                 | Description                                    | Required | Format                                                        |
| --------------------- | ---------------------------------------------- | -------- | ------------------------------------------------------------- |
| API Key ID            | Your Kalshi API Key ID from Account → API Keys | Yes      | `-`                                                           |
| RSA Private Key (PEM) | Your Kalshi RSA private key in PEM format      | Yes      | `-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----` |

## Available Actions

<AccordionGroup>
  <Accordion title="get_markets — Retrieve a list of prediction markets with full filtering options.">
    ### Parameters

    <ResponseField name="status" type="string">
      Filter by market status: "unopened", "open", "closed", "settled"
    </ResponseField>

    <ResponseField name="series_ticker" type="string">
      Filter by series ticker
    </ResponseField>

    <ResponseField name="event_ticker" type="string">
      Filter by event ticker
    </ResponseField>

    <ResponseField name="min_created_ts" type="integer">
      Min created timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_created_ts" type="integer">
      Max created timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="min_updated_ts" type="integer">
      Min updated timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="min_close_ts" type="integer">
      Min close timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_close_ts" type="integer">
      Max close timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="min_settled_ts" type="integer">
      Min settled timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_settled_ts" type="integer">
      Max settled timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="tickers" type="string">
      Comma-separated list of market tickers
    </ResponseField>

    <ResponseField name="mve_filter" type="string">
      Multivariate event filter: "only" or "exclude"
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Market": {
          "additionalProperties": false,
          "description": "A single market row (Trade API v2 shape).",
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "market_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Type"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "subtitle": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Subtitle"
            },
            "yes_sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Sub Title"
            },
            "no_sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Sub Title"
            },
            "open_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Time"
            },
            "close_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Time"
            },
            "expected_expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expected Expiration Time"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "latest_expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Latest Expiration Time"
            },
            "settlement_timer_seconds": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Timer Seconds"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "response_price_units": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Response Price Units"
            },
            "notional_value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Notional Value"
            },
            "tick_size": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Tick Size"
            },
            "yes_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Bid"
            },
            "yes_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Ask"
            },
            "no_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Bid"
            },
            "no_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Ask"
            },
            "last_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Price"
            },
            "previous_yes_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Yes Bid"
            },
            "previous_yes_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Yes Ask"
            },
            "previous_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Price"
            },
            "volume": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume"
            },
            "volume_24h": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume 24H"
            },
            "liquidity": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Liquidity"
            },
            "open_interest": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Interest"
            },
            "result": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Result"
            },
            "cap_strike": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cap Strike"
            },
            "floor_strike": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Floor Strike"
            },
            "can_close_early": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Can Close Early"
            },
            "expiration_value": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Value"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "risk_limit_cents": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Risk Limit Cents"
            },
            "strike_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Type"
            },
            "rules_primary": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Rules Primary"
            },
            "rules_secondary": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Rules Secondary"
            },
            "settlement_source_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Source Url"
            },
            "custom_strike": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Custom Strike"
            },
            "underlying": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Underlying"
            },
            "settlement_value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Value"
            },
            "cfd_contract_size": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cfd Contract Size"
            },
            "yes_fee_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Fee Fp"
            },
            "no_fee_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Fee Fp"
            },
            "last_price_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Price Fp"
            },
            "yes_bid_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Bid Fp"
            },
            "yes_ask_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Ask Fp"
            },
            "no_bid_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Bid Fp"
            },
            "no_ask_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Ask Fp"
            }
          },
          "title": "Market",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "markets": {
          "items": {
            "$ref": "#/$defs/Market"
          },
          "title": "Markets",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetMarketsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_market — Retrieve details of a specific prediction market by ticker.">
    ### Parameters

    <ResponseField name="ticker" type="string" required>
      Market ticker identifier (e.g., 'KXBTC-24DEC31')
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Market": {
          "additionalProperties": false,
          "description": "A single market row (Trade API v2 shape).",
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "market_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Type"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "subtitle": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Subtitle"
            },
            "yes_sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Sub Title"
            },
            "no_sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Sub Title"
            },
            "open_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Time"
            },
            "close_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Time"
            },
            "expected_expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expected Expiration Time"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "latest_expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Latest Expiration Time"
            },
            "settlement_timer_seconds": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Timer Seconds"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "response_price_units": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Response Price Units"
            },
            "notional_value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Notional Value"
            },
            "tick_size": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Tick Size"
            },
            "yes_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Bid"
            },
            "yes_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Ask"
            },
            "no_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Bid"
            },
            "no_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Ask"
            },
            "last_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Price"
            },
            "previous_yes_bid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Yes Bid"
            },
            "previous_yes_ask": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Yes Ask"
            },
            "previous_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Price"
            },
            "volume": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume"
            },
            "volume_24h": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume 24H"
            },
            "liquidity": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Liquidity"
            },
            "open_interest": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Interest"
            },
            "result": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Result"
            },
            "cap_strike": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cap Strike"
            },
            "floor_strike": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Floor Strike"
            },
            "can_close_early": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Can Close Early"
            },
            "expiration_value": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Value"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "risk_limit_cents": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Risk Limit Cents"
            },
            "strike_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Type"
            },
            "rules_primary": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Rules Primary"
            },
            "rules_secondary": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Rules Secondary"
            },
            "settlement_source_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Source Url"
            },
            "custom_strike": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Custom Strike"
            },
            "underlying": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Underlying"
            },
            "settlement_value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settlement Value"
            },
            "cfd_contract_size": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cfd Contract Size"
            },
            "yes_fee_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Fee Fp"
            },
            "no_fee_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Fee Fp"
            },
            "last_price_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Price Fp"
            },
            "yes_bid_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Bid Fp"
            },
            "yes_ask_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Ask Fp"
            },
            "no_bid_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Bid Fp"
            },
            "no_ask_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Ask Fp"
            }
          },
          "title": "Market",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "market": {
          "anyOf": [
            {
              "$ref": "#/$defs/Market"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetMarketOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_events — Retrieve a list of events with optional filtering.">
    ### Parameters

    <ResponseField name="status" type="string">
      Filter by event status: "open", "closed", "settled"
    </ResponseField>

    <ResponseField name="series_ticker" type="string">
      Filter by series ticker
    </ResponseField>

    <ResponseField name="with_nested_markets" type="string">
      Include nested markets: "true" or "false"
    </ResponseField>

    <ResponseField name="with_milestones" type="string">
      Include milestones: "true" or "false"
    </ResponseField>

    <ResponseField name="min_close_ts" type="integer">
      Min close timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-200)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Event": {
          "additionalProperties": false,
          "description": "An event row (Trade API v2 shape).",
          "properties": {
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "series_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Series Ticker"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Sub Title"
            },
            "mutually_exclusive": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mutually Exclusive"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "collateral_return_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Collateral Return Type"
            },
            "strike_date": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Date"
            },
            "strike_period": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Period"
            },
            "available_on_brokers": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Available On Brokers"
            },
            "product_metadata": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Product Metadata"
            },
            "markets": {
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "title": "Markets",
              "type": "array"
            }
          },
          "title": "Event",
          "type": "object"
        },
        "Milestone": {
          "additionalProperties": false,
          "description": "An event milestone (returned by get_events when requested).",
          "properties": {
            "id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Id"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "start_date": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Start Date"
            },
            "end_date": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "End Date"
            },
            "notification_message": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Notification Message"
            },
            "primary_event_tickers": {
              "items": {
                "type": "string"
              },
              "title": "Primary Event Tickers",
              "type": "array"
            },
            "related_event_tickers": {
              "items": {
                "type": "string"
              },
              "title": "Related Event Tickers",
              "type": "array"
            },
            "last_updated_ts": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Updated Ts"
            }
          },
          "title": "Milestone",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "events": {
          "items": {
            "$ref": "#/$defs/Event"
          },
          "title": "Events",
          "type": "array"
        },
        "milestones": {
          "items": {
            "$ref": "#/$defs/Milestone"
          },
          "title": "Milestones",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetEventsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_event — Retrieve details of a specific event by ticker.">
    ### Parameters

    <ResponseField name="event_ticker" type="string" required>
      Event ticker identifier
    </ResponseField>

    <ResponseField name="with_nested_markets" type="string">
      Include nested markets: "true" or "false"
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Event": {
          "additionalProperties": false,
          "description": "An event row (Trade API v2 shape).",
          "properties": {
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "series_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Series Ticker"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "sub_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Sub Title"
            },
            "mutually_exclusive": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mutually Exclusive"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "collateral_return_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Collateral Return Type"
            },
            "strike_date": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Date"
            },
            "strike_period": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Strike Period"
            },
            "available_on_brokers": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Available On Brokers"
            },
            "product_metadata": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Product Metadata"
            },
            "markets": {
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "title": "Markets",
              "type": "array"
            }
          },
          "title": "Event",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "event": {
          "anyOf": [
            {
              "$ref": "#/$defs/Event"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetEventOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_balance — Retrieve your account balance and portfolio value.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "balance": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Balance"
        },
        "portfolio_value": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Portfolio Value"
        },
        "updated_ts": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Updated Ts"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetBalanceOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_positions — Retrieve your open positions.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="ticker" type="string">
      Filter by market ticker
    </ResponseField>

    <ResponseField name="event_ticker" type="string">
      Filter by event ticker (max 10, comma-separated)
    </ResponseField>

    <ResponseField name="count_filter" type="string">
      Comma-separated non-zero fields: position, total\_traded
    </ResponseField>

    <ResponseField name="subaccount" type="string">
      Subaccount identifier
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "EventPosition": {
          "additionalProperties": false,
          "properties": {
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "event_exposure": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Exposure"
            },
            "realized_pnl": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Realized Pnl"
            },
            "total_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Total Cost"
            }
          },
          "title": "EventPosition",
          "type": "object"
        },
        "MarketPosition": {
          "additionalProperties": false,
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "event_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Title"
            },
            "market_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Title"
            },
            "position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Position"
            },
            "market_exposure": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Exposure"
            },
            "realized_pnl": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Realized Pnl"
            },
            "total_traded": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Total Traded"
            },
            "resting_orders_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Resting Orders Count"
            },
            "fees_paid": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fees Paid"
            }
          },
          "title": "MarketPosition",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "market_positions": {
          "items": {
            "$ref": "#/$defs/MarketPosition"
          },
          "title": "Market Positions",
          "type": "array"
        },
        "event_positions": {
          "items": {
            "$ref": "#/$defs/EventPosition"
          },
          "title": "Event Positions",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetPositionsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_orders — Retrieve your orders with optional filtering.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="ticker" type="string">
      Filter by market ticker
    </ResponseField>

    <ResponseField name="event_ticker" type="string">
      Filter by event ticker (max 10, comma-separated)
    </ResponseField>

    <ResponseField name="status" type="string">
      Filter by status: "resting", "canceled", "executed"
    </ResponseField>

    <ResponseField name="min_ts" type="string">
      Minimum timestamp filter (Unix timestamp)
    </ResponseField>

    <ResponseField name="max_ts" type="string">
      Maximum timestamp filter (Unix timestamp)
    </ResponseField>

    <ResponseField name="subaccount" type="string">
      Subaccount identifier
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Order": {
          "additionalProperties": false,
          "description": "An order row (Trade API v2 portfolio order shape).",
          "properties": {
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "user_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "yes_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price Dollars"
            },
            "no_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price Dollars"
            },
            "fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count"
            },
            "fill_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count Fp"
            },
            "remaining_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count"
            },
            "remaining_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count Fp"
            },
            "initial_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count"
            },
            "initial_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count Fp"
            },
            "taker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees"
            },
            "maker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees"
            },
            "taker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees Dollars"
            },
            "maker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees Dollars"
            },
            "taker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost"
            },
            "maker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost"
            },
            "taker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost Dollars"
            },
            "maker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost Dollars"
            },
            "queue_position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Queue Position"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "last_update_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Update Time"
            },
            "self_trade_prevention_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Self Trade Prevention Type"
            },
            "order_group_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Group Id"
            },
            "cancel_order_on_pause": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cancel Order On Pause"
            }
          },
          "title": "Order",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "orders": {
          "items": {
            "$ref": "#/$defs/Order"
          },
          "title": "Orders",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetOrdersOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_order — Retrieve details of a specific order by ID.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="order_id" type="string" required>
      Order ID to retrieve
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Order": {
          "additionalProperties": false,
          "description": "An order row (Trade API v2 portfolio order shape).",
          "properties": {
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "user_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "yes_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price Dollars"
            },
            "no_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price Dollars"
            },
            "fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count"
            },
            "fill_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count Fp"
            },
            "remaining_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count"
            },
            "remaining_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count Fp"
            },
            "initial_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count"
            },
            "initial_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count Fp"
            },
            "taker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees"
            },
            "maker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees"
            },
            "taker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees Dollars"
            },
            "maker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees Dollars"
            },
            "taker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost"
            },
            "maker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost"
            },
            "taker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost Dollars"
            },
            "maker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost Dollars"
            },
            "queue_position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Queue Position"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "last_update_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Update Time"
            },
            "self_trade_prevention_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Self Trade Prevention Type"
            },
            "order_group_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Group Id"
            },
            "cancel_order_on_pause": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cancel Order On Pause"
            }
          },
          "title": "Order",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "order": {
          "anyOf": [
            {
              "$ref": "#/$defs/Order"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetOrderOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_orderbook — Retrieve the orderbook (yes and no bids) for a specific market.">
    ### Parameters

    <ResponseField name="ticker" type="string" required>
      Market ticker identifier
    </ResponseField>

    <ResponseField name="depth" type="integer">
      Number of price levels to return
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Orderbook": {
          "additionalProperties": false,
          "properties": {
            "yes": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "Yes",
              "type": "array"
            },
            "no": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "No",
              "type": "array"
            },
            "yes_dollars": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "Yes Dollars",
              "type": "array"
            },
            "no_dollars": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "No Dollars",
              "type": "array"
            }
          },
          "title": "Orderbook",
          "type": "object"
        },
        "OrderbookFp": {
          "additionalProperties": false,
          "properties": {
            "yes_dollars": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "Yes Dollars",
              "type": "array"
            },
            "no_dollars": {
              "items": {
                "items": {},
                "type": "array"
              },
              "title": "No Dollars",
              "type": "array"
            }
          },
          "title": "OrderbookFp",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "orderbook": {
          "anyOf": [
            {
              "$ref": "#/$defs/Orderbook"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "orderbook_fp": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrderbookFp"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetOrderbookOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_trades — Retrieve recent public trades across markets with optional filtering.">
    ### Parameters

    <ResponseField name="ticker" type="string">
      Filter by market ticker
    </ResponseField>

    <ResponseField name="min_ts" type="integer">
      Minimum timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_ts" type="integer">
      Maximum timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Trade": {
          "additionalProperties": false,
          "properties": {
            "trade_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Trade Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Count"
            },
            "count_fp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Count Fp"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "taker_side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Side"
            }
          },
          "title": "Trade",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "trades": {
          "items": {
            "$ref": "#/$defs/Trade"
          },
          "title": "Trades",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetTradesOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_candlesticks — Retrieve OHLC candlestick data for a specific market.">
    ### Parameters

    <ResponseField name="series_ticker" type="string" required>
      Series ticker identifier
    </ResponseField>

    <ResponseField name="ticker" type="string" required>
      Market ticker identifier
    </ResponseField>

    <ResponseField name="start_ts" type="integer" required>
      Start timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="end_ts" type="integer" required>
      End timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="period_interval" type="integer" required>
      Period interval: 1 (minute), 60 (hour), 1440 (day)
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "BidAskDistribution": {
          "additionalProperties": false,
          "properties": {
            "open": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open"
            },
            "open_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Dollars"
            },
            "low": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low"
            },
            "low_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low Dollars"
            },
            "high": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High"
            },
            "high_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High Dollars"
            },
            "close": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close"
            },
            "close_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Dollars"
            }
          },
          "title": "BidAskDistribution",
          "type": "object"
        },
        "MarketCandlestick": {
          "additionalProperties": false,
          "properties": {
            "end_period_ts": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "End Period Ts"
            },
            "yes_bid": {
              "anyOf": [
                {
                  "$ref": "#/$defs/BidAskDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "yes_ask": {
              "anyOf": [
                {
                  "$ref": "#/$defs/BidAskDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "price": {
              "anyOf": [
                {
                  "$ref": "#/$defs/PriceDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "volume": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume"
            },
            "volume_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume Fp"
            },
            "open_interest": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Interest"
            },
            "open_interest_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Interest Fp"
            }
          },
          "title": "MarketCandlestick",
          "type": "object"
        },
        "PriceDistribution": {
          "additionalProperties": false,
          "properties": {
            "open": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open"
            },
            "open_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Dollars"
            },
            "low": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low"
            },
            "low_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low Dollars"
            },
            "high": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High"
            },
            "high_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High Dollars"
            },
            "close": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close"
            },
            "close_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Dollars"
            },
            "mean": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mean"
            },
            "mean_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mean Dollars"
            },
            "previous": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous"
            },
            "previous_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Dollars"
            },
            "min": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Min"
            },
            "min_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Min Dollars"
            },
            "max": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Max"
            },
            "max_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Max Dollars"
            }
          },
          "title": "PriceDistribution",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "ticker": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Ticker"
        },
        "candlesticks": {
          "items": {
            "$ref": "#/$defs/MarketCandlestick"
          },
          "title": "Candlesticks",
          "type": "array"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetCandlesticksOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_event_candlesticks — Retrieve OHLC candlestick data aggregated across all markets in an event.">
    ### Parameters

    <ResponseField name="series_ticker" type="string" required>
      Series ticker identifier
    </ResponseField>

    <ResponseField name="event_ticker" type="string" required>
      Event ticker identifier
    </ResponseField>

    <ResponseField name="start_ts" type="integer" required>
      Start timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="end_ts" type="integer" required>
      End timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="period_interval" type="integer" required>
      Period interval: 1 (minute), 60 (hour), 1440 (day)
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "BidAskDistribution": {
          "additionalProperties": false,
          "properties": {
            "open": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open"
            },
            "open_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Dollars"
            },
            "low": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low"
            },
            "low_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low Dollars"
            },
            "high": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High"
            },
            "high_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High Dollars"
            },
            "close": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close"
            },
            "close_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Dollars"
            }
          },
          "title": "BidAskDistribution",
          "type": "object"
        },
        "EventCandlestick": {
          "additionalProperties": false,
          "properties": {
            "end_period_ts": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "End Period Ts"
            },
            "yes_bid": {
              "anyOf": [
                {
                  "$ref": "#/$defs/BidAskDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "yes_ask": {
              "anyOf": [
                {
                  "$ref": "#/$defs/BidAskDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "price": {
              "anyOf": [
                {
                  "$ref": "#/$defs/PriceDistribution"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "volume_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume Fp"
            },
            "open_interest_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Interest Fp"
            }
          },
          "title": "EventCandlestick",
          "type": "object"
        },
        "PriceDistribution": {
          "additionalProperties": false,
          "properties": {
            "open": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open"
            },
            "open_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Open Dollars"
            },
            "low": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low"
            },
            "low_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Low Dollars"
            },
            "high": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High"
            },
            "high_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "High Dollars"
            },
            "close": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close"
            },
            "close_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Close Dollars"
            },
            "mean": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mean"
            },
            "mean_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Mean Dollars"
            },
            "previous": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous"
            },
            "previous_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Previous Dollars"
            },
            "min": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Min"
            },
            "min_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Min Dollars"
            },
            "max": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Max"
            },
            "max_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Max Dollars"
            }
          },
          "title": "PriceDistribution",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "market_tickers": {
          "items": {
            "type": "string"
          },
          "title": "Market Tickers",
          "type": "array"
        },
        "adjusted_end_ts": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Adjusted End Ts"
        },
        "market_candlesticks": {
          "items": {
            "$ref": "#/$defs/EventCandlestick"
          },
          "title": "Market Candlesticks",
          "type": "array"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetEventCandlesticksOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_fills — Retrieve your portfolio's fills/trades.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="ticker" type="string">
      Filter by market ticker
    </ResponseField>

    <ResponseField name="order_id" type="string">
      Filter by order ID
    </ResponseField>

    <ResponseField name="min_ts" type="integer">
      Minimum timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_ts" type="integer">
      Maximum timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="subaccount" type="string">
      Subaccount identifier
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Fill": {
          "additionalProperties": false,
          "properties": {
            "fill_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Id"
            },
            "trade_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Trade Id"
            },
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "market_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Ticker"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Count"
            },
            "count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Count Fp"
            },
            "price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Price"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "yes_price_fixed": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price Fixed"
            },
            "no_price_fixed": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price Fixed"
            },
            "is_taker": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Is Taker"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "ts": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ts"
            }
          },
          "title": "Fill",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "fills": {
          "items": {
            "$ref": "#/$defs/Fill"
          },
          "title": "Fills",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetFillsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_settlements — Retrieve your portfolio settlement history.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="ticker" type="string">
      Filter by market ticker
    </ResponseField>

    <ResponseField name="event_ticker" type="string">
      Filter by event ticker
    </ResponseField>

    <ResponseField name="min_ts" type="integer">
      Min settled timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="max_ts" type="integer">
      Max settled timestamp (Unix seconds)
    </ResponseField>

    <ResponseField name="subaccount" type="string">
      Subaccount number (0 primary, 1-63)
    </ResponseField>

    <ResponseField name="limit" type="integer">
      Number of results to return (1-1000)
    </ResponseField>

    <ResponseField name="cursor" type="string">
      Pagination cursor from a previous response
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Settlement": {
          "additionalProperties": false,
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "market_result": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Market Result"
            },
            "yes_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Count Fp"
            },
            "yes_total_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Total Cost Dollars"
            },
            "no_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Count Fp"
            },
            "no_total_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Total Cost Dollars"
            },
            "revenue": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Revenue"
            },
            "settled_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Settled Time"
            },
            "fee_cost": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fee Cost"
            },
            "value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Value"
            }
          },
          "title": "Settlement",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "settlements": {
          "items": {
            "$ref": "#/$defs/Settlement"
          },
          "title": "Settlements",
          "type": "array"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cursor"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetSettlementsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_series_by_ticker — Retrieve details of a specific market series by ticker.">
    ### Parameters

    <ResponseField name="series_ticker" type="string" required>
      Series ticker identifier
    </ResponseField>

    <ResponseField name="include_volume" type="string">
      Include volume data: "true" or "false"
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Series": {
          "additionalProperties": false,
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "frequency": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Frequency"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "tags": {
              "items": {
                "type": "string"
              },
              "title": "Tags",
              "type": "array"
            },
            "settlement_sources": {
              "items": {
                "$ref": "#/$defs/SettlementSource"
              },
              "title": "Settlement Sources",
              "type": "array"
            },
            "contract_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Contract Url"
            },
            "contract_terms_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Contract Terms Url"
            },
            "fee_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fee Type"
            },
            "fee_multiplier": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fee Multiplier"
            },
            "additional_prohibitions": {
              "items": {
                "type": "string"
              },
              "title": "Additional Prohibitions",
              "type": "array"
            },
            "product_metadata": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Product Metadata"
            },
            "volume": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume"
            },
            "volume_fp": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume Fp"
            },
            "last_updated_ts": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Updated Ts"
            }
          },
          "title": "Series",
          "type": "object"
        },
        "SettlementSource": {
          "additionalProperties": false,
          "properties": {
            "name": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Name"
            },
            "url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Url"
            }
          },
          "title": "SettlementSource",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "series": {
          "anyOf": [
            {
              "$ref": "#/$defs/Series"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetSeriesByTickerOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_series_list — Retrieve a list of market series with optional filtering.">
    ### Parameters

    <ResponseField name="category" type="string">
      Filter by category
    </ResponseField>

    <ResponseField name="tags" type="string">
      Filter by comma-separated tags
    </ResponseField>

    <ResponseField name="include_product_metadata" type="string">
      Include product metadata: "true" or "false"
    </ResponseField>

    <ResponseField name="include_volume" type="string">
      Include volume data: "true" or "false"
    </ResponseField>

    <ResponseField name="min_updated_ts" type="integer">
      Min updated timestamp (Unix seconds)
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Series": {
          "additionalProperties": false,
          "properties": {
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Title"
            },
            "frequency": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Frequency"
            },
            "category": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Category"
            },
            "tags": {
              "items": {
                "type": "string"
              },
              "title": "Tags",
              "type": "array"
            },
            "settlement_sources": {
              "items": {
                "$ref": "#/$defs/SettlementSource"
              },
              "title": "Settlement Sources",
              "type": "array"
            },
            "contract_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Contract Url"
            },
            "contract_terms_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Contract Terms Url"
            },
            "fee_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fee Type"
            },
            "fee_multiplier": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fee Multiplier"
            },
            "additional_prohibitions": {
              "items": {
                "type": "string"
              },
              "title": "Additional Prohibitions",
              "type": "array"
            },
            "product_metadata": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Product Metadata"
            },
            "volume": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume"
            },
            "volume_fp": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Volume Fp"
            },
            "last_updated_ts": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Updated Ts"
            }
          },
          "title": "Series",
          "type": "object"
        },
        "SettlementSource": {
          "additionalProperties": false,
          "properties": {
            "name": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Name"
            },
            "url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Url"
            }
          },
          "title": "SettlementSource",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "series": {
          "items": {
            "$ref": "#/$defs/Series"
          },
          "title": "Series",
          "type": "array"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetSeriesListOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_exchange_status — Retrieve the current status of the Kalshi exchange.">
    ### Response

    ```json theme={null}
    {
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "exchange_active": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Exchange Active"
        },
        "trading_active": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Trading Active"
        },
        "exchange_estimated_resume_time": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Exchange Estimated Resume Time"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetExchangeStatusOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_exchange_schedule — Retrieve the exchange trading schedule and maintenance windows.">
    ### Response

    ```json theme={null}
    {
      "$defs": {
        "ExchangeSchedule": {
          "additionalProperties": false,
          "properties": {
            "standard_hours": {
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "title": "Standard Hours",
              "type": "array"
            },
            "maintenance_windows": {
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "title": "Maintenance Windows",
              "type": "array"
            }
          },
          "title": "ExchangeSchedule",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "schedule": {
          "anyOf": [
            {
              "$ref": "#/$defs/ExchangeSchedule"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "GetExchangeScheduleOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="get_exchange_announcements — Retrieve exchange-wide announcements.">
    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Announcement": {
          "additionalProperties": false,
          "properties": {
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "message": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Message"
            },
            "delivery_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Delivery Time"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            }
          },
          "title": "Announcement",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "announcements": {
          "items": {
            "$ref": "#/$defs/Announcement"
          },
          "title": "Announcements",
          "type": "array"
        }
      },
      "required": [
        "success"
      ],
      "title": "GetExchangeAnnouncementsOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="create_order — Create a new order on a Kalshi prediction market.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="ticker" type="string" required>
      Market ticker identifier
    </ResponseField>

    <ResponseField name="side" type="string" required>
      Order side: "yes" or "no"
    </ResponseField>

    <ResponseField name="action" type="string" required>
      Action type: "buy" or "sell"
    </ResponseField>

    <ResponseField name="count" type="integer">
      Number of contracts to trade (provide count or count\_fp)
    </ResponseField>

    <ResponseField name="type" type="string">
      Order type: "limit" or "market" (default "limit")
    </ResponseField>

    <ResponseField name="yes_price" type="integer">
      Yes price in cents (1-99)
    </ResponseField>

    <ResponseField name="no_price" type="integer">
      No price in cents (1-99)
    </ResponseField>

    <ResponseField name="yes_price_dollars" type="string">
      Yes price in dollars (e.g., '0.56')
    </ResponseField>

    <ResponseField name="no_price_dollars" type="string">
      No price in dollars (e.g., '0.56')
    </ResponseField>

    <ResponseField name="client_order_id" type="string">
      Custom order identifier
    </ResponseField>

    <ResponseField name="expiration_ts" type="integer">
      Unix timestamp for order expiration
    </ResponseField>

    <ResponseField name="time_in_force" type="string">
      TIF: fill\_or\_kill / good\_till\_canceled / immediate\_or\_cancel
    </ResponseField>

    <ResponseField name="buy_max_cost" type="integer">
      Maximum cost in cents (auto-enables fill\_or\_kill)
    </ResponseField>

    <ResponseField name="post_only" type="boolean">
      Maker-only order
    </ResponseField>

    <ResponseField name="reduce_only" type="boolean">
      Position reduction only
    </ResponseField>

    <ResponseField name="self_trade_prevention_type" type="string">
      Self-trade prevention: 'taker\_at\_cross' or 'maker'
    </ResponseField>

    <ResponseField name="order_group_id" type="string">
      Associated order group ID
    </ResponseField>

    <ResponseField name="count_fp" type="string">
      Count in fixed-point for fractional contracts
    </ResponseField>

    <ResponseField name="cancel_order_on_pause" type="boolean">
      Cancel order on market pause
    </ResponseField>

    <ResponseField name="subaccount" type="string">
      Subaccount to use for the order
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Order": {
          "additionalProperties": false,
          "description": "An order row (Trade API v2 portfolio order shape).",
          "properties": {
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "user_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "yes_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price Dollars"
            },
            "no_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price Dollars"
            },
            "fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count"
            },
            "fill_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count Fp"
            },
            "remaining_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count"
            },
            "remaining_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count Fp"
            },
            "initial_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count"
            },
            "initial_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count Fp"
            },
            "taker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees"
            },
            "maker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees"
            },
            "taker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees Dollars"
            },
            "maker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees Dollars"
            },
            "taker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost"
            },
            "maker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost"
            },
            "taker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost Dollars"
            },
            "maker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost Dollars"
            },
            "queue_position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Queue Position"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "last_update_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Update Time"
            },
            "self_trade_prevention_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Self Trade Prevention Type"
            },
            "order_group_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Group Id"
            },
            "cancel_order_on_pause": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cancel Order On Pause"
            }
          },
          "title": "Order",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "order": {
          "anyOf": [
            {
              "$ref": "#/$defs/Order"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "CreateOrderOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="cancel_order — Cancel an existing order.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="order_id" type="string" required>
      Order ID to cancel
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "Order": {
          "additionalProperties": false,
          "description": "An order row (Trade API v2 portfolio order shape).",
          "properties": {
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "user_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "yes_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price Dollars"
            },
            "no_price_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price Dollars"
            },
            "fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count"
            },
            "fill_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Fill Count Fp"
            },
            "remaining_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count"
            },
            "remaining_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count Fp"
            },
            "initial_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count"
            },
            "initial_count_fp": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Initial Count Fp"
            },
            "taker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees"
            },
            "maker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees"
            },
            "taker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees Dollars"
            },
            "maker_fees_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees Dollars"
            },
            "taker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost"
            },
            "maker_fill_cost": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost"
            },
            "taker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Cost Dollars"
            },
            "maker_fill_cost_dollars": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Cost Dollars"
            },
            "queue_position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Queue Position"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "last_update_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Update Time"
            },
            "self_trade_prevention_type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Self Trade Prevention Type"
            },
            "order_group_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Group Id"
            },
            "cancel_order_on_pause": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Cancel Order On Pause"
            }
          },
          "title": "Order",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "order": {
          "anyOf": [
            {
              "$ref": "#/$defs/Order"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "reduced_by": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reduced By"
        },
        "reduced_by_fp": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Reduced By Fp"
        }
      },
      "required": [
        "success"
      ],
      "title": "CancelOrderOutput",
      "type": "object"
    }
    ```
  </Accordion>

  <Accordion title="amend_order — Modify the price or quantity of an existing order.">
    ### Parameters

    <ResponseField name="key_id" type="string" required>
      Kalshi API Key ID (provided by the credential system)
    </ResponseField>

    <ResponseField name="private_key" type="string" required>
      Kalshi RSA private key in PEM format (provided by the credential system)
    </ResponseField>

    <ResponseField name="order_id" type="string" required>
      Order ID to amend
    </ResponseField>

    <ResponseField name="ticker" type="string" required>
      Market ticker identifier
    </ResponseField>

    <ResponseField name="side" type="string" required>
      Order side: "yes" or "no"
    </ResponseField>

    <ResponseField name="action" type="string" required>
      Action type: "buy" or "sell"
    </ResponseField>

    <ResponseField name="client_order_id" type="string">
      Original client-specified order ID
    </ResponseField>

    <ResponseField name="updated_client_order_id" type="string">
      New client-specified order ID
    </ResponseField>

    <ResponseField name="count" type="integer">
      Updated quantity for the order
    </ResponseField>

    <ResponseField name="yes_price" type="integer">
      Updated yes price in cents (1-99)
    </ResponseField>

    <ResponseField name="no_price" type="integer">
      Updated no price in cents (1-99)
    </ResponseField>

    <ResponseField name="yes_price_dollars" type="string">
      Updated yes price in dollars
    </ResponseField>

    <ResponseField name="no_price_dollars" type="string">
      Updated no price in dollars
    </ResponseField>

    <ResponseField name="count_fp" type="string">
      Count in fixed-point for fractional contracts
    </ResponseField>

    ### Response

    ```json theme={null}
    {
      "$defs": {
        "AmendedOrder": {
          "additionalProperties": false,
          "description": "The order shape returned by the amend endpoint (old_order/order).",
          "properties": {
            "order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Id"
            },
            "user_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Id"
            },
            "ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Ticker"
            },
            "event_ticker": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Event Ticker"
            },
            "status": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Status"
            },
            "side": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Side"
            },
            "type": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Type"
            },
            "yes_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Yes Price"
            },
            "no_price": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "No Price"
            },
            "action": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Action"
            },
            "count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Count"
            },
            "remaining_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Remaining Count"
            },
            "created_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Created Time"
            },
            "expiration_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Expiration Time"
            },
            "order_group_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Order Group Id"
            },
            "client_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Client Order Id"
            },
            "place_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Place Count"
            },
            "decrease_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Decrease Count"
            },
            "queue_position": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Queue Position"
            },
            "maker_fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fill Count"
            },
            "taker_fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fill Count"
            },
            "maker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Maker Fees"
            },
            "taker_fees": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Taker Fees"
            },
            "last_update_time": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Last Update Time"
            },
            "take_profit_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Take Profit Order Id"
            },
            "stop_loss_order_id": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Stop Loss Order Id"
            },
            "amend_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Amend Count"
            },
            "amend_taker_fill_count": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Amend Taker Fill Count"
            }
          },
          "title": "AmendedOrder",
          "type": "object"
        }
      },
      "additionalProperties": false,
      "properties": {
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "old_order": {
          "anyOf": [
            {
              "$ref": "#/$defs/AmendedOrder"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "order": {
          "anyOf": [
            {
              "$ref": "#/$defs/AmendedOrder"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "success"
      ],
      "title": "AmendOrderOutput",
      "type": "object"
    }
    ```
  </Accordion>
</AccordionGroup>

## Limits & Quotas

* **Base URL**: `https://api.elections.kalshi.com/trade-api/v2`.
* **Pricing**: prices and counts are returned in cents (and as
  fixed-point `_fp` / dollar string variants where the API provides
  them).
* **Rate limits**: Kalshi enforces per-tier request rate limits; consult
  the official docs for current values. Authenticated portfolio and
  trading calls are signed per request, so clock skew on the host can
  cause signature rejections — keep the system clock in sync.
* **Error model**: non-2xx responses, timeouts, invalid private keys,
  and unexpected exceptions are caught and returned as `success=False` +
  `error` rather than raising. On failure the data fields stay at their
  defaults.

## Related integrations

<CardGroup cols={3}>
  <Card title="Coinbase" href="/integrations/tools/coinbase" />

  <Card title="CoinMarketCap" href="/integrations/tools/coinmarketcap" />

  <Card title="Grafana" href="/integrations/tools/grafana" />
</CardGroup>

## Links

* [Kalshi](https://kalshi.com)
