Kraken · Arazzo Workflow

Kraken Futures Account Snapshot

Version 1.0.0

Pull account balances, open positions, and recent fills for a futures risk view.

1 workflow 1 source API 1 provider
View Spec View on GitHub CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIsArazzoWorkflows

Provider

kraken

Workflows

futures-account-snapshot
Assemble balances, open positions, and recent fills into one futures view.
Reads accounts, open positions, and recent fills in sequence to build a point-in-time snapshot of futures exposure.
3 steps inputs: lastFillTime outputs: accounts, fills, positions
1
accounts
Read balances and margin for every futures account. Private Futures endpoints are signed with the API key and secret.
2
openPositions
Read currently open futures positions to measure directional exposure.
3
fills
Read recent execution fills, optionally bounded by the supplied cursor, to see what has executed since the last snapshot.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Kraken Futures Account Snapshot
  summary: Pull account balances, open positions, and recent fills for a futures risk view.
  description: >-
    A risk-monitoring flow for the Kraken Futures REST API. It reads account
    balances and margin, the currently open positions, and recent execution
    fills so the caller can assemble a single point-in-time view of futures
    exposure. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: accountApi
  url: ../openapi/kraken-account-api-openapi.yml
  type: openapi
workflows:
- workflowId: futures-account-snapshot
  summary: Assemble balances, open positions, and recent fills into one futures view.
  description: >-
    Reads accounts, open positions, and recent fills in sequence to build a
    point-in-time snapshot of futures exposure.
  inputs:
    type: object
    properties:
      lastFillTime:
        type: string
        description: Optional cursor; only return fills after this time (ISO 8601).
  steps:
  - stepId: accounts
    description: >-
      Read balances and margin for every futures account. Private Futures
      endpoints are signed with the API key and secret.
    operationId: getAccounts
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accounts: $response.body#/accounts
  - stepId: openPositions
    description: >-
      Read currently open futures positions to measure directional exposure.
    operationId: getOpenPositionsFutures
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      positions: $response.body#/result
  - stepId: fills
    description: >-
      Read recent execution fills, optionally bounded by the supplied cursor, to
      see what has executed since the last snapshot.
    operationId: getFills
    parameters:
    - name: lastFillTime
      in: query
      value: $inputs.lastFillTime
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      fills: $response.body#/result
  outputs:
    accounts: $steps.accounts.outputs.accounts
    positions: $steps.openPositions.outputs.positions
    fills: $steps.fills.outputs.fills

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/kraken-futures-account-snapshot-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.