Kraken · Arazzo Workflow
Kraken Balance-Aware Spot Buy
Version 1.0.0
Read the account balance and live ticker, then branch on funding before buying.
View Spec
View on GitHub
KrakenCryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIsReal-TimeAuthenticationArazzoWorkflows
Provider
Workflows
balance-aware-buy
Place a spot buy only when the account holds enough of the quote asset.
Reads balances and the current ticker, branches on whether the account reports any balances, and places a buy order when it does. The balance result is an object keyed by asset code, so a per-asset sufficiency test on the fundingAsset input cannot be expressed in Arazzo criteria; confirm the fundingAsset balance from the balances output before relying on the buy.
1
readBalance
Read all asset balances. Private Spot endpoints are signed and accept application/x-www-form-urlencoded bodies.
2
readTicker
Read the live ticker for the pair to price the buy against the current ask.
3
placeBuy
Submit the buy order via AddOrder once funding has been confirmed.
Source API Descriptions
openapi
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.