Binance

The Binance modules allow you to list account traders, orders, retrieve, and cancel the account information, exchange information, orders, and OCO orders from your Binance account.

Getting Started with Binance 

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Integromat to Binance

To connect your Binance account to Integromat you need to obtain the API key and Secret API Key from your Binance account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your Binance account.

2. Click Settings.


3. Click API Tokens.


4. Click New token...


5. In the Name field, enter a name for the token and click Create.  


6. Copy the API Token to your clipboard.

7. Log in to your Integromat account, add a module from the Binance app into an Integromat scenario.

8. Click Add next to the Connection field.

9. In the Connection name field, enter a name for the connection.

10. In the API Key field, enter the token details copied in step 6 and click Continue.

The connection has been established.


Account Information

List Account Trades

List trades for a specific account and symbol.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the symbol whose trades you want to list.
Order From IDSelect or map the Order From ID whose trades you want to list.
Start TimeEnter (map) a start time to search the trades.
End TimeEnter (map) an end time to search the trades.
LimitSet the maximum number of trades Integromat should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

List Current Open Orders

Retrieves all open orders in a symbol.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the symbol trades you want to list current open trades.
LimitSet the maximum number of trades Integromat should return during one execution cycle. Note that the default limit is 10.

Search Orders

Retrieves all account orders; active, canceled, or filled.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the symbol whose orders you want to search.
Order IDSelect or map the Order From ID trades you want to search. Note: If Order ID is set, it will get orders of that Order ID. Otherwise, most recent orders are returned.
Start TimeEnter (map) a start time to search the orders. Note: If Start Time and/or End Time are provided, the Order ID is not required.
End TimeEnter (map) an end time to search the orders. Note: If Start Time and/or End Time are provided, the Order ID is not required.
LimitSet the maximum number of trades Integromat should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Exchange Information

Get Exchange Info

Retrieves exchange information from Binance.

ConnectionEstablish a connection to your Binance account.
Trade PairsSelect or map the trade pairs to retrieve the exchange Information.

Get Symbol Ticker Price

Retrieves 24hr ticker price change statistics.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the ticker price.


Get Candlestick Data (Kline)

Retrieves candlestick data from Binance.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the candlestick data (Kline).
IntervalSelect or map the time interval to retrieve the candlestick data (Kline):
1 minuteSelect this to retrieve the candlestick data for every minute.
3 minutesSelect this to retrieve the candlestick data every 3 minutes.
5 minutesSelect this to retrieve the candlestick data every 5 minutes.
15 minutesSelect this to retrieve the candlestick data every 15 minutes.
30 minutesSelect this to retrieve the candlestick data every 30 minutes.
45 minutesSelect this to retrieve the candlestick data every 45 minutes.
1 hourSelect this to retrieve the candlestick data every 1 hour.
2 hoursSelect this to retrieve the candlestick data every 2 hours.
4 hoursSelect this to retrieve the candlestick data every 4 hours.
6 hoursSelect this to retrieve the candlestick data every 6 hours.
8 hoursSelect this to retrieve the candlestick data every 8 hours.
12 hoursSelect this to retrieve the candlestick data every 10 hours.
1 daySelect this to retrieve the candlestick data of 1 day.
3 daysSelect this to retrieve the candlestick data of 3 days.
1 weekSelect this to retrieve the candlestick data of 1 week.
1 monthSelect this to retrieve the candlestick data of 1 month.

Start TimeEnter (map) a start time to retrieve the candlestick data.
End TimeEnter (map) an end time to retrieve the candlestick data.

Get Current Average Price

Retrieves current average price of trading pair.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the current average price.

Get Symbol Order Book Ticker

Retrieves the best price/ quantity on the order book for a pair.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the symbol order book ticker.

List Recent Trades

Gets recent trades list.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the recent trades list.
Number of TradesEnter (map) a maximum number of trades Integromat should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

List Older Trades

Gets history trades from Binance.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve the older trades list.
Order From IDSelect or map the Order From ID to retrieve the older trades list.
LimitSet the maximum number of trades Integromat should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Orders

New Order (Trade)

Sends in a new order.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to send a new order.
Side Select the side of order:
  • Buy
  • Sell
Order TypeSelect the type of the order:
  • Limit
  • Market
  • Stop Loss
  • Stop Loss (Limit)
  • Take Profit
  • Take Profit (Limit)
  • Limit Maker
Limit
Time in ForceSelect the type of time in force:
  • Good-Till-Cancelled
  • Immediate or Cancel
  • Fill or Kill
QuantityEnter (map) the quantity of the order.
PriceEnter (map) the price of the order.
Market
Quantity type
Buy a quantity of an asset Enter (map) the amount to buy the asset.
Spend quantity of assetEnter (map) the amount to spend.
Stop Loss
Quantity Enter (map) the quantity of the order.
Stop PriceEnter (map) the price of the order.
Stop Loss (Limit)
Time in ForceSelect the type of time in force:
  • Good-till-canceled
  • Immediate or Cancel
  • Fill or Kill
Quantity
Enter (map) the quantity of the order.
Price
Enter (map) the price of the order.
Stop PriceEnter (map) the stop price of the order.
Take Profit
QuantityEnter (map) the quantity of the order.
Stop PriceEnter (map) the stop price of the order.
Take Profit (Limit)
Time in ForceSelect the type of time in force:
  • Good-Till-Cancelled
  • Immediate or Cancel
  • Fill or Kill
Quantity
Enter (map) the quantity of the order.
Price
Enter (map) the price of the order.
Stop PriceEnter (map) the stop price of the order.
Limit Maker
QuantityEnter (map) the quantity of the order.
Stop PriceEnter (map) the stop price of the order.

Cancel Order

Cancels order by ID or ClientID.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to cancel an order.
Cancel bySelect the method of canceling the order:
  • Order ID
  • Orig Client Order ID
Order IDSelect or map the Order ID to cancel the order.
Orig Client Order ID Select or map the Orig Client Order ID to cancel the order.


Cancel All open Orders On a Symbol

Cancels all active orders on a symbol. Includes OCO orders.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to cancel all open orders on the symbol.

List Current Open Orders

Retrieves all open orders in a symbol.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to retrieve all open orders in a symbol.
LimitSet the maximum number of orders Integromat should return during one execution cycle. Note that the default limit is 10.

OCO Orders

New OCO (Trade)

Sends in a new OCO.

ConnectionEstablish a connection to your Binance account.
SymbolSelect or map the trading symbol to send a new OCO.
SideSelect the type of the side:
  • Buy
  • Sell
Buy
Limit PriceEnter (map) at what price you want to buy.
Stop PriceEnter (map) at what you want to sell. Note: This price should be higher than the market price. 
Stop Limit PriceEnter (map) the stop limit price for the trade. Note: This price should be higher than the market price.

Sell
Limit PriceEnter (map) at what price you want to sell.
Stop PriceEnter (map) at what you want to buy. Note: This price should be lower than the market price. 
Stop Limit PriceEnter (map) the stop limit price for the trade. Note: This price should be lower than the market price.

QuantityEnter (map) the quantity of the order.
List Client Order ID Enter (map) the unique ID for the entire order list.
ID of the Limit OrderEnter (map) the unique ID for the limit order.
Limit Iceberg QuantityEnter (map) the Limit Iceberg Quantity for the new order.
Stop Client Order IDEnter (map) the Stop Client Order ID for the order.
Stop Limit Time In Force Select the type of Time In Force:
  • Good-Till-Cancelled
  • Immediate or Cancel
  • Fill or Kill
New Order Response TypeSelect the order response type:
  • Ack
  • Result
  • Full

Get/Query OCO

Retrieves a specific OCO based on provided optional parameters.

ConnectionEstablish a connection to your Binance account.
Query TypeSelect the type of Query to retrieve:
  • Query OCO
  • Query All OCO's
  • Query Open OCO's
Query OCO
Order IDSelect or map the Order ID to retrieve the OCO.
Orig Client Order ID Select or map the Orig Client Order ID to retrieve the OCO. 

Query All OCO's
Form IDSelect or map the Form ID to retrieve the OCO. Note:  If Form ID is available then start time or end time is not required.
Start TimeEnter (map) a start time to retrieve the OCO's.
End TimeEnter (map) an end time to retrieve the OCO's.
LimitSet the maximum number of queries Integromat should return during one execution cycle. Note that the default limit is 500 and the maximum value is 1000.

Cancel OCO (Trade)

Cancels an entire Order list.

ConnectionEstablish a connection to your Binance account.
Cancel bySelect how you want to cancel the OCO (Trade):
  • Order List ID 
  • List Client Order ID
Order List ID
Select or map the Order List ID to cancel the entire order list.
List Client Order IDSelect or map the List Client Order ID to cancel the entire order list.



Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.