Kraken · Arazzo Workflow

Kraken Withdraw Funds with Fee Preview

Version 1.0.0

Check balance and withdrawal fees, withdraw to a saved address, then track status.

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

Provider

kraken

Workflows

withdraw-funds
Preview fees, withdraw to a saved address, and track the withdrawal.
Reads balances, previews withdrawal fee and limit for the asset and key, submits the withdrawal, and lists recent withdrawal statuses for the asset.
4 steps inputs: address, amount, asset, key, nonce, otp outputs: fee, refid, withdrawals
1
readBalance
Read account balances to confirm funds are available. Private Spot endpoints are signed and accept application/x-www-form-urlencoded bodies.
2
previewFee
Preview the fee and limit for the withdrawal to the chosen key before committing.
3
withdraw
Submit the withdrawal. The result reference id is used to track the transfer.
4
trackStatus
List recent withdrawal statuses for the asset so the caller can locate the new withdrawal by its reference id and watch it progress.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Kraken Withdraw Funds with Fee Preview
  summary: Check balance and withdrawal fees, withdraw to a saved address, then track status.
  description: >-
    A safe withdrawal flow for the Kraken Spot REST API. It reads the account
    balance, previews the fee and limit for the chosen withdrawal address (key),
    submits the withdrawal, and then reads recent withdrawal statuses so the
    caller can track the resulting transfer by its reference id. 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: accountDataApi
  url: ../openapi/kraken-account-data-api-openapi.yml
  type: openapi
- name: fundingApi
  url: ../openapi/kraken-funding-api-openapi.yml
  type: openapi
workflows:
- workflowId: withdraw-funds
  summary: Preview fees, withdraw to a saved address, and track the withdrawal.
  description: >-
    Reads balances, previews withdrawal fee and limit for the asset and key,
    submits the withdrawal, and lists recent withdrawal statuses for the asset.
  inputs:
    type: object
    required:
    - nonce
    - asset
    - key
    - amount
    properties:
      nonce:
        type: string
        description: Ever-increasing nonce for the signed request.
      otp:
        type: string
        description: One-time password if two-factor is enabled on the API key.
      asset:
        type: string
        description: The asset to withdraw (e.g. XBT).
      key:
        type: string
        description: The name of the pre-configured withdrawal address (withdrawal key).
      amount:
        type: string
        description: The amount of the asset to withdraw.
      address:
        type: string
        description: Optional explicit destination address when the key allows it.
  steps:
  - stepId: readBalance
    description: >-
      Read account balances to confirm funds are available. Private Spot
      endpoints are signed and accept application/x-www-form-urlencoded bodies.
    operationId: getAccountBalance
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        nonce: $inputs.nonce
        otp: $inputs.otp
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      balances: $response.body#/result
  - stepId: previewFee
    description: >-
      Preview the fee and limit for the withdrawal to the chosen key before
      committing.
    operationId: getWithdrawalInfo
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        nonce: $inputs.nonce
        otp: $inputs.otp
        asset: $inputs.asset
        key: $inputs.key
        amount: $inputs.amount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      fee: $response.body#/result/fee
      limit: $response.body#/result/limit
  - stepId: withdraw
    description: >-
      Submit the withdrawal. The result reference id is used to track the
      transfer.
    operationId: withdrawFunds
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        nonce: $inputs.nonce
        otp: $inputs.otp
        asset: $inputs.asset
        key: $inputs.key
        address: $inputs.address
        amount: $inputs.amount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      refid: $response.body#/result/refid
  - stepId: trackStatus
    description: >-
      List recent withdrawal statuses for the asset so the caller can locate the
      new withdrawal by its reference id and watch it progress.
    operationId: getWithdrawalStatus
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        nonce: $inputs.nonce
        otp: $inputs.otp
        asset: $inputs.asset
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      withdrawals: $response.body#/result
  outputs:
    fee: $steps.previewFee.outputs.fee
    refid: $steps.withdraw.outputs.refid
    withdrawals: $steps.trackStatus.outputs.withdrawals

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-withdraw-funds-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.