---
title: "Get API Keys"
method: GET
path: "/api_keys"
tags: ["api-keys"]
---

# Get API Keys

`GET /api_keys`

Endpoint for retrieving all API keys associated with the authenticated user.  API keys allow programmatic access to the platform without requiring username/password authentication. Each key has a unique identifier and name.

## Query parameters

- `fcm_subtrader_id` string

## Response `200`

List of API keys retrieved successfully

- GetApiKeysResponse
  - `api_keys` ApiKey[], required — List of all API keys associated with the user
    - `api_key_id` string, required — Unique identifier for the API key
    - `name` string, required — User-provided name for the API key
    - `scopes` ApiKeyScope[], required — List of scopes granted to this API key.
    - `subaccount` integer, nullable — If set, the API key is restricted to this single sub-account and may only read and trade on it. Absent/null means the key is unrestricted.
    - `fcm_subtrader_id` string, nullable — If set, the API key is bound to this single FCM subtrader ({fcm_user_id}_{suffix}) and is usable only as that institution's trading credential - FIX sessions and subtrader-scoped margin WebSocket sessions; every REST endpoint is denied. Absent/null means the key carries no subtrader binding.
  - `api_key_region_expiration_ts` integer, nullable — Unix timestamp (seconds) when the account's location attestation for API key requests expires; a past value means the attestation has lapsed. Absent when the account has never attested.

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-08-31** `2093c418fb5d` — 2 info
  - added the new optional `query` request parameter `fcm_subtrader_id`
  - added the optional property `api_keys/items/fcm_subtrader_id` to the response with the `200` status
- **2026-08-17** `80e7d7808a3e` — 1 info
  - added the optional property `api_key_region_expiration_ts` to the response with the `200` status

[Change history](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints/changes/api_keys/get.md)

---

[API](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints.md) · [All operations](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kalshi/kalshi-trade-api-manual-endpoints/revisions/75d99f2579b8/schema)
