{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kalshi Trade API Manual Endpoints account portfolio API",
    "version": "3.19.0"
  },
  "items": [
    {
      "info": {
        "name": "portfolio",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/balance",
            "params": [
              {
                "name": "subaccount",
                "value": "",
                "type": "query",
                "description": "Subaccount number (0 for primary, 1-32 for subaccounts). Defaults to 0."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": " Endpoint for getting the balance and portfolio value of a member. Both values are returned in cents."
        },
        {
          "info": {
            "name": "Create Subaccount",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts",
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new subaccount for the authenticated user. This endpoint is currently only available to institutions and market makers. Subaccounts are numbered sequentially starting from 1. Maximum 32 subaccounts per user."
        },
        {
          "info": {
            "name": "Transfer Between Subaccounts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts/transfer",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Transfers funds between the authenticated user's subaccounts. Use 0 for the primary account, or 1-32 for numbered subaccounts."
        },
        {
          "info": {
            "name": "Get All Subaccount Balances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts/balances",
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Gets balances for all subaccounts including the primary account."
        },
        {
          "info": {
            "name": "Get Subaccount Transfers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts/transfers",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 100."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Gets a paginated list of all transfers between subaccounts for the authenticated user."
        },
        {
          "info": {
            "name": "Get Subaccount Netting",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts/netting",
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Gets the netting enabled settings for all subaccounts."
        },
        {
          "info": {
            "name": "Update Subaccount Netting",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/subaccounts/netting",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Updates the netting enabled setting for a specific subaccount. Use 0 for the primary account, or 1-32 for numbered subaccounts."
        },
        {
          "info": {
            "name": "Get Positions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/positions",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Parameter to specify the number of results per page. Defaults to 100."
              },
              {
                "name": "count_filter",
                "value": "",
                "type": "query",
                "description": "Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded"
              },
              {
                "name": "ticker",
                "value": "",
                "type": "query",
                "description": "Filter by market ticker"
              },
              {
                "name": "event_ticker",
                "value": "",
                "type": "query",
                "description": "Event ticker to filter by. Only a single event ticker is supported."
              },
              {
                "name": "subaccount",
                "value": "",
                "type": "query",
                "description": "Subaccount number (0 for primary, 1-32 for subaccounts). Defaults to 0."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted: position, total_traded"
        },
        {
          "info": {
            "name": "Get Settlements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/settlements",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 100."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page."
              },
              {
                "name": "ticker",
                "value": "",
                "type": "query",
                "description": "Filter by market ticker"
              },
              {
                "name": "event_ticker",
                "value": "",
                "type": "query",
                "description": "Event ticker to filter by. Only a single event ticker is supported."
              },
              {
                "name": "min_ts",
                "value": "",
                "type": "query",
                "description": "Filter items after this Unix timestamp"
              },
              {
                "name": "max_ts",
                "value": "",
                "type": "query",
                "description": "Filter items before this Unix timestamp"
              },
              {
                "name": "subaccount",
                "value": "",
                "type": "query",
                "description": "Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": " Endpoint for getting the member's settlements historical track."
        },
        {
          "info": {
            "name": "Get Deposits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/deposits",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 100. Maximum value is 500."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Endpoint for getting the member's deposit history."
        },
        {
          "info": {
            "name": "Get Withdrawals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/withdrawals",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 100. Maximum value is 500."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Endpoint for getting the member's withdrawal history."
        },
        {
          "info": {
            "name": "Get Total Resting Order Value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/summary/total_resting_order_value",
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": " Endpoint for getting the total value, in cents, of resting orders. This endpoint is only intended for use by FCM members (rare). Note: If you're uncertain about this endpoint, it likely does not apply to you."
        },
        {
          "info": {
            "name": "Get Fills",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://external-api.kalshi.com/trade-api/v2/portfolio/fills",
            "params": [
              {
                "name": "ticker",
                "value": "",
                "type": "query",
                "description": "Filter by market ticker"
              },
              {
                "name": "order_id",
                "value": "",
                "type": "query",
                "description": "Filter by order ID"
              },
              {
                "name": "min_ts",
                "value": "",
                "type": "query",
                "description": "Filter items after this Unix timestamp"
              },
              {
                "name": "max_ts",
                "value": "",
                "type": "query",
                "description": "Filter items before this Unix timestamp"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per page. Defaults to 100."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page."
              },
              {
                "name": "subaccount",
                "value": "",
                "type": "query",
                "description": "Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "KALSHI-ACCESS-KEY",
              "value": "{{KALSHI-ACCESS-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Endpoint for getting all fills for the member. A fill is when a trade you have is matched.\nFills that occurred before the historical cutoff are only available via `GET /historical/fills`. See [Historical Data](https://docs.kalshi.com/getting_started/historical_data) for details.\n"
        }
      ]
    }
  ],
  "bundled": true
}