Before using Binance actions, ensure you have a Binance integration configured with your API credentials. See Configuration Reference for setup details.
binance/getprice
Retrieves current or 24-hour price data for a trading pair.Integration ID
The Binance integration to use.Symbol
The trading pair symbol (e.g.,BTCUSDT, ETHUSDT).
Price Type
The type of price data to retrieve.
Allowed values:
current— Returns the current price24hr— Returns 24-hour price statistics
Example
Response
Current price response:binance/accountbalance
Retrieves account balance for one or more assets.Integration ID
The Binance integration to use.Symbol
The asset symbol(s) to query. Use comma-separated values for multiple assets.
Examples:
BTC, ETH, BTC,ETH,USDT
Futures
Query the futures account instead of the spot account.Example
Response
Single asset response:binance/spotorder
Places spot trading orders for cryptocurrency pairs.Integration ID
The Binance integration to use.Symbol
The trading pair symbol (e.g.,BTCUSDT).
Side
The order side.
Allowed values:
BUY, SELL
Type
The order type.
Allowed values:
MARKET, LIMIT, STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT
Quantity
The amount of the base asset to buy or sell.
Required for most order types. Use either
quantity or quote_order_qty.
Quote Order Quantity
The amount in quote currency to spend (for market buy orders).
Use this to specify how much USDT to spend rather than how much BTC to buy.
Price
The price for limit orders.
Required for
LIMIT and limit-based order types.
Stop Price
The trigger price for stop orders.
Required for
STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT order types.
Time In Force
How long the order remains active.
Allowed values:
GTC— Good ‘til canceledIOC— Immediate or cancelFOK— Fill or kill
Example
Response
binance/futuresorder
Places futures trading orders with leverage and position management.Integration ID
The Binance integration to use.Symbol
The futures trading pair symbol (e.g.,BTCUSDT).
Side
The order side.
Allowed values:
BUY, SELL
Type
The order type.
Allowed values:
MARKET, LIMIT, STOP, STOP_MARKET, TAKE_PROFIT, TAKE_PROFIT_MARKET
Quantity
The contract quantity.Leverage
The leverage multiplier for the position.Position Side
The position direction for hedge mode.
Allowed values:
LONG, SHORT, BOTH
Reduce Only
Only reduce an existing position, don’t open a new one.Price
The price for limit orders.Example
Response
binance/pricedifference
Calculates price differences and percentage changes over specified time periods.Integration ID
The Binance integration to use.Symbol
The trading pair symbol or comma-separated symbols.Interval
The candlestick interval for historical data.
Allowed values:
1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w
Period
The number of intervals to look back.Example
Response
binance/tradeinfo
Retrieves detailed trading information including open orders and positions.Integration ID
The Binance integration to use.Symbol
The trading pair symbol.Info Type
The type of information to retrieve.
Allowed values:
orders, positions
Order ID
A specific order ID to query.Futures
Query futures trading information instead of spot.Example
Common Patterns
Price Alert Bot
Monitor price changes and send alerts:Dollar-Cost Averaging Bot
Automatically buy a fixed amount on schedule:Next Steps
Actions Overview
Learn the fundamentals of ServFlow actions.
Flow Control
Run multiple trading checks in parallel.
Memory
Cache price data for faster lookups.
Communication
Send trading alerts via email.