Kraken Account API

Accounts, positions, orders, fills

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /accounts View balances and margin across futures accounts · Kraken Get Accounts #
Ask an LLM
“What are the balances and margin levels across all my Kraken futures accounts?”
“Can I see margin information for each futures sub-account in one response?”
Tell an agent
Show balances and margin for every one of my futures accounts.
Summarize available margin across my futures sub-accounts.
GET /openpositions List open futures positions · Kraken Get Open Positions (Futures) #
Ask an LLM
“Which futures positions do I currently have open?”
“How large is each of my open futures positions right now?”
Tell an agent
List my currently open futures positions.
Show the size and side of each futures position I hold.
GET /openorders List open futures orders · Kraken Get Open Orders (Futures) #
Ask an LLM
“What futures orders are still resting on the book for my account?”
“Do I have any unfilled futures orders waiting right now?”
Tell an agent
List my open futures orders.
Show every futures order of mine that has not filled yet.
GET /fills List recent futures execution fills · Kraken Get Fills #
Ask an LLM
“Which of my futures orders were filled recently?”
“Can I get only fills that happened before a certain fill time?”
Tell an agent
Show my recent futures fills.
List my futures fills going back from {lastFillTime}.
GET /notifications Check maintenance and risk notifications · Kraken Get Notifications #
Ask an LLM
“Are there any maintenance or risk notices affecting my futures account?”
“What platform notifications should I be aware of before trading futures?”
Tell an agent
Check for maintenance or risk notifications on my futures account.
Show any current futures platform notices.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kraken-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kraken-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kraken Futures REST Account API
  version: 3.0.0
  description: OpenAPI description of the Kraken Futures (formerly Crypto Facilities) REST API v3. Covers trading (send/edit/cancel orders, batch), market data (instruments, tickers, orderbook, history), account data (accounts, open positions, open orders, fills), transfers, account history, and charts. Generated by the API Evangelist pipeline from docs.kraken.com/api/docs/futures-api/.
  contact:
    name: Kraken API Support
    url: https://support.kraken.com/
  license:
    name: Kraken Terms of Service
    url: https://www.kraken.com/legal
  x-generated-from: documentation
  x-last-validated: '2026-05-30'
servers:
- url: https://futures.kraken.com/derivatives/api/v3
  description: Kraken Futures production REST endpoint
- url: https://demo-futures.kraken.com/derivatives/api/v3
  description: Kraken Futures demo / sandbox endpoint
- url: https://colo-london.vip.futures.kraken.com/derivatives/api/v3
  description: Kraken Futures colocation endpoint (London VIP)
tags:
- name: Account
  description: Accounts, positions, orders, fills
paths:
  /accounts:
    get:
      operationId: getAccounts
      summary: Kraken Get Accounts
      description: Returns balances and margin information for every Futures account / sub-account.
      tags:
      - Account
      security:
      - futures_signature: []
      responses:
        '200':
          description: Accounts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountsResponse'
              examples:
                getAccounts200Example:
                  summary: Default getAccounts 200 response
                  x-microcks-default: true
                  value:
                    result: success
                    serverTime: '2026-05-30T00:00:00Z'
                    error: string
                    accounts: {}
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /openpositions:
    get:
      operationId: getOpenPositionsFutures
      summary: Kraken Get Open Positions (Futures)
      description: Returns currently open futures positions.
      tags:
      - Account
      security:
      - futures_signature: []
      responses:
        '200':
          description: Open positions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseEnvelope'
              examples:
                getOpenPositionsFutures200Example:
                  summary: Default getOpenPositionsFutures 200 response
                  x-microcks-default: true
                  value:
                    result: success
                    serverTime: '2026-05-30T00:00:00Z'
                    error: string
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /openorders:
    get:
      operationId: getOpenOrdersFutures
      summary: Kraken Get Open Orders (Futures)
      description: Returns currently open orders.
      tags:
      - Account
      security:
      - futures_signature: []
      responses:
        '200':
          description: Open orders
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseEnvelope'
              examples:
                getOpenOrdersFutures200Example:
                  summary: Default getOpenOrdersFutures 200 response
                  x-microcks-default: true
                  value:
                    result: success
                    serverTime: '2026-05-30T00:00:00Z'
                    error: string
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /fills:
    get:
      operationId: getFills
      summary: Kraken Get Fills
      description: Returns recent execution fills.
      tags:
      - Account
      security:
      - futures_signature: []
      parameters:
      - name: lastFillTime
        in: query
        required: false
        schema:
          type: string
          format: date-time
        example: '2026-05-30T00:00:00Z'
      responses:
        '200':
          description: Fills
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseEnvelope'
              examples:
                getFills200Example:
                  summary: Default getFills 200 response
                  x-microcks-default: true
                  value:
                    result: success
                    serverTime: '2026-05-30T00:00:00Z'
                    error: string
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /notifications:
    get:
      operationId: getNotifications
      summary: Kraken Get Notifications
      description: Returns any maintenance or risk notifications affecting the account.
      tags:
      - Account
      security:
      - futures_signature: []
      responses:
        '200':
          description: Notifications
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseEnvelope'
              examples:
                getNotifications200Example:
                  summary: Default getNotifications 200 response
                  x-microcks-default: true
                  value:
                    result: success
                    serverTime: '2026-05-30T00:00:00Z'
                    error: string
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Account:
      type: object
      properties:
        type:
          type: string
          enum:
          - cashAccount
          - marginAccount
          - multiCollateralMarginAccount
          example: cashAccount
        currency:
          type: string
          example: string
        balances:
          type: object
          additionalProperties:
            type: number
          example: {}
        auxiliary:
          type: object
          properties:
            af:
              type: number
              example: 0.01
            pnl:
              type: number
              example: 0.01
            pv:
              type: number
              example: 0.01
          example: {}
        marginRequirements:
          type: object
          properties:
            im:
              type: number
              example: 0.01
            mm:
              type: number
              example: 0.01
            lt:
              type: number
              example: 0.01
            tt:
              type: number
              example: 0.01
          example: '0.01'
        triggerEstimates:
          type: object
          properties:
            im:
              type: number
              example: 0.01
            mm:
              type: number
              example: 0.01
            lt:
              type: number
              example: 0.01
            tt:
              type: number
              example: 0.01
          example: {}
    BaseEnvelope:
      type: object
      properties:
        result:
          type: string
          enum:
          - success
          - error
          example: success
        serverTime:
          type: string
          format: date-time
          example: '2026-05-30T00:00:00Z'
        error:
          type: string
          example: string
    AccountsResponse:
      allOf:
      - $ref: '#/components/schemas/BaseEnvelope'
      - type: object
        properties:
          accounts:
            type: object
            additionalProperties:
              $ref: '#/components/schemas/Account'
            example: {}
  securitySchemes:
    futures_signature:
      type: apiKey
      in: header
      name: APIKey
      description: 'Kraken Futures signs requests with two headers: `APIKey` (public key) and `Authent` (base64 HMAC-SHA512 over `postData + nonce + endpointPath` using the SHA-256 hash of those values, then HMAC-SHA512 keyed by the base64-decoded secret). A `Nonce` header carries the incrementing nonce.'