data
Binance CLI for AI Agents
Use the Binance CLI from KosmoKrator to call Binance tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Binance CLI Setup
Binance can be configured headlessly with `kosmokrator integrations:configure binance`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure binance --enable --read allow --write ask --json
kosmokrator integrations:doctor binance --json
kosmokrator integrations:status --json Credentials
Authentication type: api key hmac api_key_hmac. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
No credentials are required.
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call binance.binance_get_api_v3_ping '{}' --json kosmo integrations:binance binance_get_api_v3_ping '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs binance --json
kosmo integrations:docs binance.binance_get_api_v3_ping --json
kosmo integrations:schema binance.binance_get_api_v3_ping --json
kosmo integrations:search "Binance" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
binance.binance_get_api_v3_ping
Test Connectivity Test connectivity to the Rest API. Weight(IP): 1 Official Binance Spot endpoint: GET /api/v3/ping.
read - Parameters
- none
kosmo integrations:call binance.binance_get_api_v3_ping '{}' --json kosmo integrations:binance binance_get_api_v3_ping '{}' --json binance.binance_get_api_v3_time
Check Server Time Test connectivity to the Rest API and get the current server time. Weight(IP): 1 Official Binance Spot endpoint: GET /api/v3/time.
read - Parameters
- none
kosmo integrations:call binance.binance_get_api_v3_time '{}' --json kosmo integrations:binance binance_get_api_v3_time '{}' --json binance.binance_get_api_v3_exchangeinfo
Exchange Information Current exchange trading rules and symbol information - If any symbol provided in either symbol or symbols do not exist, the endpoint will throw an error. - All parameters are optional. - permissions can support single or multiple values (e.g. SPOT, ["MARGIN","LEVERAGED"]) - If permissions parameter not provided, the default values will be ["SPOT","MARGIN","LEVERAGED"]. - To display all permissions you need to specify them explicitly. (e.g. SPOT, MARGIN,...) Examples of Symbol Permissions Interpretation from the Response: - [["A","B"]] means you may place an order if your account has either permission "A" or permission "B". - [["A"],["B"]] means you can place an order if your account has permission "A" and permission "B". - [["A"],["B","C"]] means you can place an order if your account has permission "A" and permission "B" or permission "C". (Inclusive or is applied here, not exclusive or, so your account may have both permission "B" and permission "C".) Weight(IP): 10 Official Binance Spot endpoint: GET /api/v3/exchangeInfo.
read - Parameters
- symbol, symbols, permissions
kosmo integrations:call binance.binance_get_api_v3_exchangeinfo '{"symbol":"example_symbol","symbols":"example_symbols","permissions":"example_permissions"}' --json kosmo integrations:binance binance_get_api_v3_exchangeinfo '{"symbol":"example_symbol","symbols":"example_symbols","permissions":"example_permissions"}' --json binance.binance_get_api_v3_depth
Order Book | Limit | Weight(IP) | |---------------------|-------------| | 1-100 | 5 | | 101-500 | 25 | | 501-1000 | 50 | | 1001-5000 | 250 | Official Binance Spot endpoint: GET /api/v3/depth.
read - Parameters
- symbol, limit
kosmo integrations:call binance.binance_get_api_v3_depth '{"symbol":"example_symbol","limit":1}' --json kosmo integrations:binance binance_get_api_v3_depth '{"symbol":"example_symbol","limit":1}' --json binance.binance_get_api_v3_trades
Recent Trades List Get recent trades. Weight(IP): 10 Official Binance Spot endpoint: GET /api/v3/trades.
read - Parameters
- symbol, limit
kosmo integrations:call binance.binance_get_api_v3_trades '{"symbol":"example_symbol","limit":1}' --json kosmo integrations:binance binance_get_api_v3_trades '{"symbol":"example_symbol","limit":1}' --json binance.binance_get_api_v3_historicaltrades
Old Trade Lookup Get older market trades. Weight(IP): 10 Official Binance Spot endpoint: GET /api/v3/historicalTrades.
read - Parameters
- symbol, limit, from_id
kosmo integrations:call binance.binance_get_api_v3_historicaltrades '{"symbol":"example_symbol","limit":1,"from_id":1}' --json kosmo integrations:binance binance_get_api_v3_historicaltrades '{"symbol":"example_symbol","limit":1,"from_id":1}' --json binance.binance_get_api_v3_aggtrades
Compressed/Aggregate Trades List Get compressed, aggregate trades. Trades that fill at the time, from the same order, with the same price will have the quantity aggregated. - If `fromId`, `startTime`, and `endTime` are not sent, the most recent aggregate trades will be returned. - Note that if a trade has the following values, this was a duplicate aggregate trade and marked as invalid: p = '0' // price q = '0' // qty f = -1 // first_trade_id l = -1 // last_trade_id Weight(IP): 2 Official Binance Spot endpoint: GET /api/v3/aggTrades.
read - Parameters
- symbol, from_id, start_time, end_time, limit
kosmo integrations:call binance.binance_get_api_v3_aggtrades '{"symbol":"example_symbol","from_id":1,"start_time":1,"end_time":1,"limit":1}' --json kosmo integrations:binance binance_get_api_v3_aggtrades '{"symbol":"example_symbol","from_id":1,"start_time":1,"end_time":1,"limit":1}' --json binance.binance_get_api_v3_klines
Kline/Candlestick Data Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time. - If `startTime` and `endTime` are not sent, the most recent klines are returned. Weight(IP): 2 Official Binance Spot endpoint: GET /api/v3/klines.
read - Parameters
- symbol, interval, start_time, end_time, time_zone, limit
kosmo integrations:call binance.binance_get_api_v3_klines '{"symbol":"example_symbol","interval":"example_interval","start_time":1,"end_time":1,"time_zone":"example_time_zone","limit":1}' --json kosmo integrations:binance binance_get_api_v3_klines '{"symbol":"example_symbol","interval":"example_interval","start_time":1,"end_time":1,"time_zone":"example_time_zone","limit":1}' --json binance.binance_get_api_v3_uiklines
UIKlines The request is similar to klines having the same parameters and response. uiKlines return modified kline data, optimized for presentation of candlestick charts. Weight(IP): 2 Official Binance Spot endpoint: GET /api/v3/uiKlines.
read - Parameters
- symbol, interval, start_time, end_time, time_zone, limit
kosmo integrations:call binance.binance_get_api_v3_uiklines '{"symbol":"example_symbol","interval":"example_interval","start_time":1,"end_time":1,"time_zone":"example_time_zone","limit":1}' --json kosmo integrations:binance binance_get_api_v3_uiklines '{"symbol":"example_symbol","interval":"example_interval","start_time":1,"end_time":1,"time_zone":"example_time_zone","limit":1}' --json binance.binance_get_api_v3_avgprice
Current Average Price Current average price for a symbol. Weight(IP): 2 Official Binance Spot endpoint: GET /api/v3/avgPrice.
read - Parameters
- symbol
kosmo integrations:call binance.binance_get_api_v3_avgprice '{"symbol":"example_symbol"}' --json kosmo integrations:binance binance_get_api_v3_avgprice '{"symbol":"example_symbol"}' --json binance.binance_get_api_v3_ticker_24hr
24hr Ticker Price Change Statistics 24 hour rolling window price change statistics. Careful when accessing this with no symbol. - If the symbol is not sent, tickers for all symbols will be returned in an array. Weight(IP): - `2` for a single symbol; - `80` when the symbol parameter is omitted; Official Binance Spot endpoint: GET /api/v3/ticker/24hr.
read - Parameters
- symbol, symbols, type
kosmo integrations:call binance.binance_get_api_v3_ticker_24hr '{"symbol":"example_symbol","symbols":"example_symbols","type":"example_type"}' --json kosmo integrations:binance binance_get_api_v3_ticker_24hr '{"symbol":"example_symbol","symbols":"example_symbols","type":"example_type"}' --json binance.binance_get_api_v3_ticker_tradingday
Trading Day Ticker Price change statistics for a trading day. Notes: - Supported values for timeZone: - Hours and minutes (e.g. -1:00, 05:45) - Only hours (e.g. 0, 8, 4) Weight: - `4` for each requested symbol. - The weight for this request will cap at `200` once the number of symbols in the request is more than `50`. Official Binance Spot endpoint: GET /api/v3/ticker/tradingDay.
read - Parameters
- symbol, symbols, time_zone, type
kosmo integrations:call binance.binance_get_api_v3_ticker_tradingday '{"symbol":"example_symbol","symbols":"example_symbols","time_zone":"example_time_zone","type":"example_type"}' --json kosmo integrations:binance binance_get_api_v3_ticker_tradingday '{"symbol":"example_symbol","symbols":"example_symbols","time_zone":"example_time_zone","type":"example_type"}' --json binance.binance_get_api_v3_ticker_price
Symbol Price Ticker Latest price for a symbol or symbols. - If the symbol is not sent, prices for all symbols will be returned in an array. Weight(IP): - `2` for a single symbol; - `4` when the symbol parameter is omitted; Official Binance Spot endpoint: GET /api/v3/ticker/price.
read - Parameters
- symbol, symbols
kosmo integrations:call binance.binance_get_api_v3_ticker_price '{"symbol":"example_symbol","symbols":"example_symbols"}' --json kosmo integrations:binance binance_get_api_v3_ticker_price '{"symbol":"example_symbol","symbols":"example_symbols"}' --json binance.binance_get_api_v3_ticker_bookticker
Symbol Order Book Ticker Best price/qty on the order book for a symbol or symbols. - If the symbol is not sent, bookTickers for all symbols will be returned in an array. Weight(IP): - `2` for a single symbol; - `4` when the symbol parameter is omitted; Official Binance Spot endpoint: GET /api/v3/ticker/bookTicker.
read - Parameters
- symbol, symbols
kosmo integrations:call binance.binance_get_api_v3_ticker_bookticker '{"symbol":"example_symbol","symbols":"example_symbols"}' --json kosmo integrations:binance binance_get_api_v3_ticker_bookticker '{"symbol":"example_symbol","symbols":"example_symbols"}' --json binance.binance_get_api_v3_ticker
Rolling window price change statistics The window used to compute statistics is typically slightly wider than requested windowSize. openTime for /api/v3/ticker always starts on a minute, while the closeTime is the current time of the request. As such, the effective window might be up to 1 minute wider than requested. E.g. If the closeTime is 1641287867099 (January 04, 2022 09:17:47:099 UTC) , and the windowSize is 1d. the openTime will be: 1641201420000 (January 3, 2022, 09:17:00 UTC) Weight(IP): 4 for each requested symbol regardless of windowSize. The weight for this request will cap at 200 once the number of symbols in the request is more than 50. Official Binance Spot endpoint: GET /api/v3/ticker.
read - Parameters
- symbol, symbols, window_size, type
kosmo integrations:call binance.binance_get_api_v3_ticker '{"symbol":"example_symbol","symbols":"example_symbols","window_size":"example_window_size","type":"example_type"}' --json kosmo integrations:binance binance_get_api_v3_ticker '{"symbol":"example_symbol","symbols":"example_symbols","window_size":"example_window_size","type":"example_type"}' --json binance.binance_post_api_v3_order_test
Test New Order (TRADE) Test new order creation and signature/recvWindow long. Creates and validates a new order but does not send it into the matching engine. Weight(IP): - Without computeCommissionRates: `1` - With computeCommissionRates: `20` Official Binance Spot endpoint: POST /api/v3/order/test.
read - Parameters
- symbol, side, type, time_in_force, quantity, quote_order_qty, price, new_client_order_id, strategy_id, strategy_type, stop_price, trailing_delta, iceberg_qty, new_order_resp_type, recv_window, compute_commission_rates, timestamp
kosmo integrations:call binance.binance_post_api_v3_order_test '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1,"price":1,"new_client_order_id":"example_new_client_order_id"}' --json kosmo integrations:binance binance_post_api_v3_order_test '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1,"price":1,"new_client_order_id":"example_new_client_order_id"}' --json binance.binance_get_api_v3_order
Query Order (USER_DATA) Check an order's status. - Either `orderId` or `origClientOrderId` must be sent. - For some historical orders `cummulativeQuoteQty` will be < 0, meaning the data is not available at this time. Weight(IP): 4 Official Binance Spot endpoint: GET /api/v3/order.
read - Parameters
- symbol, order_id, orig_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_order '{"symbol":"example_symbol","order_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_order '{"symbol":"example_symbol","order_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_post_api_v3_order
New Order (TRADE) Send in a new order. - `LIMIT_MAKER` are `LIMIT` orders that will be rejected if they would immediately match and trade as a taker. - `STOP_LOSS` and `TAKE_PROFIT` will execute a `MARKET` order when the `stopPrice` is reached. - Any `LIMIT` or `LIMIT_MAKER` type order can be made an iceberg order by sending an `icebergQty`. - Any order with an `icebergQty` MUST have `timeInForce` set to `GTC`. - `MARKET` orders using `quantity` specifies how much a user wants to buy or sell based on the market price. - `MARKET` orders using `quoteOrderQty` specifies the amount the user wants to spend (when buying) or receive (when selling) of the quote asset; the correct quantity will be determined based on the market liquidity and `quoteOrderQty`. - `MARKET` orders using `quoteOrderQty` will not break `LOT_SIZE` filter rules; the order will execute a quantity that will have the notional value as close as possible to `quoteOrderQty`. - same `newClientOrderId` can be accepted only when the previous one Official Binance Spot endpoint: POST /api/v3/order.
read - Parameters
- symbol, side, type, time_in_force, quantity, quote_order_qty, price, new_client_order_id, strategy_id, strategy_type, stop_price, trailing_delta, iceberg_qty, new_order_resp_type, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_order '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1,"price":1,"new_client_order_id":"example_new_client_order_id"}' --json kosmo integrations:binance binance_post_api_v3_order '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1,"price":1,"new_client_order_id":"example_new_client_order_id"}' --json binance.binance_delete_api_v3_order
Cancel Order (TRADE) Cancel an active order. Either `orderId` or `origClientOrderId` must be sent. Weight(IP): 1 Official Binance Spot endpoint: DELETE /api/v3/order.
write - Parameters
- symbol, order_id, orig_client_order_id, new_client_order_id, cancel_restrictions, recv_window, timestamp
kosmo integrations:call binance.binance_delete_api_v3_order '{"symbol":"example_symbol","order_id":1,"orig_client_order_id":"example_orig_client_order_id","new_client_order_id":"example_new_client_order_id","cancel_restrictions":"example_cancel_restrictions","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_api_v3_order '{"symbol":"example_symbol","order_id":1,"orig_client_order_id":"example_orig_client_order_id","new_client_order_id":"example_new_client_order_id","cancel_restrictions":"example_cancel_restrictions","recv_window":1,"timestamp":1}' --json binance.binance_post_api_v3_order_cancelreplace
Cancel an Existing Order and Send a New Order (Trade) Cancels an existing order and places a new order on the same symbol. Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs. A new order that was not attempted (i.e. when newOrderResult: NOT_ATTEMPTED), will still increase the order count by 1. Weight(IP): 1 Official Binance Spot endpoint: POST /api/v3/order/cancelReplace.
read - Parameters
- symbol, side, type, cancel_replace_mode, cancel_restrictions, time_in_force, quantity, quote_order_qty, price, cancel_new_client_order_id, cancel_orig_client_order_id, cancel_order_id, new_client_order_id, strategy_id, strategy_type, stop_price, trailing_delta, iceberg_qty, new_order_resp_type, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_order_cancelreplace '{"symbol":"example_symbol","side":"example_side","type":"example_type","cancel_replace_mode":"example_cancel_replace_mode","cancel_restrictions":"example_cancel_restrictions","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1}' --json kosmo integrations:binance binance_post_api_v3_order_cancelreplace '{"symbol":"example_symbol","side":"example_side","type":"example_type","cancel_replace_mode":"example_cancel_replace_mode","cancel_restrictions":"example_cancel_restrictions","time_in_force":"example_time_in_force","quantity":1,"quote_order_qty":1}' --json binance.binance_get_api_v3_openorders
Current Open Orders (USER_DATA) Get all open orders on a symbol. Careful when accessing this with no symbol. Weight(IP): - `6` for a single symbol; - `80` when the symbol parameter is omitted; Official Binance Spot endpoint: GET /api/v3/openOrders.
read - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_openorders '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_openorders '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_delete_api_v3_openorders
Cancel all Open Orders on a Symbol (TRADE) Cancels all active orders on a symbol. This includes OCO orders. Weight(IP): 1 Official Binance Spot endpoint: DELETE /api/v3/openOrders.
write - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_delete_api_v3_openorders '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_api_v3_openorders '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_allorders
All Orders (USER_DATA) Get all account orders; active, canceled, or filled.. - If `orderId` is set, it will get orders >= that `orderId`. Otherwise most recent orders are returned. - For some historical orders `cummulativeQuoteQty` will be < 0, meaning the data is not available at this time. - If `startTime` and/or `endTime` provided, `orderId` is not required Weight(IP): 20 Official Binance Spot endpoint: GET /api/v3/allOrders.
read - Parameters
- symbol, order_id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_allorders '{"symbol":"example_symbol","order_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_allorders '{"symbol":"example_symbol","order_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_api_v3_orderlist_oco
New Order list - OCO (TRADE) Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other. - An `OCO` has 2 orders called the above order and below order. - One of the orders must be a `LIMIT_MAKER` order and the other must be `STOP_LOSS` or`STOP_LOSS_LIMIT` order. - Price restrictions: - If the `OCO` is on the `SELL` side: `LIMIT_MAKER` price > Last Traded Price > stopPrice - If the `OCO` is on the `BUY` side: `LIMIT_MAKER` price < Last Traded Price < stopPrice - OCOs add 2 orders to the unfilled order count, `EXCHANGE_MAX_ORDERS` filter, and the `MAX_NUM_ORDERS` filter. Weight(IP): 1 Official Binance Spot endpoint: POST /api/v3/orderList/oco.
read - Parameters
- symbol, list_client_order_id, side, quantity, above_type, above_client_order_id, above_iceberg_qty, above_price, above_stop_price, above_trailing_delta, above_time_in_force, above_strategy_id, above_strategy_type, below_type, below_client_order_id, below_iceberg_qty, below_price, below_stop_price, below_trailing_delta, below_time_in_force, below_strategy_id, below_strategy_type, new_order_resp_type, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_orderlist_oco '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","side":"example_side","quantity":1,"above_type":"example_above_type","above_client_order_id":"example_above_client_order_id","above_iceberg_qty":1,"above_price":1}' --json kosmo integrations:binance binance_post_api_v3_orderlist_oco '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","side":"example_side","quantity":1,"above_type":"example_above_type","above_client_order_id":"example_above_client_order_id","above_iceberg_qty":1,"above_price":1}' --json binance.binance_post_api_v3_orderlist_oto
New Order List - OTO (TRADE) Places an `OTO`. - An `OTO` (One-Triggers-the-Other) is an order list comprised of 2 orders. - The first order is called the working order and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book. - The second order is called the pending order. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets fully filled. - If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired. - When the order list is placed, if the working order gets immediately fully filled, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status. - OTOs add 2 orders to the unfilled order count, `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` f Official Binance Spot endpoint: POST /api/v3/orderList/oto.
read - Parameters
- symbol, list_client_order_id, new_order_resp_type, self_trade_prevention_mode, working_type, working_side, working_client_order_id, working_price, working_quantity, working_iceberg_qty, working_time_in_force, working_strategy_id, working_strategy_type, pending_type, pending_side, pending_client_order_id, pending_price, pending_stop_price, pending_trailing_delta, pending_quantity, pending_iceberg_qty, pending_time_in_force, pending_strategy_id, pending_strategy_type, timestamp
kosmo integrations:call binance.binance_post_api_v3_orderlist_oto '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type","working_side":"example_working_side","working_client_order_id":"example_working_client_order_id","working_price":1}' --json kosmo integrations:binance binance_post_api_v3_orderlist_oto '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type","working_side":"example_working_side","working_client_order_id":"example_working_client_order_id","working_price":1}' --json binance.binance_post_api_v3_orderlist_otoco
New Order List - OTOCO (TRADE) Place an `OTOCO`. - An `OTOCO` (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders. - The first order is called the working order and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book. - The behavior of the working order is the same as the `OTO`. - `OTOCO` has 2 pending orders (pending above and pending below), forming an `OCO` pair. The pending orders are only placed on the order book when the working order gets fully filled. - The rules of the pending above and pending below follow the same rules as the Order List `OCO`. - OTOCOs add 3 orders against the unfilled order count, `EXCHANGE_MAX_NUM_ORDERS` filter, and `MAX_NUM_ORDERS` filter. Weight: 1 Official Binance Spot endpoint: POST /api/v3/orderList/otoco.
read - Parameters
- symbol, list_client_order_id, new_order_resp_type, self_trade_prevention_mode, working_type, working_side, working_client_order_id, working_price, working_quantity, working_iceberg_qty, working_time_in_force, working_strategy_id, working_strategy_type, pending_side, pending_quantity, pending_above_type, pending_above_client_order_id, pending_above_price, pending_above_stop_price, pending_above_trailing_delta, pending_above_iceberg_qty, pending_above_time_in_force, pending_above_strategy_id, pending_above_strategy_type, pending_below_type, pending_below_client_order_id, pending_below_price, pending_below_stop_price, pending_below_trailing_delta, pending_below_iceberg_qty, pending_below_time_in_force, pending_below_strategy_id, pending_below_strategy_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_orderlist_otoco '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type","working_side":"example_working_side","working_client_order_id":"example_working_client_order_id","working_price":1}' --json kosmo integrations:binance binance_post_api_v3_orderlist_otoco '{"symbol":"example_symbol","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type","working_side":"example_working_side","working_client_order_id":"example_working_client_order_id","working_price":1}' --json binance.binance_get_api_v3_orderlist
Query OCO (USER_DATA) Retrieves a specific OCO based on provided optional parameters Weight(IP): 4 Official Binance Spot endpoint: GET /api/v3/orderList.
read - Parameters
- order_list_id, orig_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_orderlist '{"order_list_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_orderlist '{"order_list_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_delete_api_v3_orderlist
Cancel OCO (TRADE) Cancel an entire Order List Canceling an individual leg will cancel the entire OCO Weight(IP): 1 Official Binance Spot endpoint: DELETE /api/v3/orderList.
write - Parameters
- symbol, order_list_id, list_client_order_id, new_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_delete_api_v3_orderlist '{"symbol":"example_symbol","order_list_id":1,"list_client_order_id":"example_list_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_api_v3_orderlist '{"symbol":"example_symbol","order_list_id":1,"list_client_order_id":"example_list_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_allorderlist
Query all OCO (USER_DATA) Retrieves all OCO based on provided optional parameters Weight(IP): 20 Official Binance Spot endpoint: GET /api/v3/allOrderList.
read - Parameters
- from_id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_allorderlist '{"from_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_allorderlist '{"from_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_openorderlist
Query Open OCO (USER_DATA) Weight(IP): 6 Official Binance Spot endpoint: GET /api/v3/openOrderList.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_openorderlist '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_openorderlist '{"recv_window":1,"timestamp":1}' --json binance.binance_post_api_v3_sor_order
New order using SOR (TRADE) Weight(IP): 6 Official Binance Spot endpoint: POST /api/v3/sor/order.
read - Parameters
- symbol, side, type, time_in_force, quantity, price, new_client_order_id, strategy_id, strategy_type, iceberg_qty, new_order_resp_type, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_sor_order '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"price":1,"new_client_order_id":"example_new_client_order_id","strategy_id":1}' --json kosmo integrations:binance binance_post_api_v3_sor_order '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"price":1,"new_client_order_id":"example_new_client_order_id","strategy_id":1}' --json binance.binance_post_api_v3_sor_order_test
Test new order using SOR (TRADE) Test new order creation and signature/recvWindow using smart order routing (SOR). Creates and validates a new order but does not send it into the matching engine. Weight(IP): - Without computeCommissionRates: `1` - With computeCommissionRates: `20` Official Binance Spot endpoint: POST /api/v3/sor/order/test.
read - Parameters
- symbol, side, type, time_in_force, quantity, price, new_client_order_id, strategy_id, strategy_type, iceberg_qty, new_order_resp_type, self_trade_prevention_mode, compute_commission_rates, recv_window, timestamp
kosmo integrations:call binance.binance_post_api_v3_sor_order_test '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"price":1,"new_client_order_id":"example_new_client_order_id","strategy_id":1}' --json kosmo integrations:binance binance_post_api_v3_sor_order_test '{"symbol":"example_symbol","side":"example_side","type":"example_type","time_in_force":"example_time_in_force","quantity":1,"price":1,"new_client_order_id":"example_new_client_order_id","strategy_id":1}' --json binance.binance_get_api_v3_account
Account Information (USER_DATA) Get current account information. Weight(IP): 20 Official Binance Spot endpoint: GET /api/v3/account.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_account '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_account '{"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_mytrades
Account Trade List (USER_DATA) Get trades for a specific account and symbol. If `fromId` is set, it will get id >= that `fromId`. Otherwise most recent orders are returned. The time between startTime and endTime can't be longer than 24 hours. These are the supported combinations of all parameters: symbol symbol + orderId symbol + startTime symbol + endTime symbol + fromId symbol + startTime + endTime symbol+ orderId + fromId Weight(IP): 20 Official Binance Spot endpoint: GET /api/v3/myTrades.
read - Parameters
- symbol, order_id, start_time, end_time, from_id, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_mytrades '{"symbol":"example_symbol","order_id":1,"start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_mytrades '{"symbol":"example_symbol","order_id":1,"start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_ratelimit_order
Query Current Order Count Usage (TRADE) Displays the user's current order count usage for all intervals. Weight(IP): 40 Official Binance Spot endpoint: GET /api/v3/rateLimit/order.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_ratelimit_order '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_ratelimit_order '{"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_mypreventedmatches
Query Prevented Matches Displays the list of orders that were expired because of STP. For additional information on what a Prevented match is, as well as Self Trade Prevention (STP), please refer to our STP FAQ page. These are the combinations supported: * symbol + preventedMatchId * symbol + orderId * symbol + orderId + fromPreventedMatchId (limit will default to 500) * symbol + orderId + fromPreventedMatchId + limit Weight(IP): Case Weight If symbol is invalid: 2 Querying by preventedMatchId: 2 Querying by orderId: 20 Official Binance Spot endpoint: GET /api/v3/myPreventedMatches.
read - Parameters
- symbol, prevented_match_id, order_id, from_prevented_match_id, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_mypreventedmatches '{"symbol":"example_symbol","prevented_match_id":1,"order_id":1,"from_prevented_match_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_mypreventedmatches '{"symbol":"example_symbol","prevented_match_id":1,"order_id":1,"from_prevented_match_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_myallocations
Query Allocations (USER_DATA) Retrieves allocations resulting from SOR order placement. Weight: 20 Supported parameter combinations: Parameters Response symbol allocations from oldest to newest symbol + startTime oldest allocations since startTime symbol + endTime newest allocations until endTime symbol + startTime + endTime allocations within the time range symbol + fromAllocationId allocations by allocation ID symbol + orderId allocations related to an order starting with oldest symbol + orderId + fromAllocationId allocations related to an order by allocation ID Note: The time between startTime and endTime can't be longer than 24 hours. Official Binance Spot endpoint: GET /api/v3/myAllocations.
read - Parameters
- symbol, start_time, end_time, from_allocation_id, limit, order_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_api_v3_myallocations '{"symbol":"example_symbol","start_time":1,"end_time":1,"from_allocation_id":1,"limit":1,"order_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_myallocations '{"symbol":"example_symbol","start_time":1,"end_time":1,"from_allocation_id":1,"limit":1,"order_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_api_v3_account_commission
Query Commission Rates (USER_DATA) Get current account commission rates. Weight: 20 Official Binance Spot endpoint: GET /api/v3/account/commission.
read - Parameters
- symbol, timestamp
kosmo integrations:call binance.binance_get_api_v3_account_commission '{"symbol":"example_symbol","timestamp":1}' --json kosmo integrations:binance binance_get_api_v3_account_commission '{"symbol":"example_symbol","timestamp":1}' --json binance.binance_post_sapi_v1_margin_borrow_repay
Margin account borrow/repay(MARGIN) Margin account borrow/repay(MARGIN) Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/margin/borrow-repay.
read - Parameters
- asset, is_isolated, symbol, amount, type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_borrow_repay '{"asset":"example_asset","is_isolated":"example_is_isolated","symbol":"example_symbol","amount":1,"type":"example_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_borrow_repay '{"asset":"example_asset","is_isolated":"example_is_isolated","symbol":"example_symbol","amount":1,"type":"example_type","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_borrow_repay
Query borrow/repay records in Margin account(USER_DATA) Query borrow/repay records in Margin account - txId or startTime must be sent. txId takes precedence. Response in descending order - If an asset is sent, data within 30 days before endTime; If an asset is not sent, data within 7 days before endTime - If neither startTime nor endTime is sent, the recent 7-day data will be returned. - startTime set as endTime - 7 days by default, endTime set as current time by default Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/borrow-repay.
read - Parameters
- asset, isolated_symbol, tx_id, start_time, end_time, current, size, type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_borrow_repay '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","tx_id":1,"start_time":1,"end_time":1,"current":1,"size":1,"type":"example_type"}' --json kosmo integrations:binance binance_get_sapi_v1_margin_borrow_repay '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","tx_id":1,"start_time":1,"end_time":1,"current":1,"size":1,"type":"example_type"}' --json binance.binance_get_sapi_v1_margin_transfer
Get Cross Margin Transfer History (USER_DATA) - Response in descending order - Returns data for last 7 days by default - Set `archived` to `true` to query data from 6 months ago Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/transfer.
read - Parameters
- asset, type, start_time, end_time, current, size, isolated_symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_transfer '{"asset":"example_asset","type":"example_type","start_time":1,"end_time":1,"current":1,"size":1,"isolated_symbol":"example_isolated_symbol","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_transfer '{"asset":"example_asset","type":"example_type","start_time":1,"end_time":1,"current":1,"size":1,"isolated_symbol":"example_isolated_symbol","recv_window":1}' --json binance.binance_get_sapi_v1_margin_allassets
Get All Margin Assets (MARKET_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/allAssets.
read - Parameters
- asset
kosmo integrations:call binance.binance_get_sapi_v1_margin_allassets '{"asset":"example_asset"}' --json kosmo integrations:binance binance_get_sapi_v1_margin_allassets '{"asset":"example_asset"}' --json binance.binance_get_sapi_v1_margin_allpairs
Get All Cross Margin Pairs (MARKET_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/allPairs.
read - Parameters
- symbol
kosmo integrations:call binance.binance_get_sapi_v1_margin_allpairs '{"symbol":"example_symbol"}' --json kosmo integrations:binance binance_get_sapi_v1_margin_allpairs '{"symbol":"example_symbol"}' --json binance.binance_get_sapi_v1_margin_priceindex
Query Margin PriceIndex (MARKET_DATA) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/priceIndex.
read - Parameters
- symbol
kosmo integrations:call binance.binance_get_sapi_v1_margin_priceindex '{"symbol":"example_symbol"}' --json kosmo integrations:binance binance_get_sapi_v1_margin_priceindex '{"symbol":"example_symbol"}' --json binance.binance_get_sapi_v1_margin_order
Query Margin Account's Order (USER_DATA) - Either `orderId` or `origClientOrderId` must be sent. - For some historical orders `cummulativeQuoteQty` will be < 0, meaning the data is not available at this time. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/order.
read - Parameters
- symbol, is_isolated, order_id, orig_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_margin_order
Margin Account New Order (TRADE) Post a new order for margin account. Weight(UID): 6 Official Binance Spot endpoint: POST /sapi/v1/margin/order.
read - Parameters
- symbol, is_isolated, side, type, quantity, quote_order_qty, price, stop_price, new_client_order_id, iceberg_qty, new_order_resp_type, side_effect_type, time_in_force, auto_repay_at_cancel, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","side":"example_side","type":"example_type","quantity":1,"quote_order_qty":1,"price":1,"stop_price":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","side":"example_side","type":"example_type","quantity":1,"quote_order_qty":1,"price":1,"stop_price":1}' --json binance.binance_delete_sapi_v1_margin_order
Margin Account Cancel Order (TRADE) Cancel an active order for margin account. Either `orderId` or `origClientOrderId` must be sent. Weight(IP): 10 Official Binance Spot endpoint: DELETE /sapi/v1/margin/order.
write - Parameters
- symbol, is_isolated, order_id, orig_client_order_id, new_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"orig_client_order_id":"example_orig_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_margin_order '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"orig_client_order_id":"example_orig_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_interesthistory
Get Interest History (USER_DATA) - Response in descending order - If `isolatedSymbol` is not sent, crossed margin data will be returned - Set `archived` to `true` to query data from 6 months ago - `type` in response has 4 enums: - `PERIODIC` interest charged per hour - `ON_BORROW` first interest charged on borrow - `PERIODIC_CONVERTED` interest charged per hour converted into BNB - `ON_BORROW_CONVERTED` first interest charged on borrow converted into BNB Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/interestHistory.
read - Parameters
- asset, isolated_symbol, start_time, end_time, current, size, archived, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_interesthistory '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","start_time":1,"end_time":1,"current":1,"size":1,"archived":"example_archived","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_interesthistory '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","start_time":1,"end_time":1,"current":1,"size":1,"archived":"example_archived","recv_window":1}' --json binance.binance_get_sapi_v1_margin_forceliquidationrec
Get Force Liquidation Record (USER_DATA) - Response in descending order Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/forceLiquidationRec.
read - Parameters
- start_time, end_time, isolated_symbol, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_forceliquidationrec '{"start_time":1,"end_time":1,"isolated_symbol":"example_isolated_symbol","current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_forceliquidationrec '{"start_time":1,"end_time":1,"isolated_symbol":"example_isolated_symbol","current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_account
Query Cross Margin Account Details (USER_DATA) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/account.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_account '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_account '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_openorders
Query Margin Account's Open Orders (USER_DATA) - If the `symbol` is not sent, orders for all symbols will be returned in an array. - When all symbols are returned, the number of requests counted against the rate limiter is equal to the number of symbols currently trading on the exchange - If isIsolated ="TRUE", symbol must be sent. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/openOrders.
read - Parameters
- symbol, is_isolated, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_openorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_openorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json binance.binance_delete_sapi_v1_margin_openorders
Margin Account Cancel all Open Orders on a Symbol (TRADE) - Cancels all active orders on a symbol for margin account. - This includes OCO orders. Weight(IP): 1 Official Binance Spot endpoint: DELETE /sapi/v1/margin/openOrders.
write - Parameters
- symbol, is_isolated, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_margin_openorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_margin_openorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_allorders
Query Margin Account's All Orders (USER_DATA) - If `orderId` is set, it will get orders >= that orderId. Otherwise most recent orders are returned. - For some historical orders `cummulativeQuoteQty` will be < 0, meaning the data is not available at this time. Weight(IP): 200 Request Limit: 60 times/min per IP Official Binance Spot endpoint: GET /sapi/v1/margin/allOrders.
read - Parameters
- symbol, is_isolated, order_id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_allorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_allorders '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_margin_order_oco
Margin Account New OCO (TRADE) Send in a new OCO for a margin account - Price Restrictions: - SELL: Limit Price > Last Price > Stop Price - BUY: Limit Price < Last Price < Stop Price - Quantity Restrictions: - Both legs must have the same quantity - ICEBERG quantities however do not have to be the same. - Order Rate Limit - OCO counts as 2 orders against the order rate limit. Weight(UID): 6 Official Binance Spot endpoint: POST /sapi/v1/margin/order/oco.
read - Parameters
- symbol, is_isolated, list_client_order_id, side, quantity, limit_client_order_id, price, limit_iceberg_qty, stop_client_order_id, stop_price, stop_limit_price, stop_iceberg_qty, stop_limit_time_in_force, new_order_resp_type, side_effect_type, self_trade_prevention_mode, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_order_oco '{"symbol":"example_symbol","is_isolated":"example_is_isolated","list_client_order_id":"example_list_client_order_id","side":"example_side","quantity":1,"limit_client_order_id":"example_limit_client_order_id","price":1,"limit_iceberg_qty":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_order_oco '{"symbol":"example_symbol","is_isolated":"example_is_isolated","list_client_order_id":"example_list_client_order_id","side":"example_side","quantity":1,"limit_client_order_id":"example_limit_client_order_id","price":1,"limit_iceberg_qty":1}' --json binance.binance_get_sapi_v1_margin_orderlist
Query Margin Account's OCO (USER_DATA) Retrieves a specific OCO based on provided optional parameters - Either `orderListId` or `origClientOrderId` must be provided Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/orderList.
read - Parameters
- is_isolated, symbol, order_list_id, orig_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_orderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","order_list_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_orderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","order_list_id":1,"orig_client_order_id":"example_orig_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_delete_sapi_v1_margin_orderlist
Margin Account Cancel OCO (TRADE) Cancel an entire Order List for a margin account - Canceling an individual leg will cancel the entire OCO - Either `orderListId` or `listClientOrderId` must be provided Weight(UID): 1 Official Binance Spot endpoint: DELETE /sapi/v1/margin/orderList.
write - Parameters
- symbol, is_isolated, order_list_id, list_client_order_id, new_client_order_id, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_margin_orderlist '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_list_id":1,"list_client_order_id":"example_list_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_margin_orderlist '{"symbol":"example_symbol","is_isolated":"example_is_isolated","order_list_id":1,"list_client_order_id":"example_list_client_order_id","new_client_order_id":"example_new_client_order_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_allorderlist
Query Margin Account's all OCO (USER_DATA) Retrieves all OCO for a specific margin account based on provided optional parameters Weight(IP): 200 Official Binance Spot endpoint: GET /sapi/v1/margin/allOrderList.
read - Parameters
- is_isolated, symbol, from_id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_allorderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","from_id":"example_from_id","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_allorderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","from_id":"example_from_id","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_openorderlist
Query Margin Account's Open OCO (USER_DATA) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/openOrderList.
read - Parameters
- is_isolated, symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_openorderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_openorderlist '{"is_isolated":"example_is_isolated","symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_mytrades
Query Margin Account's Trade List (USER_DATA) - If `fromId` is set, it will get orders >= that `fromId`. Otherwise most recent trades are returned. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/myTrades.
read - Parameters
- symbol, is_isolated, start_time, end_time, from_id, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_mytrades '{"symbol":"example_symbol","is_isolated":"example_is_isolated","start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_mytrades '{"symbol":"example_symbol","is_isolated":"example_is_isolated","start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_maxborrowable
Query Max Borrow (USER_DATA) - If `isolatedSymbol` is not sent, crossed margin data will be sent. - `borrowLimit` is also available from https://www.binance.com/en/margin-fee Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/margin/maxBorrowable.
read - Parameters
- asset, isolated_symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_maxborrowable '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_maxborrowable '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_maxtransferable
Query Max Transfer-Out Amount (USER_DATA) - If `isolatedSymbol` is not sent, crossed margin data will be sent. Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/margin/maxTransferable.
read - Parameters
- asset, isolated_symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_maxtransferable '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_maxtransferable '{"asset":"example_asset","isolated_symbol":"example_isolated_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_tradecoeff
Get Summary of Margin account (USER_DATA) Get personal margin level information Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/tradeCoeff.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_tradecoeff '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_tradecoeff '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_isolated_account
Query Isolated Margin Account Info (USER_DATA) - If "symbols" is not sent, all isolated assets will be returned. - If "symbols" is sent, only the isolated assets of the sent symbols will be returned. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/isolated/account.
read - Parameters
- symbols, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_isolated_account '{"symbols":"example_symbols","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_isolated_account '{"symbols":"example_symbols","recv_window":1,"timestamp":1}' --json binance.binance_delete_sapi_v1_margin_isolated_account
Disable Isolated Margin Account (TRADE) Disable isolated margin account for a specific symbol. Each trading pair can only be deactivated once every 24 hours . Weight(UID): 300 Official Binance Spot endpoint: DELETE /sapi/v1/margin/isolated/account.
write - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_margin_isolated_account '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_margin_isolated_account '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_margin_isolated_account
Enable Isolated Margin Account (TRADE) Enable isolated margin account for a specific symbol. Weight(UID): 300 Official Binance Spot endpoint: POST /sapi/v1/margin/isolated/account.
read - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_isolated_account '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_isolated_account '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_isolated_accountlimit
Query Enabled Isolated Margin Account Limit (USER_DATA) Query enabled isolated margin account limit. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/isolated/accountLimit.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_isolated_accountlimit '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_isolated_accountlimit '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_isolated_allpairs
Get All Isolated Margin Symbol(USER_DATA) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/margin/isolated/allPairs.
read - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_isolated_allpairs '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_isolated_allpairs '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_bnbburn
Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA) - "spotBNBBurn" and "interestBNBBurn" should be sent at least one. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/bnbBurn.
read - Parameters
- spot_bnb_burn, interest_bnb_burn, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_bnbburn '{"spot_bnb_burn":"example_spot_bnb_burn","interest_bnb_burn":"example_interest_bnb_burn","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_bnbburn '{"spot_bnb_burn":"example_spot_bnb_burn","interest_bnb_burn":"example_interest_bnb_burn","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_bnbburn
Get BNB Burn Status(USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/bnbBurn.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_bnbburn '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_bnbburn '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_interestratehistory
Margin Interest Rate History (USER_DATA) The max interval between startTime and endTime is 30 days. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/interestRateHistory.
read - Parameters
- asset, vip_level, start_time, end_time, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_interestratehistory '{"asset":"example_asset","vip_level":1,"start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_interestratehistory '{"asset":"example_asset","vip_level":1,"start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_crossmargindata
Query Cross Margin Fee Data (USER_DATA) Get cross margin fee data collection with any vip level or user's current specific data as https://www.binance.com/en/margin-fee Weight(IP): 1 when coin is specified; 5 when the coin parameter is omitted Official Binance Spot endpoint: GET /sapi/v1/margin/crossMarginData.
read - Parameters
- vip_level, coin, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_crossmargindata '{"vip_level":1,"coin":"example_coin","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_crossmargindata '{"vip_level":1,"coin":"example_coin","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_isolatedmargindata
Query Isolated Margin Fee Data (USER_DATA) Get isolated margin fee data collection with any vip level or user's current specific data as https://www.binance.com/en/margin-fee Weight(IP): 1 when a single is specified; 10 when the symbol parameter is omitted Official Binance Spot endpoint: GET /sapi/v1/margin/isolatedMarginData.
read - Parameters
- vip_level, symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_isolatedmargindata '{"vip_level":1,"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_isolatedmargindata '{"vip_level":1,"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_isolatedmargintier
Query Isolated Margin Tier Data (USER_DATA) Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/isolatedMarginTier.
read - Parameters
- symbol, tier, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_isolatedmargintier '{"symbol":"example_symbol","tier":"example_tier","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_isolatedmargintier '{"symbol":"example_symbol","tier":"example_tier","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_ratelimit_order
Query Current Margin Order Count Usage (TRADE) Displays the user's current margin order count usage for all intervals. Weight(IP): 20 Official Binance Spot endpoint: GET /sapi/v1/margin/rateLimit/order.
read - Parameters
- is_isolated, symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_ratelimit_order '{"is_isolated":"example_is_isolated","symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_ratelimit_order '{"is_isolated":"example_is_isolated","symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_crossmargincollateralratio
Cross margin collateral ratio (MARKET_DATA) Weight(IP): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/crossMarginCollateralRatio.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_margin_crossmargincollateralratio '{}' --json kosmo integrations:binance binance_get_sapi_v1_margin_crossmargincollateralratio '{}' --json binance.binance_get_sapi_v1_margin_exchange_small_liability
Get Small Liability Exchange Coin List (USER_DATA) Query the coins which can be small liability exchange Weight(UID): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/exchange-small-liability.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_exchange_small_liability '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_exchange_small_liability '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_exchange_small_liability_history
Get Small Liability Exchange History (USER_DATA) Get Small liability Exchange History Weight(UID): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/exchange-small-liability-history.
read - Parameters
- current, size, start_time, end_time, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_exchange_small_liability_history '{"current":1,"size":1,"start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_exchange_small_liability_history '{"current":1,"size":1,"start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_next_hourly_interest_rate
Get a future hourly interest rate (USER_DATA) Get user the next hourly estimate interest Weight(UID): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/next-hourly-interest-rate.
read - Parameters
- assets, is_isolated, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_next_hourly_interest_rate '{"assets":"example_assets","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_next_hourly_interest_rate '{"assets":"example_assets","is_isolated":"example_is_isolated","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_capital_flow
Get cross or isolated margin capital flow(USER_DATA) Get cross or isolated margin capital flow Weight(IP): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/capital-flow.
read - Parameters
- asset, symbol, type, start_time, end_time, from_id, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_capital_flow '{"asset":"example_asset","symbol":"example_symbol","type":"example_type","start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_capital_flow '{"asset":"example_asset","symbol":"example_symbol","type":"example_type","start_time":1,"end_time":1,"from_id":1,"limit":1,"recv_window":1}' --json binance.binance_get_sapi_v1_margin_delist_schedule
Get tokens or symbols delist schedule for cross margin and isolated margin (MARKET_DATA) Get tokens or symbols delist schedule for cross margin and isolated margin Weight(IP): 100 Official Binance Spot endpoint: GET /sapi/v1/margin/delist-schedule.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_delist_schedule '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_delist_schedule '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_available_inventory
Query Margin Available Inventory (USER_DATA) Margin available Inventory query Weight(UID): 50 Official Binance Spot endpoint: GET /sapi/v1/margin/available-inventory.
read - Parameters
- type, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_margin_available_inventory '{"type":"example_type","timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_margin_available_inventory '{"type":"example_type","timestamp":1}' --json binance.binance_post_sapi_v1_margin_manual_liquidation
Margin manual liquidation(MARGIN) Margin manual liquidation Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/margin/manual-liquidation.
read - Parameters
- type, symbol, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_manual_liquidation '{"type":"example_type","symbol":"example_symbol","timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_manual_liquidation '{"type":"example_type","symbol":"example_symbol","timestamp":1}' --json binance.binance_post_sapi_v1_margin_order_oto
Margin Account New OTO (TRADE) Post a new `OTO` order for margin account: - An `OTO` (One-Triggers-the-Other) is an order list comprised of 2 orders - The first order is called the working order and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book. - The second order is called the pending order. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets fully filled. - If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired. - When the order list is placed, if the working order gets immediately fully filled, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status. - OTOs add 2 orders to the unfilled order count, `EXCHANGE_MAX_NUM_ORDERS` filt Official Binance Spot endpoint: POST /sapi/v1/margin/order/oto.
read - Parameters
- symbol, is_isolated, list_client_order_id, new_order_resp_type, side_effect_type, self_trade_prevention_mode, auto_repay_at_cancel, working_type, working_side, working_client_order_id, working_price, working_quantity, working_iceberg_qty, working_time_in_force, pending_type, pending_side, pending_client_order_id, pending_price, pending_stop_price, pending_trailing_delta, pending_quantity, pending_iceberg_qty, pending_time_in_force, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_order_oto '{"symbol":"example_symbol","is_isolated":"example_is_isolated","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","side_effect_type":"example_side_effect_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","auto_repay_at_cancel":true,"working_type":"example_working_type"}' --json kosmo integrations:binance binance_post_sapi_v1_margin_order_oto '{"symbol":"example_symbol","is_isolated":"example_is_isolated","list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","side_effect_type":"example_side_effect_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","auto_repay_at_cancel":true,"working_type":"example_working_type"}' --json binance.binance_post_sapi_v1_margin_order_otoco
Margin Account New OTOCO (TRADE) Post a new `OTOCO` order for margin account: - An `OTOCO` (One-Triggers-the-Other-Cancel-the-Other) is an order list comprised of 3 orders - The first order is called the working order and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book. - The behavior of the working order is the same as the `OTO`. - `OTOCO` has 2 pending orders (pending above and pending below), forming an `OCO` pair. The pending orders are only placed on the order book when the working order gets fully filled. - The rules of the pending above and pending below follow the same rules as the Order List `OCO`. - OTOCOs add 3 orders to the unfilled order count, `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter. Weight(UID): 6 Official Binance Spot endpoint: POST /sapi/v1/margin/order/otoco.
read - Parameters
- symbol, is_isolated, side_effect_type, auto_repay_at_cancel, list_client_order_id, new_order_resp_type, self_trade_prevention_mode, working_type, working_side, working_client_order_id, working_price, working_quantity, working_iceberg_qty, working_time_in_force, pending_side, pending_quantity, pending_above_type, pending_above_client_order_id, pending_above_price, pending_above_stop_price, pending_above_trailing_delta, pending_above_iceberg_qty, pending_above_time_in_force, pending_below_type, pending_below_client_order_id, pending_below_price, pending_below_stop_price, pending_below_trailing_delta, pending_below_iceberg_qty, pending_below_time_in_force, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_order_otoco '{"symbol":"example_symbol","is_isolated":"example_is_isolated","side_effect_type":"example_side_effect_type","auto_repay_at_cancel":true,"list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type"}' --json kosmo integrations:binance binance_post_sapi_v1_margin_order_otoco '{"symbol":"example_symbol","is_isolated":"example_is_isolated","side_effect_type":"example_side_effect_type","auto_repay_at_cancel":true,"list_client_order_id":"example_list_client_order_id","new_order_resp_type":"example_new_order_resp_type","self_trade_prevention_mode":"example_self_trade_prevention_mode","working_type":"example_working_type"}' --json binance.binance_post_sapi_v1_margin_max_leverage
Adjust cross margin max leverage (USER_DATA) Adjust cross margin max leverage Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/margin/max-leverage.
read - Parameters
- max_leverage, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_margin_max_leverage '{"max_leverage":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_margin_max_leverage '{"max_leverage":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_margin_leveragebracket
Query Liability Coin Leverage Bracket in Cross Margin Pro Mode (MARKET_DATA) Liability Coin Leverage Bracket in Cross Margin Pro Mode Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/margin/leverageBracket.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_margin_leveragebracket '{}' --json kosmo integrations:binance binance_get_sapi_v1_margin_leveragebracket '{}' --json binance.binance_get_sapi_v1_system_status
System Status (System) Fetch system status. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/system/status.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_system_status '{}' --json kosmo integrations:binance binance_get_sapi_v1_system_status '{}' --json binance.binance_get_sapi_v1_capital_config_getall
All Coins' Information (USER_DATA) Get information of coins (available for deposit and withdraw) for user. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/capital/config/getall.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_config_getall '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_config_getall '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_accountsnapshot
Daily Account Snapshot (USER_DATA) - The query time period must be less than 30 days - Support query within the last one month only - If startTimeand endTime not sent, return records of the last 7 days by default Weight(IP): 2400 Official Binance Spot endpoint: GET /sapi/v1/accountSnapshot.
read - Parameters
- type, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_accountsnapshot '{"type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_accountsnapshot '{"type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_account_disablefastwithdrawswitch
Disable Fast Withdraw Switch (USER_DATA) - This request will disable fastwithdraw switch under your account. - You need to enable "trade" option for the api key which requests this endpoint. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/account/disableFastWithdrawSwitch.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_account_disablefastwithdrawswitch '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_account_disablefastwithdrawswitch '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_account_enablefastwithdrawswitch
Enable Fast Withdraw Switch (USER_DATA) - This request will enable fastwithdraw switch under your account. You need to enable "trade" option for the api key which requests this endpoint. - When Fast Withdraw Switch is on, transferring funds to a Binance account will be done instantly. There is no on-chain transaction, no transaction ID and no withdrawal fee. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/account/enableFastWithdrawSwitch.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_account_enablefastwithdrawswitch '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_account_enablefastwithdrawswitch '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_capital_withdraw_apply
Withdraw (USER_DATA) Submit a withdraw request. - If `network` not send, return with default network of the coin. - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/capital/withdraw/apply.
read - Parameters
- coin, withdraw_order_id, network, address, address_tag, amount, transaction_fee_flag, name, wallet_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_capital_withdraw_apply '{"coin":"example_coin","withdraw_order_id":"example_withdraw_order_id","network":"example_network","address":"example_address","address_tag":"example_address_tag","amount":1,"transaction_fee_flag":true,"name":"example_name"}' --json kosmo integrations:binance binance_post_sapi_v1_capital_withdraw_apply '{"coin":"example_coin","withdraw_order_id":"example_withdraw_order_id","network":"example_network","address":"example_address","address_tag":"example_address_tag","amount":1,"transaction_fee_flag":true,"name":"example_name"}' --json binance.binance_get_sapi_v1_capital_deposit_hisrec
Deposit History(supporting network) (USER_DATA) Fetch deposit history. - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/capital/deposit/hisrec.
read - Parameters
- coin, status, start_time, end_time, offset, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_deposit_hisrec '{"coin":"example_coin","status":1,"start_time":1,"end_time":1,"offset":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_deposit_hisrec '{"coin":"example_coin","status":1,"start_time":1,"end_time":1,"offset":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_capital_withdraw_history
Withdraw History (supporting network) (USER_DATA) Fetch withdraw history. This endpoint specifically uses per second UID rate limit, user's total second level IP rate limit is 180000/second. Response from the endpoint contains header key X-SAPI-USED-UID-WEIGHT-1S, which defines weight used by the current IP. - `network` may not be in the response for old withdraw. - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days. - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default. Weight(UID): 18000 Request Limit: 10 requests per second Official Binance Spot endpoint: GET /sapi/v1/capital/withdraw/history.
read - Parameters
- coin, withdraw_order_id, status, start_time, end_time, offset, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_withdraw_history '{"coin":"example_coin","withdraw_order_id":"example_withdraw_order_id","status":1,"start_time":1,"end_time":1,"offset":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_withdraw_history '{"coin":"example_coin","withdraw_order_id":"example_withdraw_order_id","status":1,"start_time":1,"end_time":1,"offset":1,"limit":1,"recv_window":1}' --json binance.binance_get_sapi_v1_capital_deposit_address
Deposit Address (supporting network) (USER_DATA) Fetch deposit address with network. - If network is not send, return with default network of the coin. - You can get network and isDefault in networkList in the response of Get /sapi/v1/capital/config/getall (HMAC SHA256). Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/capital/deposit/address.
read - Parameters
- coin, network, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_deposit_address '{"coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_deposit_address '{"coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_account_status
Account Status (USER_DATA) Fetch account status detail. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/account/status.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_account_status '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_account_status '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_account_apitradingstatus
Account API Trading Status (USER_DATA) Fetch account API trading status with details. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/account/apiTradingStatus.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_account_apitradingstatus '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_account_apitradingstatus '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_dribblet
DustLog(USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/asset/dribblet.
read - Parameters
- account_type, start_time, end_time, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_dribblet '{"account_type":"example_account_type","start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_dribblet '{"account_type":"example_account_type","start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_asset_dust_btc
Get Assets That Can Be Converted Into BNB (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/asset/dust-btc.
read - Parameters
- account_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_asset_dust_btc '{"account_type":"example_account_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_asset_dust_btc '{"account_type":"example_account_type","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_asset_dust
Dust Transfer (USER_DATA) Convert dust assets to BNB. Weight(UID): 10 Official Binance Spot endpoint: POST /sapi/v1/asset/dust.
read - Parameters
- asset, account_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_asset_dust '{"asset":"example_asset","account_type":"example_account_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_asset_dust '{"asset":"example_asset","account_type":"example_account_type","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_assetdividend
Asset Dividend Record (USER_DATA) Query asset Dividend Record Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/asset/assetDividend.
read - Parameters
- asset, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_assetdividend '{"asset":"example_asset","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_assetdividend '{"asset":"example_asset","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_assetdetail
Asset Detail (USER_DATA) Fetch details of assets supported on Binance. - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/asset/assetDetail.
read - Parameters
- asset, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_assetdetail '{"asset":"example_asset","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_assetdetail '{"asset":"example_asset","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_tradefee
Trade Fee (USER_DATA) Fetch trade fee Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/asset/tradeFee.
read - Parameters
- symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_tradefee '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_tradefee '{"symbol":"example_symbol","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_transfer
Query User Universal Transfer History (USER_DATA) - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - Support query within the last 6 months only - If `startTime` and `endTime` not sent, return records of the last 7 days by default Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/asset/transfer.
read - Parameters
- type, start_time, end_time, current, size, from_symbol, to_symbol, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_transfer '{"type":"example_type","start_time":1,"end_time":1,"current":1,"size":1,"from_symbol":"example_from_symbol","to_symbol":"example_to_symbol","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_transfer '{"type":"example_type","start_time":1,"end_time":1,"current":1,"size":1,"from_symbol":"example_from_symbol","to_symbol":"example_to_symbol","recv_window":1}' --json binance.binance_post_sapi_v1_asset_transfer
User Universal Transfer (USER_DATA) You need to enable `Permits Universal Transfer` option for the api key which requests this endpoint. - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN ENUM of transfer types: - MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account - MAIN_CMFUTURE Spot account transfer to COIN-M Futures account - MAIN_MARGIN Spot account transfer to Margin(cross)account - UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account - UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account - CMFUTURE_MAIN COIN-M Futures account transfer to Spot account - CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account - MARGIN_MAIN Margin(cross)account transfer to Spot account - MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures - MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures - ISOLATEDMARGIN_MARGIN Official Binance Spot endpoint: POST /sapi/v1/asset/transfer.
read - Parameters
- type, asset, amount, from_symbol, to_symbol, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_asset_transfer '{"type":"example_type","asset":"example_asset","amount":1,"from_symbol":"example_from_symbol","to_symbol":"example_to_symbol","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_asset_transfer '{"type":"example_type","asset":"example_asset","amount":1,"from_symbol":"example_from_symbol","to_symbol":"example_to_symbol","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_asset_get_funding_asset
Funding Wallet (USER_DATA) - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/asset/get-funding-asset.
read - Parameters
- asset, need_btc_valuation, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_asset_get_funding_asset '{"asset":"example_asset","need_btc_valuation":"example_need_btc_valuation","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_asset_get_funding_asset '{"asset":"example_asset","need_btc_valuation":"example_need_btc_valuation","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v3_asset_getuserasset
User Asset (USER_DATA) Get user assets, just for positive data. Weight(IP): 5 Official Binance Spot endpoint: POST /sapi/v3/asset/getUserAsset.
read - Parameters
- asset, need_btc_valuation, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v3_asset_getuserasset '{"asset":"example_asset","need_btc_valuation":"example_need_btc_valuation","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v3_asset_getuserasset '{"asset":"example_asset","need_btc_valuation":"example_need_btc_valuation","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_asset_convert_transfer
Convert Transfer (USER_DATA) Convert transfer, convert between BUSD and stablecoins. If the clientId has been used before, will not do the convert transfer, the original transfer will be returned. Weight(UID): 5 Official Binance Spot endpoint: POST /sapi/v1/asset/convert-transfer.
read - Parameters
- client_tran_id, asset, amount, target_asset, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_asset_convert_transfer '{"client_tran_id":"example_client_tran_id","asset":"example_asset","amount":1,"target_asset":"example_target_asset","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_asset_convert_transfer '{"client_tran_id":"example_client_tran_id","asset":"example_asset","amount":1,"target_asset":"example_target_asset","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_convert_transfer_querybypage
Query Convert Transfer (USER_DATA) Weight(UID): 5 Official Binance Spot endpoint: GET /sapi/v1/asset/convert-transfer/queryByPage.
read - Parameters
- tran_id, asset, start_time, end_time, account_type, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_convert_transfer_querybypage '{"tran_id":1,"asset":"example_asset","start_time":1,"end_time":1,"account_type":"example_account_type","current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_convert_transfer_querybypage '{"tran_id":1,"asset":"example_asset","start_time":1,"end_time":1,"account_type":"example_account_type","current":1,"size":1,"recv_window":1}' --json binance.binance_get_sapi_v1_asset_ledger_transfer_cloud_mining_querybypage
Get Cloud-Mining payment and refund history (USER_DATA) The query of Cloud-Mining payment and refund history Weight(UID): 600 Official Binance Spot endpoint: GET /sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage.
read - Parameters
- tran_id, client_tran_id, asset, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_ledger_transfer_cloud_mining_querybypage '{"tran_id":1,"client_tran_id":"example_client_tran_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_ledger_transfer_cloud_mining_querybypage '{"tran_id":1,"client_tran_id":"example_client_tran_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json binance.binance_get_sapi_v1_account_apirestrictions
Get API Key Permission (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/account/apiRestrictions.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_account_apirestrictions '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_account_apirestrictions '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_capital_contract_convertible_coins
Query auto-converting stable coins (USER_DATA) Get a user's auto-conversion settings in deposit/withdrawal Weight(UID): 600' Official Binance Spot endpoint: GET /sapi/v1/capital/contract/convertible-coins.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_capital_contract_convertible_coins '{}' --json kosmo integrations:binance binance_get_sapi_v1_capital_contract_convertible_coins '{}' --json binance.binance_post_sapi_v1_capital_contract_convertible_coins
Switch on/off BUSD and stable coins conversion (USER_DATA) (USER_DATA) User can use it to turn on or turn off the BUSD auto-conversion from/to a specific stable coin. Weight(UID): 600' Official Binance Spot endpoint: POST /sapi/v1/capital/contract/convertible-coins.
read - Parameters
- coin, enable
kosmo integrations:call binance.binance_post_sapi_v1_capital_contract_convertible_coins '{"coin":"example_coin","enable":true}' --json kosmo integrations:binance binance_post_sapi_v1_capital_contract_convertible_coins '{"coin":"example_coin","enable":true}' --json binance.binance_post_sapi_v1_sub_account_virtualsubaccount
Create a Virtual Sub-account(For Master Account) - This request will generate a virtual sub account under your master account. - You need to enable "trade" option for the api key which requests this endpoint. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/virtualSubAccount.
read - Parameters
- sub_account_string, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_virtualsubaccount '{"sub_account_string":"example_sub_account_string","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_virtualsubaccount '{"sub_account_string":"example_sub_account_string","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_list
Query Sub-account List (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/list.
read - Parameters
- email, is_freeze, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_list '{"email":"example_email","is_freeze":"example_is_freeze","page":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_list '{"email":"example_email","is_freeze":"example_is_freeze","page":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_sub_transfer_history
Sub-account Spot Asset Transfer History (For Master Account) - fromEmail and toEmail cannot be sent at the same time. - Return fromEmail equal master account email by default. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/sub/transfer/history.
read - Parameters
- from_email, to_email, start_time, end_time, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_sub_transfer_history '{"from_email":"example_from_email","to_email":"example_to_email","start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_sub_transfer_history '{"from_email":"example_from_email","to_email":"example_to_email","start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_futures_internaltransfer
Sub-account Futures Asset Transfer History (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/futures/internalTransfer.
read - Parameters
- email, futures_type, start_time, end_time, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_futures_internaltransfer '{"email":"example_email","futures_type":1,"start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_futures_internaltransfer '{"email":"example_email","futures_type":1,"start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_futures_internaltransfer
Sub-account Futures Asset Transfer (For Master Account) - Master account can transfer max 2000 times a minute Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/futures/internalTransfer.
read - Parameters
- from_email, to_email, futures_type, asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_futures_internaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","futures_type":1,"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_futures_internaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","futures_type":1,"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v3_sub_account_assets
Sub-account Assets (For Master Account) Fetch sub-account assets Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v3/sub-account/assets.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v3_sub_account_assets '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v3_sub_account_assets '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_spotsummary
Sub-account Spot Assets Summary (For Master Account) Get BTC valued asset summary of subaccounts. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/spotSummary.
read - Parameters
- email, page, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_spotsummary '{"email":"example_email","page":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_spotsummary '{"email":"example_email","page":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_capital_deposit_subaddress
Sub-account Spot Assets Summary (For Master Account) Fetch sub-account deposit address Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/capital/deposit/subAddress.
read - Parameters
- email, coin, network, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_deposit_subaddress '{"email":"example_email","coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_deposit_subaddress '{"email":"example_email","coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_capital_deposit_subhisrec
Sub-account Deposit History (For Master Account) Fetch sub-account deposit history Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/capital/deposit/subHisrec.
read - Parameters
- email, coin, status, start_time, end_time, limit, offset, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_deposit_subhisrec '{"email":"example_email","coin":"example_coin","status":1,"start_time":1,"end_time":1,"limit":1,"offset":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_deposit_subhisrec '{"email":"example_email","coin":"example_coin","status":1,"start_time":1,"end_time":1,"limit":1,"offset":1,"recv_window":1}' --json binance.binance_post_sapi_v1_capital_deposit_credit_apply
One click arrival deposit apply (USER_DATA) Apply deposit credit for expired address (One click arrival) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/capital/deposit/credit-apply.
read - Parameters
- deposit_id, tx_id, sub_account_id, sub_user_id, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_capital_deposit_credit_apply '{"deposit_id":1,"tx_id":"example_tx_id","sub_account_id":1,"sub_user_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_capital_deposit_credit_apply '{"deposit_id":1,"tx_id":"example_tx_id","sub_account_id":1,"sub_user_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_wallet_balance
Query User Wallet Balance (USER_DATA) Query User Wallet Balance Weight(IP): 60 Official Binance Spot endpoint: GET /sapi/v1/asset/wallet/balance.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_wallet_balance '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_wallet_balance '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_asset_custody_transfer_history
Query User Delegation History(For Master Account) (USER_DATA) Query User Delegation History Weight(IP): 60 Official Binance Spot endpoint: GET /sapi/v1/asset/custody/transfer-history.
read - Parameters
- email, start_time, end_time, type, asset, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_asset_custody_transfer_history '{"email":"example_email","start_time":1,"end_time":1,"type":"example_type","asset":"example_asset","current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_asset_custody_transfer_history '{"email":"example_email","start_time":1,"end_time":1,"type":"example_type","asset":"example_asset","current":1,"size":1,"recv_window":1}' --json binance.binance_get_sapi_v1_capital_deposit_address_list
Fetch deposit address list with network (USER_DATA) Fetch deposit address list with network. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/capital/deposit/address/list.
read - Parameters
- coin, network, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_capital_deposit_address_list '{"coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_capital_deposit_address_list '{"coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_spot_delist_schedule
Get symbols delist schedule for spot (MARKET_DATA) Get symbols delist schedule for spot Weight(IP): 100 Official Binance Spot endpoint: GET /sapi/v1/spot/delist-schedule.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_spot_delist_schedule '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_spot_delist_schedule '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_capital_withdraw_address_list
Fetch withdraw address list (USER_DATA) Fetch withdraw address list Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/capital/withdraw/address/list.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_capital_withdraw_address_list '{}' --json kosmo integrations:binance binance_get_sapi_v1_capital_withdraw_address_list '{}' --json binance.binance_get_sapi_v1_account_info
Account info (USER_DATA) Fetch account info detail. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/account/info.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_account_info '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_account_info '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_status
Sub-account's Status on Margin/Futures (For Master Account) - If no `email` sent, all sub-accounts' information will be returned. Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/sub-account/status.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_status '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_status '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_margin_enable
Enable Margin for Sub-account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/margin/enable.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_margin_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_margin_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_margin_account
Detail on Sub-account's Margin Account (For Master Account) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/sub-account/margin/account.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_margin_account '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_margin_account '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_margin_accountsummary
Summary of Sub-account's Margin Account (For Master Account) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/sub-account/margin/accountSummary.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_margin_accountsummary '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_margin_accountsummary '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_futures_enable
Enable Futures for Sub-account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/futures/enable.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_futures_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_futures_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_futures_account
Detail on Sub-account's Futures Account (For Master Account) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/sub-account/futures/account.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_futures_account '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_futures_account '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_futures_accountsummary
Summary of Sub-account's Futures Account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/futures/accountSummary.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_futures_accountsummary '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_futures_accountsummary '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_futures_positionrisk
Futures Position-Risk of Sub-account (For Master Account) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/sub-account/futures/positionRisk.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_futures_positionrisk '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_futures_positionrisk '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_futures_transfer
Transfer for Sub-account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/futures/transfer.
read - Parameters
- email, asset, amount, type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_futures_transfer '{"email":"example_email","asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_futures_transfer '{"email":"example_email","asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_margin_transfer
Margin Transfer for Sub-account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/margin/transfer.
read - Parameters
- email, asset, amount, type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_margin_transfer '{"email":"example_email","asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_margin_transfer '{"email":"example_email","asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_transfer_subtosub
Transfer to Sub-account of Same Master (For Sub-account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/transfer/subToSub.
read - Parameters
- to_email, asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_transfer_subtosub '{"to_email":"example_to_email","asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_transfer_subtosub '{"to_email":"example_to_email","asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_transfer_subtomaster
Transfer to Master (For Sub-account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/transfer/subToMaster.
read - Parameters
- asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_transfer_subtomaster '{"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_transfer_subtomaster '{"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_transfer_subuserhistory
Sub-account Transfer History (For Sub-account) - If `type` is not sent, the records of type 2: transfer out will be returned by default. - If `startTime` and `endTime` are not sent, the recent 30-day data will be returned. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/transfer/subUserHistory.
read - Parameters
- asset, type, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_transfer_subuserhistory '{"asset":"example_asset","type":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_transfer_subuserhistory '{"asset":"example_asset","type":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_universaltransfer
Universal Transfer History (For Master Account) - `fromEmail` and `toEmail` cannot be sent at the same time. - Return `fromEmail` equal master account email by default. - The query time period must be less then 30 days. - If startTime and endTime not sent, return records of the last 30 days by default. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/sub-account/universalTransfer.
read - Parameters
- from_email, to_email, client_tran_id, start_time, end_time, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_universaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","client_tran_id":"example_client_tran_id","start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_universaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","client_tran_id":"example_client_tran_id","start_time":1,"end_time":1,"page":1,"limit":1,"recv_window":1}' --json binance.binance_post_sapi_v1_sub_account_universaltransfer
Universal Transfer (For Master Account) - You need to enable "internal transfer" option for the api key which requests this endpoint. - Transfer from master account by default if fromEmail is not sent. - Transfer to master account by default if toEmail is not sent. - Supported transfer scenarios: - Master account SPOT transfer to sub-account SPOT,USDT_FUTURE,COIN_FUTURE,MARGIN(Cross),ISOLATED_MARGIN - Sub-account SPOT,USDT_FUTURE,COIN_FUTURE,MARGIN(Cross),ISOLATED_MARGIN transfer to master account SPOT - Transfer between two sub-account SPOT accounts Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/universalTransfer.
read - Parameters
- from_email, to_email, from_account_type, to_account_type, client_tran_id, symbol, asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_universaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","from_account_type":"example_from_account_type","to_account_type":"example_to_account_type","client_tran_id":"example_client_tran_id","symbol":"example_symbol","asset":"example_asset","amount":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_universaltransfer '{"from_email":"example_from_email","to_email":"example_to_email","from_account_type":"example_from_account_type","to_account_type":"example_to_account_type","client_tran_id":"example_client_tran_id","symbol":"example_symbol","asset":"example_asset","amount":1}' --json binance.binance_get_sapi_v2_sub_account_futures_account
Detail on Sub-account's Futures Account V2 (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v2/sub-account/futures/account.
read - Parameters
- email, futures_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_sub_account_futures_account '{"email":"example_email","futures_type":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_sub_account_futures_account '{"email":"example_email","futures_type":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_sub_account_futures_accountsummary
Summary of Sub-account's Futures Account V2 (For Master Account) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v2/sub-account/futures/accountSummary.
read - Parameters
- futures_type, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_sub_account_futures_accountsummary '{"futures_type":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_sub_account_futures_accountsummary '{"futures_type":1,"page":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_sub_account_futures_positionrisk
Futures Position-Risk of Sub-account V2 (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v2/sub-account/futures/positionRisk.
read - Parameters
- email, futures_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_sub_account_futures_positionrisk '{"email":"example_email","futures_type":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_sub_account_futures_positionrisk '{"email":"example_email","futures_type":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_blvt_enable
Enable Leverage Token for Sub-account (For Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/blvt/enable.
read - Parameters
- email, enable_blvt, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_blvt_enable '{"email":"example_email","enable_blvt":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_blvt_enable '{"email":"example_email","enable_blvt":true,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_managed_subaccount_deposit
Deposit assets into the managed sub-account(For Investor Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/managed-subaccount/deposit.
read - Parameters
- to_email, asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_managed_subaccount_deposit '{"to_email":"example_to_email","asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_managed_subaccount_deposit '{"to_email":"example_to_email","asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_asset
Managed sub-account asset details(For Investor Master Account) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/asset.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_asset '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_asset '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_managed_subaccount_withdraw
Withdrawl assets from the managed sub-account(For Investor Master Account) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/managed-subaccount/withdraw.
read - Parameters
- from_email, asset, amount, transfer_date, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_managed_subaccount_withdraw '{"from_email":"example_from_email","asset":"example_asset","amount":1,"transfer_date":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_managed_subaccount_withdraw '{"from_email":"example_from_email","asset":"example_asset","amount":1,"transfer_date":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_accountsnapshot
Managed sub-account snapshot (For Investor Master Account) - The query time period must be less then 30 days - Support query within the last one month only - If `startTime` and `endTime` not sent, return records of the last 7 days by default Weight(IP): 2400 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/accountSnapshot.
read - Parameters
- email, type, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_accountsnapshot '{"email":"example_email","type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_accountsnapshot '{"email":"example_email","type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_querytranslogforinvestor
Query Managed Sub Account Transfer Log (For Investor Master Account) Investor can use this api to query managed sub account transfer log. This endpoint is available for investor of Managed Sub-Account. A Managed Sub-Account is an account type for investors who value flexibility in asset allocation and account application, while delegating trades to a professional trading team. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/queryTransLogForInvestor.
read - Parameters
- email, start_time, end_time, page, limit, transfers, transfer_function_account_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_querytranslogforinvestor '{"email":"example_email","start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_querytranslogforinvestor '{"email":"example_email","start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1}' --json binance.binance_get_sapi_v1_managed_subaccount_querytranslogfortradeparent
Query Managed Sub Account Transfer Log (For Trading Team Master Account) Trading team can use this api to query managed sub account transfer log. This endpoint is available for trading team of Managed Sub-Account. A Managed Sub-Account is an account type for investors who value flexibility in asset allocation and account application, while delegating trades to a professional trading team Weight(IP): 60 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/queryTransLogForTradeParent.
read - Parameters
- email, start_time, end_time, page, limit, transfers, transfer_function_account_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_querytranslogfortradeparent '{"email":"example_email","start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_querytranslogfortradeparent '{"email":"example_email","start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1}' --json binance.binance_get_sapi_v1_managed_subaccount_fetch_future_asset
Query Managed Sub-account Futures Asset Details (For Investor Master Account) Investor can use this api to query managed sub account futures asset details Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/fetch-future-asset.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_fetch_future_asset '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_fetch_future_asset '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_marginasset
Query Managed Sub-account Margin Asset Details (For Investor Master Account) Investor can use this api to query managed sub account margin asset details Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/marginAsset.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_marginasset '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_marginasset '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_info
Query Managed Sub-account List (For Investor) Get investor's managed sub-account list. Weight(UID): 60 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/info.
read - Parameters
- email, page, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_info '{"email":"example_email","page":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_info '{"email":"example_email","page":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_deposit_address
Get Managed Sub-account Deposit Address (For Investor Master Account) Get investor's managed sub-account deposit address Weight(UID): 1 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/deposit/address.
read - Parameters
- email, coin, network, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_deposit_address '{"email":"example_email","coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_deposit_address '{"email":"example_email","coin":"example_coin","network":"example_network","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_managed_subaccount_query_trans_log
Query Managed Sub Account Transfer Log (For Trading Team Sub Account)(USER_DATA) Query Managed Sub Account Transfer Log (For Trading Team Sub Account) Weight(UID): 60 Official Binance Spot endpoint: GET /sapi/v1/managed-subaccount/query-trans-log.
read - Parameters
- start_time, end_time, page, limit, transfers, transfer_function_account_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_managed_subaccount_query_trans_log '{"start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_managed_subaccount_query_trans_log '{"start_time":1,"end_time":1,"page":1,"limit":1,"transfers":"example_transfers","transfer_function_account_type":"example_transfer_function_account_type","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_subaccountapi_iprestriction
Get IP Restriction for a Sub-account API Key (For Master Account) Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/sub-account/subAccountApi/ipRestriction.
read - Parameters
- email, sub_account_api_key, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_subaccountapi_iprestriction '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_subaccountapi_iprestriction '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","recv_window":1,"timestamp":1}' --json binance.binance_delete_sapi_v1_sub_account_subaccountapi_iprestriction_iplist
Delete IP List for a Sub-account API Key (For Master Account) Weight(UID): 3000 Official Binance Spot endpoint: DELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList.
write - Parameters
- email, sub_account_api_key, ip_address, third_party_name, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_sub_account_subaccountapi_iprestriction_iplist '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","ip_address":"example_ip_address","third_party_name":"example_third_party_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_sub_account_subaccountapi_iprestriction_iplist '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","ip_address":"example_ip_address","third_party_name":"example_third_party_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_sub_account_transaction_statistics
Query Sub-account Transaction Statistics (For Master Account) Query Sub-account Transaction statistics (For Master Account). Weight(UID): 60 Official Binance Spot endpoint: GET /sapi/v1/sub-account/transaction-statistics.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_sub_account_transaction_statistics '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_sub_account_transaction_statistics '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_sub_account_eoptions_enable
Enable Options for Sub-account (For Master Account)(USER_DATA) Enable Options for Sub-account (For Master Account). Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/sub-account/eoptions/enable.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_sub_account_eoptions_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_sub_account_eoptions_enable '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v2_sub_account_subaccountapi_iprestriction
Update IP Restriction for Sub-Account API key (For Master Account) Update IP Restriction for Sub-Account API key Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v2/sub-account/subAccountApi/ipRestriction.
read - Parameters
- email, sub_account_api_key, status, third_party_name, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v2_sub_account_subaccountapi_iprestriction '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","status":"example_status","third_party_name":"example_third_party_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v2_sub_account_subaccountapi_iprestriction '{"email":"example_email","sub_account_api_key":"example_sub_account_api_key","status":"example_status","third_party_name":"example_third_party_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v4_sub_account_assets
Query Sub-account Assets (For Master Account) Fetch sub-account assets Weight(UID): 60 Official Binance Spot endpoint: GET /sapi/v4/sub-account/assets.
read - Parameters
- email, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v4_sub_account_assets '{"email":"example_email","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v4_sub_account_assets '{"email":"example_email","recv_window":1,"timestamp":1}' --json binance.binance_post_api_v3_userdatastream
Create a ListenKey (USER_STREAM) Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes. Weight: 2 Official Binance Spot endpoint: POST /api/v3/userDataStream.
read - Parameters
- none
kosmo integrations:call binance.binance_post_api_v3_userdatastream '{}' --json kosmo integrations:binance binance_post_api_v3_userdatastream '{}' --json binance.binance_put_api_v3_userdatastream
Ping/Keep-alive a ListenKey (USER_STREAM) Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes. Weight: 2 Official Binance Spot endpoint: PUT /api/v3/userDataStream.
read - Parameters
- listen_key
kosmo integrations:call binance.binance_put_api_v3_userdatastream '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_put_api_v3_userdatastream '{"listen_key":"example_listen_key"}' --json binance.binance_delete_api_v3_userdatastream
Close a ListenKey (USER_STREAM) Close out a user data stream. Weight: 2 Official Binance Spot endpoint: DELETE /api/v3/userDataStream.
write - Parameters
- listen_key
kosmo integrations:call binance.binance_delete_api_v3_userdatastream '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_delete_api_v3_userdatastream '{"listen_key":"example_listen_key"}' --json binance.binance_post_sapi_v1_userdatastream
Create a ListenKey (USER_STREAM) Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes. Weight: 1 Official Binance Spot endpoint: POST /sapi/v1/userDataStream.
read - Parameters
- none
kosmo integrations:call binance.binance_post_sapi_v1_userdatastream '{}' --json kosmo integrations:binance binance_post_sapi_v1_userdatastream '{}' --json binance.binance_put_sapi_v1_userdatastream
Ping/Keep-alive a ListenKey (USER_STREAM) Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes. Weight: 1 Official Binance Spot endpoint: PUT /sapi/v1/userDataStream.
read - Parameters
- listen_key
kosmo integrations:call binance.binance_put_sapi_v1_userdatastream '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_put_sapi_v1_userdatastream '{"listen_key":"example_listen_key"}' --json binance.binance_delete_sapi_v1_userdatastream
Close a ListenKey (USER_STREAM) Close out a user data stream. Weight: 1 Official Binance Spot endpoint: DELETE /sapi/v1/userDataStream.
write - Parameters
- listen_key
kosmo integrations:call binance.binance_delete_sapi_v1_userdatastream '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_delete_sapi_v1_userdatastream '{"listen_key":"example_listen_key"}' --json binance.binance_post_sapi_v1_userdatastream_isolated
Generate a Listen Key (USER_STREAM) Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active `listenKey`, that `listenKey` will be returned and its validity will be extended for 60 minutes. Weight: 1 Official Binance Spot endpoint: POST /sapi/v1/userDataStream/isolated.
read - Parameters
- none
kosmo integrations:call binance.binance_post_sapi_v1_userdatastream_isolated '{}' --json kosmo integrations:binance binance_post_sapi_v1_userdatastream_isolated '{}' --json binance.binance_put_sapi_v1_userdatastream_isolated
Ping/Keep-alive a Listen Key (USER_STREAM) Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes. Weight: 1 Official Binance Spot endpoint: PUT /sapi/v1/userDataStream/isolated.
read - Parameters
- listen_key
kosmo integrations:call binance.binance_put_sapi_v1_userdatastream_isolated '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_put_sapi_v1_userdatastream_isolated '{"listen_key":"example_listen_key"}' --json binance.binance_delete_sapi_v1_userdatastream_isolated
Close a ListenKey (USER_STREAM) Close out a user data stream. Weight: 1 Official Binance Spot endpoint: DELETE /sapi/v1/userDataStream/isolated.
write - Parameters
- listen_key
kosmo integrations:call binance.binance_delete_sapi_v1_userdatastream_isolated '{"listen_key":"example_listen_key"}' --json kosmo integrations:binance binance_delete_sapi_v1_userdatastream_isolated '{"listen_key":"example_listen_key"}' --json binance.binance_get_sapi_v1_fiat_orders
Fiat Deposit/Withdraw History (USER_DATA) - If beginTime and endTime are not sent, the recent 30-day data will be returned. Weight(UID): 90000 Official Binance Spot endpoint: GET /sapi/v1/fiat/orders.
read - Parameters
- transaction_type, begin_time, end_time, page, rows, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_fiat_orders '{"transaction_type":1,"begin_time":1,"end_time":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_fiat_orders '{"transaction_type":1,"begin_time":1,"end_time":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_fiat_payments
Fiat Payments History (USER_DATA) - If beginTime and endTime are not sent, the recent 30-day data will be returned. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/fiat/payments.
read - Parameters
- transaction_type, begin_time, end_time, page, rows, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_fiat_payments '{"transaction_type":1,"begin_time":1,"end_time":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_fiat_payments '{"transaction_type":1,"begin_time":1,"end_time":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_project_list
Get Fixed/Activity Project List(USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/project/list.
read - Parameters
- asset, type, status, is_sort_asc, sort_by, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_project_list '{"asset":"example_asset","type":"example_type","status":"example_status","is_sort_asc":true,"sort_by":"example_sort_by","current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_project_list '{"asset":"example_asset","type":"example_type","status":"example_status","is_sort_asc":true,"sort_by":"example_sort_by","current":1,"size":1,"recv_window":1}' --json binance.binance_post_sapi_v1_lending_customizedfixed_purchase
Purchase Fixed/Activity Project (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/customizedFixed/purchase.
read - Parameters
- project_id, lot, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_customizedfixed_purchase '{"project_id":"example_project_id","lot":"example_lot","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_lending_customizedfixed_purchase '{"project_id":"example_project_id","lot":"example_lot","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_project_position_list
Get Fixed/Activity Project Position (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/project/position/list.
read - Parameters
- asset, project_id, status, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_project_position_list '{"asset":"example_asset","project_id":"example_project_id","status":"example_status","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_project_position_list '{"asset":"example_asset","project_id":"example_project_id","status":"example_status","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_lending_positionchanged
Change Fixed/Activity Position to Daily Position (USER_DATA) - PositionId is mandatory parameter for fixed position. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/positionChanged.
read - Parameters
- project_id, lot, position_id, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_positionchanged '{"project_id":"example_project_id","lot":"example_lot","position_id":"example_position_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_lending_positionchanged '{"project_id":"example_project_id","lot":"example_lot","position_id":"example_position_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_pub_algolist
Acquiring Algorithm (MARKET_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/mining/pub/algoList.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_mining_pub_algolist '{}' --json kosmo integrations:binance binance_get_sapi_v1_mining_pub_algolist '{}' --json binance.binance_get_sapi_v1_mining_pub_coinlist
Acquiring CoinName (MARKET_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/mining/pub/coinList.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_mining_pub_coinlist '{}' --json kosmo integrations:binance binance_get_sapi_v1_mining_pub_coinlist '{}' --json binance.binance_get_sapi_v1_mining_worker_detail
Request for Detail Miner List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/worker/detail.
read - Parameters
- algo, user_name, worker_name, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_worker_detail '{"algo":"example_algo","user_name":"example_user_name","worker_name":"example_worker_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_worker_detail '{"algo":"example_algo","user_name":"example_user_name","worker_name":"example_worker_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_worker_list
Request for Miner List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/worker/list.
read - Parameters
- algo, user_name, page_index, sort, sort_column, worker_status, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_worker_list '{"algo":"example_algo","user_name":"example_user_name","page_index":1,"sort":1,"sort_column":1,"worker_status":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_worker_list '{"algo":"example_algo","user_name":"example_user_name","page_index":1,"sort":1,"sort_column":1,"worker_status":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_payment_list
Earnings List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/payment/list.
read - Parameters
- algo, user_name, coin, start_date, end_date, page_index, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_payment_list '{"algo":"example_algo","user_name":"example_user_name","coin":"example_coin","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_payment_list '{"algo":"example_algo","user_name":"example_user_name","coin":"example_coin","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1}' --json binance.binance_get_sapi_v1_mining_payment_other
Extra Bonus List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/payment/other.
read - Parameters
- algo, user_name, coin, start_date, end_date, page_index, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_payment_other '{"algo":"example_algo","user_name":"example_user_name","coin":"example_coin","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_payment_other '{"algo":"example_algo","user_name":"example_user_name","coin":"example_coin","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1}' --json binance.binance_get_sapi_v1_mining_hash_transfer_config_details_list
Hashrate Resale List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/hash-transfer/config/details/list.
read - Parameters
- page_index, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_hash_transfer_config_details_list '{"page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_hash_transfer_config_details_list '{"page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_hash_transfer_profit_details
Hashrate Resale Details (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/hash-transfer/profit/details.
read - Parameters
- config_id, user_name, page_index, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_hash_transfer_profit_details '{"config_id":"example_config_id","user_name":"example_user_name","page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_hash_transfer_profit_details '{"config_id":"example_config_id","user_name":"example_user_name","page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_mining_hash_transfer_config
Hashrate Resale Request (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: POST /sapi/v1/mining/hash-transfer/config.
read - Parameters
- user_name, algo, start_date, end_date, to_pool_user, hash_rate, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_mining_hash_transfer_config '{"user_name":"example_user_name","algo":"example_algo","start_date":"example_start_date","end_date":"example_end_date","to_pool_user":"example_to_pool_user","hash_rate":"example_hash_rate","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_mining_hash_transfer_config '{"user_name":"example_user_name","algo":"example_algo","start_date":"example_start_date","end_date":"example_end_date","to_pool_user":"example_to_pool_user","hash_rate":"example_hash_rate","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_mining_hash_transfer_config_cancel
Cancel Hashrate Resale configuration (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: POST /sapi/v1/mining/hash-transfer/config/cancel.
read - Parameters
- config_id, user_name, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_mining_hash_transfer_config_cancel '{"config_id":"example_config_id","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_mining_hash_transfer_config_cancel '{"config_id":"example_config_id","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_statistics_user_status
Statistic List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/statistics/user/status.
read - Parameters
- algo, user_name, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_statistics_user_status '{"algo":"example_algo","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_statistics_user_status '{"algo":"example_algo","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_statistics_user_list
Account List (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/statistics/user/list.
read - Parameters
- algo, user_name, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_statistics_user_list '{"algo":"example_algo","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_statistics_user_list '{"algo":"example_algo","user_name":"example_user_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_mining_payment_uid
Mining Account Earning (USER_DATA) Weight(IP): 5 Official Binance Spot endpoint: GET /sapi/v1/mining/payment/uid.
read - Parameters
- algo, start_date, end_date, page_index, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_mining_payment_uid '{"algo":"example_algo","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_mining_payment_uid '{"algo":"example_algo","start_date":"example_start_date","end_date":"example_end_date","page_index":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_futures_transfer
New Future Account Transfer (USER_DATA) Execute transfer between spot account and futures account. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/futures/transfer.
read - Parameters
- asset, amount, type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_futures_transfer '{"asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_futures_transfer '{"asset":"example_asset","amount":1,"type":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_futures_transfer
Get Future Account Transaction History List (USER_DATA) Weight(IP): 10 Official Binance Spot endpoint: GET /sapi/v1/futures/transfer.
read - Parameters
- asset, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_futures_transfer '{"asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_futures_transfer '{"asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_futures_histdatalink
Get Future TickLevel Orderbook Historical Data Download Link (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/futures/histDataLink.
read - Parameters
- symbol, data_type, start_time, end_time, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_futures_histdatalink '{"symbol":"example_symbol","data_type":"example_data_type","start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_futures_histdatalink '{"symbol":"example_symbol","data_type":"example_data_type","start_time":1,"end_time":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_algo_futures_newordervp
Volume Participation(VP) New Order (TRADE) Send in a VP new order. Only support on USDⓈ-M Contracts. - You need to enable `Futures Trading Permission` for the api key which requests this endpoint. - Base URL: https://api.binance.com - Total Algo open orders max allowed: 10 orders. - Leverage of symbols and position mode will be the same as your futures account settings. You can set up through the trading page or fapi. - Receiving "success": true does not mean that your order will be executed. Please use the query order endpoints(GET sapi/v1/algo/futures/openOrders or GET sapi/v1/algo/futures/historicalOrders) to check the order status. For example: Your futures balance is insufficient, or open position with reduce only or position side is inconsistent with your own setting. In these cases you will receive "success": true, but the order status will be expired after we check it. Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/algo/futures/newOrderVp.
read - Parameters
- symbol, side, position_side, quantity, urgency, client_algo_id, reduce_only, limit_price, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_algo_futures_newordervp '{"symbol":"example_symbol","side":"example_side","position_side":"example_position_side","quantity":1,"urgency":"example_urgency","client_algo_id":"example_client_algo_id","reduce_only":true,"limit_price":1}' --json kosmo integrations:binance binance_post_sapi_v1_algo_futures_newordervp '{"symbol":"example_symbol","side":"example_side","position_side":"example_position_side","quantity":1,"urgency":"example_urgency","client_algo_id":"example_client_algo_id","reduce_only":true,"limit_price":1}' --json binance.binance_post_sapi_v1_algo_futures_newordertwap
Time-Weighted Average Price(Twap) New Order (TRADE) Send in a Twap new order. Only support on USDⓈ-M Contracts. You need to enable Futures Trading Permission for the api key which requests this endpoint. Base URL: https://api.binance.com - Total Algo open orders max allowed: 10 orders. - Leverage of symbols and position mode will be the same as your futures account settings. You can set up through the trading page or fapi. - Receiving "success": true does not mean that your order will be executed. Please use the query order endpoints(GET sapi/v1/algo/futures/openOrders or GET sapi/v1/algo/futures/historicalOrders) to check the order status. For example: Your futures balance is insufficient, or open position with reduce only or position side is inconsistent with your own setting. In these cases you will receive "success": true, but the order status will be expired after we check it. - quantity * 60 / duration should be larger than minQty - duration cannot be less than 5 mins or more than 24 hours. - For delivery contracts, TWAP end time Official Binance Spot endpoint: POST /sapi/v1/algo/futures/newOrderTwap.
read - Parameters
- symbol, side, position_side, quantity, duration, client_algo_id, reduce_only, limit_price, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_algo_futures_newordertwap '{"symbol":"example_symbol","side":"example_side","position_side":"example_position_side","quantity":1,"duration":1,"client_algo_id":"example_client_algo_id","reduce_only":true,"limit_price":1}' --json kosmo integrations:binance binance_post_sapi_v1_algo_futures_newordertwap '{"symbol":"example_symbol","side":"example_side","position_side":"example_position_side","quantity":1,"duration":1,"client_algo_id":"example_client_algo_id","reduce_only":true,"limit_price":1}' --json binance.binance_delete_sapi_v1_algo_futures_order
Cancel Algo Order(TRADE) Cancel an active order. - You need to enable Futures Trading Permission for the api key which requests this endpoint. - Base URL: https://api.binance.com Weight(IP): 1 Official Binance Spot endpoint: DELETE /sapi/v1/algo/futures/order.
write - Parameters
- algo_id, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_algo_futures_order '{"algo_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_algo_futures_order '{"algo_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_futures_openorders
Query Current Algo Open Orders (USER_DATA) - You need to enable Futures Trading Permission for the api key which requests this endpoint. - Base URL: https://api.binance.com Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/futures/openOrders.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_futures_openorders '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_futures_openorders '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_futures_historicalorders
Query Historical Algo Orders (USER_DATA) - You need to enable Futures Trading Permission for the api key which requests this endpoint. - Base URL: https://api.binance.com Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/futures/historicalOrders.
read - Parameters
- symbol, side, start_time, end_time, page, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_futures_historicalorders '{"symbol":"example_symbol","side":"example_side","start_time":1,"end_time":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_futures_historicalorders '{"symbol":"example_symbol","side":"example_side","start_time":1,"end_time":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_futures_suborders
Query Sub Orders (USER_DATA) - You need to enable Futures Trading Permission for the api key which requests this endpoint. - Base URL: https://api.binance.com Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/futures/subOrders.
read - Parameters
- algo_id, page, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_futures_suborders '{"algo_id":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_futures_suborders '{"algo_id":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_algo_spot_newordertwap
Time-Weighted Average Price (Twap) New Order Place a new spot TWAP order with Algo service. Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/algo/spot/newOrderTwap.
read - Parameters
- symbol, side, quantity, duration, client_algo_id, limit_price, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_algo_spot_newordertwap '{"symbol":"example_symbol","side":"example_side","quantity":1,"duration":1,"client_algo_id":"example_client_algo_id","limit_price":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_algo_spot_newordertwap '{"symbol":"example_symbol","side":"example_side","quantity":1,"duration":1,"client_algo_id":"example_client_algo_id","limit_price":1,"recv_window":1,"timestamp":1}' --json binance.binance_delete_sapi_v1_algo_spot_order
Cancel Algo Order Cancel an open TWAP order Weight(IP): 1 Official Binance Spot endpoint: DELETE /sapi/v1/algo/spot/order.
write - Parameters
- algo_id, recv_window, timestamp
kosmo integrations:call binance.binance_delete_sapi_v1_algo_spot_order '{"algo_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_delete_sapi_v1_algo_spot_order '{"algo_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_spot_openorders
Query Current Algo Open Orders Get all open SPOT TWAP orders Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/spot/openOrders.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_spot_openorders '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_spot_openorders '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_spot_historicalorders
Query Historical Algo Orders Get all historical SPOT TWAP orders Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/spot/historicalOrders.
read - Parameters
- symbol, side, start_time, end_time, page, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_spot_historicalorders '{"symbol":"example_symbol","side":"example_side","start_time":1,"end_time":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_spot_historicalorders '{"symbol":"example_symbol","side":"example_side","start_time":1,"end_time":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_algo_spot_suborders
Query Sub Orders Get respective sub orders for a specified algoId Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/algo/spot/subOrders.
read - Parameters
- algo_id, page, page_size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_algo_spot_suborders '{"algo_id":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_algo_spot_suborders '{"algo_id":1,"page":1,"page_size":"example_page_size","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_account
Portfolio Margin Account (USER_DATA) Get the account info 'Weight(IP): 1' Official Binance Spot endpoint: GET /sapi/v1/portfolio/account.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_account '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_account '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_collateralrate
Portfolio Margin Collateral Rate (MARKET_DATA) Portfolio Margin Collateral Rate. Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/portfolio/collateralRate.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_collateralrate '{}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_collateralrate '{}' --json binance.binance_get_sapi_v2_portfolio_collateralrate
Portfolio Margin Pro Tiered Collateral Rate(USER_DATA) Portfolio Margin PRO Tiered Collateral Rate Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v2/portfolio/collateralRate.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_portfolio_collateralrate '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_portfolio_collateralrate '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_pmloan
Portfolio Margin Bankruptcy Loan Amount (USER_DATA) Query Portfolio Margin Bankruptcy Loan Amount. Weight(UID): 500 Official Binance Spot endpoint: GET /sapi/v1/portfolio/pmLoan.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_pmloan '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_pmloan '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_portfolio_repay
Portfolio Margin Bankruptcy Loan Repay (USER_DATA) Repay Portfolio Margin Bankruptcy Loan. Weight(UID): 3000 Official Binance Spot endpoint: POST /sapi/v1/portfolio/repay.
read - Parameters
- from, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_repay '{"from":"example_from","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_repay '{"from":"example_from","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_interest_history
Query Classic Portfolio Margin Negative Balance Interest History (USER_DATA) Query interest history of negative balance for portfolio margin. Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/portfolio/interest-history.
read - Parameters
- asset, start_time, end_time, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_interest_history '{"asset":"example_asset","start_time":1,"end_time":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_interest_history '{"asset":"example_asset","start_time":1,"end_time":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_asset_index_price
Query Portfolio Margin Asset Index Price (MARKET_DATA) Query Portfolio Margin Asset Index Price Weight(IP): - 1 if send asset - 50 if not send asset Official Binance Spot endpoint: GET /sapi/v1/portfolio/asset-index-price.
read - Parameters
- asset
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_asset_index_price '{"asset":"example_asset"}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_asset_index_price '{"asset":"example_asset"}' --json binance.binance_post_sapi_v1_portfolio_auto_collection
Fund Auto-collection (USER_DATA) Transfers all assets from Futures Account to Margin account Weight(IP): 1500 Official Binance Spot endpoint: POST /sapi/v1/portfolio/auto-collection.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_auto_collection '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_auto_collection '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_portfolio_bnb_transfer
BNB Transfer (USER_DATA) BNB transfer can be between Margin Account and USDM Account Weight(IP): 1500 Official Binance Spot endpoint: POST /sapi/v1/portfolio/bnb-transfer.
read - Parameters
- transfer_side, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_bnb_transfer '{"transfer_side":"example_transfer_side","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_bnb_transfer '{"transfer_side":"example_transfer_side","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_portfolio_repay_futures_switch
Change Auto-repay-futures Status (USER_DATA) Change Auto-repay-futures Status Weight(IP): 1500 Official Binance Spot endpoint: POST /sapi/v1/portfolio/repay-futures-switch.
read - Parameters
- auto_repay, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_repay_futures_switch '{"auto_repay":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_repay_futures_switch '{"auto_repay":true,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_repay_futures_switch
Get Auto-repay-futures Status (USER_DATA) Query Auto-repay-futures Status Weight(IP): 30 Official Binance Spot endpoint: GET /sapi/v1/portfolio/repay-futures-switch.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_repay_futures_switch '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_repay_futures_switch '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_portfolio_repay_futures_negative_balance
Repay futures Negative Balance (USER_DATA) Repay futures Negative Balance Weight(IP): 1500 Official Binance Spot endpoint: POST /sapi/v1/portfolio/repay-futures-negative-balance.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_repay_futures_negative_balance '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_repay_futures_negative_balance '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_portfolio_margin_asset_leverage
Get Portfolio Margin Asset Leverage (USER_DATA) Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/portfolio/margin-asset-leverage.
read - Parameters
- none
kosmo integrations:call binance.binance_get_sapi_v1_portfolio_margin_asset_leverage '{}' --json kosmo integrations:binance binance_get_sapi_v1_portfolio_margin_asset_leverage '{}' --json binance.binance_post_sapi_v1_portfolio_asset_collection
Fund Collection by Asset (USER_DATA) Transfers specific asset from Futures Account to Margin account Weight(IP): 60 Official Binance Spot endpoint: POST /sapi/v1/portfolio/asset-collection.
read - Parameters
- asset, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_portfolio_asset_collection '{"asset":"example_asset","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_portfolio_asset_collection '{"asset":"example_asset","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_blvt_tokeninfo
BLVT Info (MARKET_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/blvt/tokenInfo.
read - Parameters
- token_name
kosmo integrations:call binance.binance_get_sapi_v1_blvt_tokeninfo '{"token_name":"example_token_name"}' --json kosmo integrations:binance binance_get_sapi_v1_blvt_tokeninfo '{"token_name":"example_token_name"}' --json binance.binance_post_sapi_v1_blvt_subscribe
Subscribe BLVT (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/blvt/subscribe.
read - Parameters
- token_name, cost, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_blvt_subscribe '{"token_name":"example_token_name","cost":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_blvt_subscribe '{"token_name":"example_token_name","cost":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_blvt_subscribe_record
Query Subscription Record (USER_DATA) - Only the data of the latest 90 days is available Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/blvt/subscribe/record.
read - Parameters
- token_name, id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_blvt_subscribe_record '{"token_name":"example_token_name","id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_blvt_subscribe_record '{"token_name":"example_token_name","id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_blvt_redeem
Redeem BLVT (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/blvt/redeem.
read - Parameters
- token_name, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_blvt_redeem '{"token_name":"example_token_name","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_blvt_redeem '{"token_name":"example_token_name","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_blvt_redeem_record
Redemption Record (USER_DATA) - Only the data of the latest 90 days is available Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/blvt/redeem/record.
read - Parameters
- token_name, id, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_blvt_redeem_record '{"token_name":"example_token_name","id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_blvt_redeem_record '{"token_name":"example_token_name","id":1,"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_blvt_userlimit
BLVT User Limit Info (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/blvt/userLimit.
read - Parameters
- token_name, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_blvt_userlimit '{"token_name":"example_token_name","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_blvt_userlimit '{"token_name":"example_token_name","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_c2c_ordermatch_listuserorderhistory
Get C2C Trade History (USER_DATA) - If startTimestamp and endTimestamp are not sent, the recent 30-day data will be returned. - The max interval between startTimestamp and endTimestamp is 30 days. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/c2c/orderMatch/listUserOrderHistory.
read - Parameters
- trade_type, start_timestamp, end_timestamp, page, rows, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_c2c_ordermatch_listuserorderhistory '{"trade_type":"example_trade_type","start_timestamp":1,"end_timestamp":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_c2c_ordermatch_listuserorderhistory '{"trade_type":"example_trade_type","start_timestamp":1,"end_timestamp":1,"page":1,"rows":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_ongoing_orders
Get VIP Loan Ongoing Orders (USER_DATA) VIP loan is available for VIP users only. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/ongoing/orders.
read - Parameters
- order_id, collateral_account_id, loan_coin, collateral_coin, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_ongoing_orders '{"order_id":1,"collateral_account_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_ongoing_orders '{"order_id":1,"collateral_account_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_vip_repay
VIP Loan Repay (TRADE) VIP loan is available for VIP users only. Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/vip/repay.
read - Parameters
- order_id, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_vip_repay '{"order_id":1,"amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_vip_repay '{"order_id":1,"amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_repay_history
Get VIP Loan Repayment History (USER_DATA) VIP loan is available for VIP users only. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/repay/history.
read - Parameters
- order_id, loan_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_repay_history '{"order_id":1,"loan_coin":"example_loan_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_repay_history '{"order_id":1,"loan_coin":"example_loan_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_collateral_account
Check Locked Value of VIP Collateral Account (USER_DATA) VIP loan is available for VIP users only. Weight(IP): 6000 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/collateral/account.
read - Parameters
- order_id, collateral_account_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_collateral_account '{"order_id":1,"collateral_account_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_collateral_account '{"order_id":1,"collateral_account_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_vip_borrow
VIP Loan Borrow VIP loan is available for VIP users only. Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/vip/borrow.
read - Parameters
- loan_account_id, loan_coin, loan_amount, collateral_account_id, collateral_coin, is_flexible_rate, loan_term, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_vip_borrow '{"loan_account_id":1,"loan_coin":"example_loan_coin","loan_amount":1,"collateral_account_id":"example_collateral_account_id","collateral_coin":"example_collateral_coin","is_flexible_rate":"example_is_flexible_rate","loan_term":1,"recv_window":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_vip_borrow '{"loan_account_id":1,"loan_coin":"example_loan_coin","loan_amount":1,"collateral_account_id":"example_collateral_account_id","collateral_coin":"example_collateral_coin","is_flexible_rate":"example_is_flexible_rate","loan_term":1,"recv_window":1}' --json binance.binance_get_sapi_v1_loan_vip_loanable_data
Get Loanable Assets Data Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/loanable/data.
read - Parameters
- loan_coin, vip_level, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_loanable_data '{"loan_coin":"example_loan_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_loanable_data '{"loan_coin":"example_loan_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_collateral_data
Get Collateral Asset Data (USER_DATA) Get collateral asset data. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/collateral/data.
read - Parameters
- collateral_coin, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_collateral_data '{"collateral_coin":"example_collateral_coin","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_collateral_data '{"collateral_coin":"example_collateral_coin","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_request_data
Query Application Status (USER_DATA) Get Application Status Weight(UID): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/request/data.
read - Parameters
- current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_request_data '{"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_request_data '{"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_vip_request_interestrate
Get Borrow Interest Rate (USER_DATA) Get borrow interest rate. Weight(UID): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/vip/request/interestRate.
read - Parameters
- loan_coin, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_vip_request_interestrate '{"loan_coin":"example_loan_coin","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_vip_request_interestrate '{"loan_coin":"example_loan_coin","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_vip_renew
VIP Loan Renew VIP loan is available for VIP users only. Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/vip/renew.
read - Parameters
- order_id, loan_term, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_vip_renew '{"order_id":1,"loan_term":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_vip_renew '{"order_id":1,"loan_term":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_income
Get Crypto Loans Income History (USER_DATA) - If startTime and endTime are not sent, the recent 7-day data will be returned. - The max interval between startTime and endTime is 30 days. Weight(UID): 6000 Official Binance Spot endpoint: GET /sapi/v1/loan/income.
read - Parameters
- asset, type, start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_income '{"asset":"example_asset","type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_income '{"asset":"example_asset","type":"example_type","start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_borrow
Crypto Loan Borrow (TRADE) Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/borrow.
read - Parameters
- loan_coin, loan_amount, collateral_coin, collateral_amount, loan_term, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_borrow '{"loan_coin":"example_loan_coin","loan_amount":1,"collateral_coin":"example_collateral_coin","collateral_amount":1,"loan_term":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_borrow '{"loan_coin":"example_loan_coin","loan_amount":1,"collateral_coin":"example_collateral_coin","collateral_amount":1,"loan_term":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_borrow_history
Get Crypto Loans Borrow History (USER_DATA) - If startTime and endTime are not sent, the recent 90-day data will be returned. - The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/borrow/history.
read - Parameters
- order_id, loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_borrow_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_borrow_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json binance.binance_get_sapi_v1_loan_ongoing_orders
Get Loan Ongoing Orders (USER_DATA) Weight(IP): 300 Official Binance Spot endpoint: GET /sapi/v1/loan/ongoing/orders.
read - Parameters
- order_id, loan_coin, collateral_coin, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_ongoing_orders '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_ongoing_orders '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_repay
Crypto Loan Repay (TRADE) Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/repay.
read - Parameters
- order_id, amount, type, collateral_return, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_repay '{"order_id":1,"amount":1,"type":1,"collateral_return":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_repay '{"order_id":1,"amount":1,"type":1,"collateral_return":true,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_repay_history
Get Loan Repayment History (USER_DATA) If startTime and endTime are not sent, the recent 90-day data will be returned. The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/repay/history.
read - Parameters
- order_id, loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_repay_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_repay_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json binance.binance_post_sapi_v1_loan_adjust_ltv
Crypto Loan Adjust LTV (TRADE) Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/adjust/ltv.
read - Parameters
- order_id, amount, direction, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_adjust_ltv '{"order_id":1,"amount":1,"direction":"example_direction","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_adjust_ltv '{"order_id":1,"amount":1,"direction":"example_direction","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_ltv_adjustment_history
Get Loan LTV Adjustment History (USER_DATA) If startTime and endTime are not sent, the recent 90-day data will be returned. The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/ltv/adjustment/history.
read - Parameters
- order_id, loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_ltv_adjustment_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_ltv_adjustment_history '{"order_id":1,"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1}' --json binance.binance_get_sapi_v1_loan_loanable_data
Get Loanable Assets Data (USER_DATA) Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/loanable/data.
read - Parameters
- loan_coin, vip_level, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_loanable_data '{"loan_coin":"example_loan_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_loanable_data '{"loan_coin":"example_loan_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_collateral_data
Get Collateral Assets Data (USER_DATA) Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v1/loan/collateral/data.
read - Parameters
- collateral_coin, vip_level, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_collateral_data '{"collateral_coin":"example_collateral_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_collateral_data '{"collateral_coin":"example_collateral_coin","vip_level":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_loan_repay_collateral_rate
Check Collateral Repay Rate (USER_DATA) Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second. Weight(IP): 6000 Official Binance Spot endpoint: GET /sapi/v1/loan/repay/collateral/rate.
read - Parameters
- loan_coin, collateral_coin, repay_amount, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_loan_repay_collateral_rate '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","repay_amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_loan_repay_collateral_rate '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","repay_amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_loan_customize_margin_call
Crypto Loan Customize Margin Call (TRADE) Customize margin call for ongoing orders only. Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v1/loan/customize/margin_call.
read - Parameters
- order_id, collateral_coin, margin_call, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_loan_customize_margin_call '{"order_id":1,"collateral_coin":"example_collateral_coin","margin_call":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_loan_customize_margin_call '{"order_id":1,"collateral_coin":"example_collateral_coin","margin_call":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v2_loan_flexible_borrow
Borrow - Flexible Loan Borrow (TRADE) - Only available for master account Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v2/loan/flexible/borrow.
read - Parameters
- loan_coin, loan_amount, collateral_coin, collateral_amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v2_loan_flexible_borrow '{"loan_coin":"example_loan_coin","loan_amount":1,"collateral_coin":"example_collateral_coin","collateral_amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v2_loan_flexible_borrow '{"loan_coin":"example_loan_coin","loan_amount":1,"collateral_coin":"example_collateral_coin","collateral_amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_ongoing_orders
Borrow - Get Flexible Loan Ongoing Orders (USER_DATA) Weight(IP): 300 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/ongoing/orders.
read - Parameters
- loan_coin, collateral_coin, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_ongoing_orders '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_ongoing_orders '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_borrow_history
Borrow - Get Flexible Loan Borrow History (USER_DATA) - If startTime and endTime are not sent, the recent 90-day data will be returned. - The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/borrow/history.
read - Parameters
- loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_borrow_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_borrow_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v2_loan_flexible_repay
Repay - Flexible Loan Repay (TRADE) - repayAmount is mandatory even fullRepayment = FALSE Weight(IP): 6000 Official Binance Spot endpoint: POST /sapi/v2/loan/flexible/repay.
read - Parameters
- loan_coin, collateral_coin, repay_amount, collateral_return, full_repayment, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v2_loan_flexible_repay '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","repay_amount":1,"collateral_return":true,"full_repayment":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v2_loan_flexible_repay '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","repay_amount":1,"collateral_return":true,"full_repayment":true,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_repay_history
Repay - Get Flexible Loan Repayment History (USER_DATA) - If startTime and endTime are not sent, the recent 90-day data will be returned. - The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/repay/history.
read - Parameters
- loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_repay_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_repay_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v2_loan_flexible_adjust_ltv
Adjust LTV - Flexible Loan Adjust LTV (TRADE) - API Key needs Spot & Margin Trading permission for this endpoint Weight(UID): 6000 Official Binance Spot endpoint: POST /sapi/v2/loan/flexible/adjust/ltv.
read - Parameters
- loan_coin, collateral_coin, adjustment_amount, direction, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v2_loan_flexible_adjust_ltv '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","adjustment_amount":1,"direction":"example_direction","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v2_loan_flexible_adjust_ltv '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","adjustment_amount":1,"direction":"example_direction","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_ltv_adjustment_history
Adjust LTV - Get Flexible Loan LTV Adjustment History (USER_DATA) - If startTime and endTime are not sent, the recent 90-day data will be returned. - The max interval between startTime and endTime is 180 days. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/ltv/adjustment/history.
read - Parameters
- loan_coin, collateral_coin, start_time, end_time, current, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_ltv_adjustment_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_ltv_adjustment_history '{"loan_coin":"example_loan_coin","collateral_coin":"example_collateral_coin","start_time":1,"end_time":1,"current":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_loanable_data
Get Flexible Loan Assets Data (USER_DATA) Get interest rate and borrow limit of flexible loanable assets. The borrow limit is shown in USD value. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/loanable/data.
read - Parameters
- loan_coin, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_loanable_data '{"loan_coin":"example_loan_coin","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_loanable_data '{"loan_coin":"example_loan_coin","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_loan_flexible_collateral_data
Get Flexible Loan Collateral Assets Data (USER_DATA) Get LTV information and collateral limit of flexible loan's collateral assets. The collateral limit is shown in USD value. Weight(IP): 400 Official Binance Spot endpoint: GET /sapi/v2/loan/flexible/collateral/data.
read - Parameters
- collateral_coin, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_loan_flexible_collateral_data '{"collateral_coin":"example_collateral_coin","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_loan_flexible_collateral_data '{"collateral_coin":"example_collateral_coin","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_pay_transactions
Get Pay Trade History (USER_DATA) - If startTime and endTime are not sent, the recent 90 days' data will be returned. - The max interval between startTime and endTime is 90 days. - Support for querying orders within the last 18 months. Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/pay/transactions.
read - Parameters
- start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_pay_transactions '{"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_pay_transactions '{"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_convert_exchangeinfo
List All Convert Pairs Query for all convertible token pairs and the tokens’ respective upper/lower limits Weight(IP): 3000 Official Binance Spot endpoint: GET /sapi/v1/convert/exchangeInfo.
read - Parameters
- from_asset, to_asset
kosmo integrations:call binance.binance_get_sapi_v1_convert_exchangeinfo '{"from_asset":"example_from_asset","to_asset":"example_to_asset"}' --json kosmo integrations:binance binance_get_sapi_v1_convert_exchangeinfo '{"from_asset":"example_from_asset","to_asset":"example_to_asset"}' --json binance.binance_get_sapi_v1_convert_assetinfo
Query order quantity precision per asset (USER_DATA) Query for supported asset precision information Weight(IP): 100 Official Binance Spot endpoint: GET /sapi/v1/convert/assetInfo.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_convert_assetinfo '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_convert_assetinfo '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_convert_getquote
Send quote request (USER_DATA) Request a quote for the requested token pairs Weight(UID): 200 Official Binance Spot endpoint: POST /sapi/v1/convert/getQuote.
read - Parameters
- from_asset, to_asset, from_amount, to_amount, valid_time, wallet_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_convert_getquote '{"from_asset":"example_from_asset","to_asset":"example_to_asset","from_amount":1,"to_amount":1,"valid_time":"example_valid_time","wallet_type":"example_wallet_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_convert_getquote '{"from_asset":"example_from_asset","to_asset":"example_to_asset","from_amount":1,"to_amount":1,"valid_time":"example_valid_time","wallet_type":"example_wallet_type","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_convert_acceptquote
Accept Quote (TRADE) Accept the offered quote by quote ID. Weight(UID): 500 Official Binance Spot endpoint: POST /sapi/v1/convert/acceptQuote.
read - Parameters
- quote_id, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_convert_acceptquote '{"quote_id":"example_quote_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_convert_acceptquote '{"quote_id":"example_quote_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_convert_orderstatus
Order status (USER_DATA) Query order status by order ID. Weight(UID): 100 Official Binance Spot endpoint: GET /sapi/v1/convert/orderStatus.
read - Parameters
- order_id, quote_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_convert_orderstatus '{"order_id":"example_order_id","quote_id":"example_quote_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_convert_orderstatus '{"order_id":"example_order_id","quote_id":"example_quote_id","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_convert_limit_placeorder
Place limit order (USER_DATA) Enable users to place a limit order - baseAsset or quoteAsset can be determined via exchangeInfo endpoint. - Limit price is defined from baseAsset to quoteAsset. - Either baseAmount or quoteAmount is used. Weight(UID): 500 Official Binance Spot endpoint: POST /sapi/v1/convert/limit/placeOrder.
read - Parameters
- base_asset, quote_asset, limit_price, base_amount, quote_amount, side, wallet_type, expired_type, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_convert_limit_placeorder '{"base_asset":"example_base_asset","quote_asset":"example_quote_asset","limit_price":1,"base_amount":1,"quote_amount":1,"side":"example_side","wallet_type":"example_wallet_type","expired_type":"example_expired_type"}' --json kosmo integrations:binance binance_post_sapi_v1_convert_limit_placeorder '{"base_asset":"example_base_asset","quote_asset":"example_quote_asset","limit_price":1,"base_amount":1,"quote_amount":1,"side":"example_side","wallet_type":"example_wallet_type","expired_type":"example_expired_type"}' --json binance.binance_post_sapi_v1_convert_limit_cancelorder
Cancel limit order (USER_DATA) Enable users to cancel a limit order Weight(UID): 200 Official Binance Spot endpoint: POST /sapi/v1/convert/limit/cancelOrder.
read - Parameters
- order_id, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_convert_limit_cancelorder '{"order_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_convert_limit_cancelorder '{"order_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_convert_limit_queryopenorders
Query limit open orders (USER_DATA) Enable users to query for all existing limit orders Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/convert/limit/queryOpenOrders.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_convert_limit_queryopenorders '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_convert_limit_queryopenorders '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_convert_tradeflow
Get Convert Trade History (USER_DATA) - The max interval between startTime and endTime is 30 days. Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/convert/tradeFlow.
read - Parameters
- start_time, end_time, limit, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_convert_tradeflow '{"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_convert_tradeflow '{"start_time":1,"end_time":1,"limit":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_rebate_taxquery
Get Spot Rebate History Records (USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. - The earliest startTime is supported on June 10, 2020 Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/rebate/taxQuery.
read - Parameters
- start_time, end_time, page, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_rebate_taxquery '{"start_time":1,"end_time":1,"page":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_rebate_taxquery '{"start_time":1,"end_time":1,"page":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_nft_history_transactions
Get NFT Transaction History (USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/nft/history/transactions.
read - Parameters
- order_type, start_time, end_time, limit, page, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_nft_history_transactions '{"order_type":1,"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_nft_history_transactions '{"order_type":1,"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_nft_history_deposit
Get NFT Deposit History(USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/nft/history/deposit.
read - Parameters
- start_time, end_time, limit, page, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_nft_history_deposit '{"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_nft_history_deposit '{"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_nft_history_withdraw
Get NFT Withdraw History (USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/nft/history/withdraw.
read - Parameters
- start_time, end_time, limit, page, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_nft_history_withdraw '{"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_nft_history_withdraw '{"start_time":1,"end_time":1,"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_nft_user_getasset
Get NFT Asset (USER_DATA) Weight(UID): 3000 Official Binance Spot endpoint: GET /sapi/v1/nft/user/getAsset.
read - Parameters
- limit, page, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_nft_user_getasset '{"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_nft_user_getasset '{"limit":1,"page":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_giftcard_createcode
Create a Binance Code (USER_DATA) This API is for creating a Binance Code. To get started with, please make sure: - You have a Binance account - You have passed kyc - You have a sufficient balance in your Binance funding wallet - You need Enable Withdrawals for the API Key which requests this endpoint. Daily creation volume: 2 BTC / 24H Daily creation times: 200 Codes / 24H Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/giftcard/createCode.
read - Parameters
- token, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_giftcard_createcode '{"token":"example_token","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_giftcard_createcode '{"token":"example_token","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_giftcard_redeemcode
Redeem a Binance Code (USER_DATA) This API is for redeeming the Binance Code. Once redeemed, the coins will be deposited in your funding wallet. Please note that if you enter the wrong code 5 times within 24 hours, you will no longer be able to redeem any Binance Code that day. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/giftcard/redeemCode.
read - Parameters
- code, external_uid, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_giftcard_redeemcode '{"code":"example_code","external_uid":"example_external_uid","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_giftcard_redeemcode '{"code":"example_code","external_uid":"example_external_uid","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_giftcard_verify
Verify a Binance Code (USER_DATA) This API is for verifying whether the Binance Code is valid or not by entering Binance Code or reference number. Please note that if you enter the wrong binance code 5 times within an hour, you will no longer be able to verify any binance code for that hour. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/giftcard/verify.
read - Parameters
- reference_no, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_giftcard_verify '{"reference_no":"example_reference_no","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_giftcard_verify '{"reference_no":"example_reference_no","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_giftcard_cryptography_rsa_public_key
Fetch RSA Public Key (USER_DATA) This API is for fetching the RSA Public Key. This RSA Public key will be used to encrypt the card code. Please note that the RSA Public key fetched is valid only for the current day. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/giftcard/cryptography/rsa-public-key.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_giftcard_cryptography_rsa_public_key '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_giftcard_cryptography_rsa_public_key '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_giftcard_buycode
Buy a Binance Code (TRADE) This API is for buying a fixed-value Binance Code, which means your Binance Code will be redeemable to a token that is different to the token that you are paying in. If the token you’re paying and the redeemable token are the same, please use the Create Binance Code endpoint. You can use supported crypto currency or fiat token as baseToken to buy Binance Code that is redeemable to your chosen faceToken. Once successfully purchased, the amount of baseToken would be deducted from your funding wallet. To get started with, please make sure: - You have a Binance account - You have passed kyc - You have a sufficient balance in your Binance funding wallet - You need Enable Withdrawals for the API Key which requests this endpoint. Daily creation volume: 2 BTC / 24H Daily creation times: 200 Codes / 24H Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/giftcard/buyCode.
read - Parameters
- base_token, face_token, base_token_amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_giftcard_buycode '{"base_token":"example_base_token","face_token":"example_face_token","base_token_amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_giftcard_buycode '{"base_token":"example_base_token","face_token":"example_face_token","base_token_amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_giftcard_buycode_token_limit
Fetch Token Limit (USER_DATA) This API is to help you verify which tokens are available for you to purchase fixed-value gift cards as mentioned in section 2 and it's limitation. Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/giftcard/buyCode/token-limit.
read - Parameters
- base_token, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_giftcard_buycode_token_limit '{"base_token":"example_base_token","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_giftcard_buycode_token_limit '{"base_token":"example_base_token","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_target_asset_list
Get target asset list (USER_DATA) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/target-asset/list.
read - Parameters
- target_asset, size, current, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_target_asset_list '{"target_asset":"example_target_asset","size":1,"current":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_target_asset_list '{"target_asset":"example_target_asset","size":1,"current":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_target_asset_roi_list
Get target asset ROI data (USER_DATA) ROI return list for target asset Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/target-asset/roi/list.
read - Parameters
- target_asset, his_roi_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_target_asset_roi_list '{"target_asset":"example_target_asset","his_roi_type":"example_his_roi_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_target_asset_roi_list '{"target_asset":"example_target_asset","his_roi_type":"example_his_roi_type","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_all_asset
Query all source asset and target asset (USER_DATA) Query all source assets and target assets Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/all/asset.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_all_asset '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_all_asset '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_source_asset_list
Query source asset list (USER_DATA) Query Source Asset to be used for investment Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/source-asset/list.
read - Parameters
- target_asset, index_id, usage_type, flexible_allowed_to_use, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_source_asset_list '{"target_asset":"example_target_asset","index_id":1,"usage_type":"example_usage_type","flexible_allowed_to_use":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_source_asset_list '{"target_asset":"example_target_asset","index_id":1,"usage_type":"example_usage_type","flexible_allowed_to_use":true,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_lending_auto_invest_plan_add
Investment plan creation (USER_DATA) Post an investment plan creation Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/auto-invest/plan/add.
read - Parameters
- source_type, request_id, plan_type, index_id, subscription_amount, subscription_cycle, subscription_start_day, subscription_start_weekday, subscription_start_time, source_asset, flexible_allowed_to_use, details, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_auto_invest_plan_add '{"source_type":"example_source_type","request_id":"example_request_id","plan_type":"example_plan_type","index_id":1,"subscription_amount":1,"subscription_cycle":"example_subscription_cycle","subscription_start_day":1,"subscription_start_weekday":"example_subscription_start_weekday"}' --json kosmo integrations:binance binance_post_sapi_v1_lending_auto_invest_plan_add '{"source_type":"example_source_type","request_id":"example_request_id","plan_type":"example_plan_type","index_id":1,"subscription_amount":1,"subscription_cycle":"example_subscription_cycle","subscription_start_day":1,"subscription_start_weekday":"example_subscription_start_weekday"}' --json binance.binance_post_sapi_v1_lending_auto_invest_plan_edit
Investment plan adjustment Query Source Asset to be used for investment Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/auto-invest/plan/edit.
read - Parameters
- plan_id, subscription_amount, subscription_cycle, subscription_start_day, subscription_start_weekday, subscription_start_time, source_asset, flexible_allowed_to_use, details, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_auto_invest_plan_edit '{"plan_id":1,"subscription_amount":1,"subscription_cycle":"example_subscription_cycle","subscription_start_day":1,"subscription_start_weekday":"example_subscription_start_weekday","subscription_start_time":1,"source_asset":"example_source_asset","flexible_allowed_to_use":true}' --json kosmo integrations:binance binance_post_sapi_v1_lending_auto_invest_plan_edit '{"plan_id":1,"subscription_amount":1,"subscription_cycle":"example_subscription_cycle","subscription_start_day":1,"subscription_start_weekday":"example_subscription_start_weekday","subscription_start_time":1,"source_asset":"example_source_asset","flexible_allowed_to_use":true}' --json binance.binance_post_sapi_v1_lending_auto_invest_plan_edit_status
Change Plan Status Change Plan Status Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/auto-invest/plan/edit-status.
read - Parameters
- plan_id, status, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_auto_invest_plan_edit_status '{"plan_id":1,"status":"example_status","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_lending_auto_invest_plan_edit_status '{"plan_id":1,"status":"example_status","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_plan_list
Get list of plans Query plan lists Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/plan/list.
read - Parameters
- plan_type, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_plan_list '{"plan_type":"example_plan_type","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_plan_list '{"plan_type":"example_plan_type","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_plan_id
Query holding details of the plan Query holding details of the plan Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/plan/id.
read - Parameters
- plan_id, request_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_plan_id '{"plan_id":1,"request_id":"example_request_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_plan_id '{"plan_id":1,"request_id":"example_request_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_history_list
Query subscription transaction history Query subscription transaction history of a plan Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/history/list.
read - Parameters
- plan_id, start_time, end_time, target_asset, plan_type, size, current, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_history_list '{"plan_id":1,"start_time":1,"end_time":1,"target_asset":1,"plan_type":"example_plan_type","size":1,"current":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_history_list '{"plan_id":1,"start_time":1,"end_time":1,"target_asset":1,"plan_type":"example_plan_type","size":1,"current":1,"recv_window":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_index_info
Query Index Details(USER_DATA) Query index details Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/index/info.
read - Parameters
- index_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_index_info '{"index_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_index_info '{"index_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_index_user_summary
Query Index Linked Plan Position Details(USER_DATA) Details on users Index-Linked plan position details Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/index/user-summary.
read - Parameters
- index_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_index_user_summary '{"index_id":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_index_user_summary '{"index_id":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_lending_auto_invest_one_off
One Time Transaction(TRADE) One time transaction Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/auto-invest/one-off.
read - Parameters
- source_type, request_id, subscription_amount, source_asset, flexible_allowed_to_use, plan_id, index_id, details, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_auto_invest_one_off '{"source_type":"example_source_type","request_id":"example_request_id","subscription_amount":1,"source_asset":"example_source_asset","flexible_allowed_to_use":true,"plan_id":1,"index_id":1,"details":"example_details"}' --json kosmo integrations:binance binance_post_sapi_v1_lending_auto_invest_one_off '{"source_type":"example_source_type","request_id":"example_request_id","subscription_amount":1,"source_asset":"example_source_asset","flexible_allowed_to_use":true,"plan_id":1,"index_id":1,"details":"example_details"}' --json binance.binance_get_sapi_v1_lending_auto_invest_one_off_status
Query One-Time Transaction Status (USER_DATA) Transaction status for one-time transaction Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/one-off/status.
read - Parameters
- transaction_id, request_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_one_off_status '{"transaction_id":1,"request_id":"example_request_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_one_off_status '{"transaction_id":1,"request_id":"example_request_id","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_lending_auto_invest_redeem
Index Linked Plan Redemption (TRADE) To redeem index-Linked plan holdings Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/lending/auto-invest/redeem.
read - Parameters
- index_id, request_id, redemption_percentage, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_lending_auto_invest_redeem '{"index_id":1,"request_id":"example_request_id","redemption_percentage":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_lending_auto_invest_redeem '{"index_id":1,"request_id":"example_request_id","redemption_percentage":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_redeem_history
Index Linked Plan Redemption History (USER_DATA) Get the history of Index Linked Plan Redemption transactions Max 30 day difference between startTime and endTime If no startTime and endTime, default to show past 30 day records Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/redeem/history.
read - Parameters
- request_id, start_time, end_time, current, asset, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_redeem_history '{"request_id":1,"start_time":1,"end_time":1,"current":1,"asset":"example_asset","size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_redeem_history '{"request_id":1,"start_time":1,"end_time":1,"current":1,"asset":"example_asset","size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_lending_auto_invest_rebalance_history
Index Linked Plan Rebalance Details (USER_DATA) Get the history of Index Linked Plan Redemption transactions Max 30 day difference between startTime and endTime If no startTime and endTime, default to show past 30 day records Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/lending/auto-invest/rebalance/history.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_lending_auto_invest_rebalance_history '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_lending_auto_invest_rebalance_history '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v2_eth_staking_eth_stake
Subscribe ETH Staking V2(TRADE) Stake ETH to get WBETH - You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint. Weight(IP): 150 Official Binance Spot endpoint: POST /sapi/v2/eth-staking/eth/stake.
read - Parameters
- amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v2_eth_staking_eth_stake '{"amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v2_eth_staking_eth_stake '{"amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_eth_staking_eth_redeem
Redeem ETH (TRADE) Redeem WBETH or BETH and get ETH - You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint. Weight(IP): 150 Official Binance Spot endpoint: POST /sapi/v1/eth-staking/eth/redeem.
read - Parameters
- asset, amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_eth_staking_eth_redeem '{"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_eth_staking_eth_redeem '{"asset":"example_asset","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_history_stakinghistory
Get ETH staking history (USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/history/stakingHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_history_stakinghistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_history_stakinghistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_history_redemptionhistory
Get ETH redemption history (USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/history/redemptionHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_history_redemptionhistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_history_redemptionhistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_history_rewardshistory
Get BETH rewards distribution history(USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/history/rewardsHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_history_rewardshistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_history_rewardshistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_quota
Get current ETH staking quota (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/quota.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_quota '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_quota '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_history_ratehistory
Get WBETH Rate History (USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/history/rateHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_history_ratehistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_history_ratehistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v2_eth_staking_account
ETH Staking account V2(USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v2/eth-staking/account.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v2_eth_staking_account '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v2_eth_staking_account '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_eth_staking_wbeth_wrap
Wrap BETH(TRADE) - You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint. Weight(IP): 150 Official Binance Spot endpoint: POST /sapi/v1/eth-staking/wbeth/wrap.
read - Parameters
- amount, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_eth_staking_wbeth_wrap '{"amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_eth_staking_wbeth_wrap '{"amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_wbeth_history_wraphistory
Get WBETH wrap history (USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/wbeth/history/wrapHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_wbeth_history_wraphistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_wbeth_history_wraphistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_wbeth_history_unwraphistory
Get WBETH unwrap history (USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/wbeth/history/unwrapHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_wbeth_history_unwraphistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_wbeth_history_unwraphistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_eth_staking_eth_history_wbethrewardshistory
Get WBETH rewards history(USER_DATA) - The time between startTime and endTime cannot be longer than 3 months. - If startTime and endTime are both not sent, then the last 30 days' data will be returned. - If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. - If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned. Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory.
read - Parameters
- start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_eth_staking_eth_history_wbethrewardshistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_eth_staking_eth_history_wbethrewardshistory '{"start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_copytrading_futures_userstatus
Get Futures Lead Trader Status(TRADE) Get Futures Lead Trader Status Weight(UID): 20 Official Binance Spot endpoint: GET /sapi/v1/copyTrading/futures/userStatus.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_copytrading_futures_userstatus '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_copytrading_futures_userstatus '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_copytrading_futures_leadsymbol
Get Futures Lead Trading Symbol Whitelist(USER_DATA) Get Futures Lead Trading Symbol Whitelist Weight(IP): 20 Official Binance Spot endpoint: GET /sapi/v1/copyTrading/futures/leadSymbol.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_copytrading_futures_leadsymbol '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_copytrading_futures_leadsymbol '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_list
Get Simple Earn Flexible Product List (USER_DATA) Get available Simple Earn flexible product list Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/list.
read - Parameters
- asset, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_list '{"asset":"example_asset","current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_list '{"asset":"example_asset","current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_list
Get Simple Earn Locked Product List (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/list.
read - Parameters
- asset, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_list '{"asset":"example_asset","current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_list '{"asset":"example_asset","current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_flexible_subscribe
Subscribe Flexible Product (TRADE) Weight(IP): 1 Rate Limit: 1/3s per account Official Binance Spot endpoint: POST /sapi/v1/simple-earn/flexible/subscribe.
read - Parameters
- product_id, amount, auto_subscribe, source_account, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_flexible_subscribe '{"product_id":"example_product_id","amount":1,"auto_subscribe":true,"source_account":"example_source_account","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_flexible_subscribe '{"product_id":"example_product_id","amount":1,"auto_subscribe":true,"source_account":"example_source_account","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_locked_subscribe
Subscribe Locked Product (TRADE) Weight(IP): 1 Rate Limit: 1/3s per account Official Binance Spot endpoint: POST /sapi/v1/simple-earn/locked/subscribe.
read - Parameters
- project_id, amount, auto_subscribe, source_account, redeem_to, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_locked_subscribe '{"project_id":"example_project_id","amount":1,"auto_subscribe":true,"source_account":"example_source_account","redeem_to":"example_redeem_to","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_locked_subscribe '{"project_id":"example_project_id","amount":1,"auto_subscribe":true,"source_account":"example_source_account","redeem_to":"example_redeem_to","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_flexible_redeem
Redeem Flexible Product (TRADE) Weight(IP): 1 Rate Limit: 1/3s per account Official Binance Spot endpoint: POST /sapi/v1/simple-earn/flexible/redeem.
read - Parameters
- product_id, redeem_all, amount, dest_account, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_flexible_redeem '{"product_id":"example_product_id","redeem_all":true,"amount":1,"dest_account":"example_dest_account","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_flexible_redeem '{"product_id":"example_product_id","redeem_all":true,"amount":1,"dest_account":"example_dest_account","recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_locked_redeem
Redeem Locked Product (TRADE) Weight(IP): 1 Rate Limit: 1/3s per account Official Binance Spot endpoint: POST /sapi/v1/simple-earn/locked/redeem.
read - Parameters
- position_id, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_locked_redeem '{"position_id":"example_position_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_locked_redeem '{"position_id":"example_position_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_position
Get Flexible Product Position (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/position.
read - Parameters
- asset, product_id, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_position '{"asset":"example_asset","product_id":"example_product_id","current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_position '{"asset":"example_asset","product_id":"example_product_id","current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_position
Get Locked Product Position (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/position.
read - Parameters
- asset, position_id, project_id, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_position '{"asset":"example_asset","position_id":"example_position_id","project_id":"example_project_id","current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_position '{"asset":"example_asset","position_id":"example_position_id","project_id":"example_project_id","current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_account
Simple Account (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/account.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_account '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_account '{"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_history_subscriptionrecord
Get Flexible Subscription Record (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord.
read - Parameters
- product_id, purchase_id, asset, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_history_subscriptionrecord '{"product_id":"example_product_id","purchase_id":"example_purchase_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_history_subscriptionrecord '{"product_id":"example_product_id","purchase_id":"example_purchase_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_history_subscriptionrecord
Get Locked Subscription Record (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/history/subscriptionRecord.
read - Parameters
- purchase_id, asset, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_history_subscriptionrecord '{"purchase_id":"example_purchase_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_history_subscriptionrecord '{"purchase_id":"example_purchase_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_history_redemptionrecord
Get Flexible Redemption Record (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/history/redemptionRecord.
read - Parameters
- product_id, redeem_id, asset, start_time, end_time, current, size
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_history_redemptionrecord '{"product_id":"example_product_id","redeem_id":"example_redeem_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_history_redemptionrecord '{"product_id":"example_product_id","redeem_id":"example_redeem_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_history_redemptionrecord
Get Locked Redemption Record (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/history/redemptionRecord.
read - Parameters
- position_id, redeem_id, asset, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_history_redemptionrecord '{"position_id":"example_position_id","redeem_id":"example_redeem_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_history_redemptionrecord '{"position_id":"example_position_id","redeem_id":"example_redeem_id","asset":"example_asset","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_history_rewardsrecord
Get Flexible Rewards History (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/history/rewardsRecord.
read - Parameters
- product_id, asset, start_time, end_time, type
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_history_rewardsrecord '{"product_id":"example_product_id","asset":"example_asset","start_time":1,"end_time":1,"type":"example_type"}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_history_rewardsrecord '{"product_id":"example_product_id","asset":"example_asset","start_time":1,"end_time":1,"type":"example_type"}' --json binance.binance_get_sapi_v1_simple_earn_locked_history_rewardsrecord
Get Locked Rewards History (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/history/rewardsRecord.
read - Parameters
- position_id, asset, start_time, end_time, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_history_rewardsrecord '{"position_id":"example_position_id","asset":"example_asset","start_time":1,"end_time":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_history_rewardsrecord '{"position_id":"example_position_id","asset":"example_asset","start_time":1,"end_time":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_flexible_setautosubscribe
Set Flexible Auto Subscribe (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: POST /sapi/v1/simple-earn/flexible/setAutoSubscribe.
read - Parameters
- product_id, auto_subscribe, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_flexible_setautosubscribe '{"product_id":"example_product_id","auto_subscribe":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_flexible_setautosubscribe '{"product_id":"example_product_id","auto_subscribe":true,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_simple_earn_locked_setautosubscribe
Set Locked Auto Subscribe (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: POST /sapi/v1/simple-earn/locked/setAutoSubscribe.
read - Parameters
- position_id, auto_subscribe, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_simple_earn_locked_setautosubscribe '{"position_id":"example_position_id","auto_subscribe":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_simple_earn_locked_setautosubscribe '{"position_id":"example_position_id","auto_subscribe":true,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_personalleftquota
Get Flexible Personal Left Quota (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/personalLeftQuota.
read - Parameters
- product_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_personalleftquota '{"product_id":"example_product_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_personalleftquota '{"product_id":"example_product_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_personalleftquota
Get Locked Personal Left Quota (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/personalLeftQuota.
read - Parameters
- project_id, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_personalleftquota '{"project_id":"example_project_id","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_personalleftquota '{"project_id":"example_project_id","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_subscriptionpreview
Get Flexible Subscription Preview (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/subscriptionPreview.
read - Parameters
- product_id, amount, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_subscriptionpreview '{"product_id":"example_product_id","amount":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_subscriptionpreview '{"product_id":"example_product_id","amount":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_subscriptionpreview
Get Locked Subscription Preview (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/subscriptionPreview.
read - Parameters
- project_id, amount, auto_subscribe, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_subscriptionpreview '{"project_id":"example_project_id","amount":1,"auto_subscribe":true,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_subscriptionpreview '{"project_id":"example_project_id","amount":1,"auto_subscribe":true,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_locked_setredeemoption
Set Locked Product Redeem Option(USER_DATA) Set redeem option for Locked product Weight(IP): 50 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/locked/setRedeemOption.
read - Parameters
- position_id, redeem_to, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_locked_setredeemoption '{"position_id":"example_position_id","redeem_to":"example_redeem_to","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_locked_setredeemoption '{"position_id":"example_position_id","redeem_to":"example_redeem_to","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_history_ratehistory
Get Rate History (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/history/rateHistory.
read - Parameters
- product_id, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_history_ratehistory '{"product_id":"example_product_id","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_history_ratehistory '{"product_id":"example_product_id","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_simple_earn_flexible_history_collateralrecord
Get Collateral Record (USER_DATA) Weight(IP): 150 Official Binance Spot endpoint: GET /sapi/v1/simple-earn/flexible/history/collateralRecord.
read - Parameters
- product_id, start_time, end_time, current, size, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_simple_earn_flexible_history_collateralrecord '{"product_id":"example_product_id","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_simple_earn_flexible_history_collateralrecord '{"product_id":"example_product_id","start_time":1,"end_time":1,"current":1,"size":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_dci_product_list
Get Dual Investment product list(USER_DATA) Get Dual Investment product list Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/dci/product/list.
read - Parameters
- option_type, exercised_coin, invest_coin, page_size, page_index, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_dci_product_list '{"option_type":"example_option_type","exercised_coin":"example_exercised_coin","invest_coin":"example_invest_coin","page_size":"example_page_size","page_index":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_dci_product_list '{"option_type":"example_option_type","exercised_coin":"example_exercised_coin","invest_coin":"example_invest_coin","page_size":"example_page_size","page_index":1,"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_dci_product_subscribe
Subscribe Dual Investment products(USER_DATA) Subscribe Dual Investment products - `Products are not available.` means that the APR changes to lower value, or the orders are not available. - `Failed` is a system or network errors. Weight(IP): 1 Official Binance Spot endpoint: POST /sapi/v1/dci/product/subscribe.
read - Parameters
- id, order_id, deposit_amount, auto_compound_plan, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_dci_product_subscribe '{"id":"example_id","order_id":"example_order_id","deposit_amount":1,"auto_compound_plan":"example_auto_compound_plan","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_dci_product_subscribe '{"id":"example_id","order_id":"example_order_id","deposit_amount":1,"auto_compound_plan":"example_auto_compound_plan","recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_dci_product_positions
Get Dual Investment positions(USER_DATA) Get Dual Investment positions (batch) Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/dci/product/positions.
read - Parameters
- status, page_size, page_index, recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_dci_product_positions '{"status":"example_status","page_size":"example_page_size","page_index":1,"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_dci_product_positions '{"status":"example_status","page_size":"example_page_size","page_index":1,"recv_window":1,"timestamp":1}' --json binance.binance_get_sapi_v1_dci_product_accounts
Check Dual Investment accounts(USER_DATA) Check Dual Investment accounts Weight(IP): 1 Official Binance Spot endpoint: GET /sapi/v1/dci/product/accounts.
read - Parameters
- recv_window, timestamp
kosmo integrations:call binance.binance_get_sapi_v1_dci_product_accounts '{"recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_get_sapi_v1_dci_product_accounts '{"recv_window":1,"timestamp":1}' --json binance.binance_post_sapi_v1_dci_product_auto_compound_edit_status
Change Auto-Compound status(USER_DATA) Change Auto-Compound status - 15:31 ~ 16:00 UTC+8 This function is disabled Weight(IP): 1 Rate Limit: Maximum 1 time/s per account Official Binance Spot endpoint: POST /sapi/v1/dci/product/auto_compound/edit-status.
read - Parameters
- position_id, auto_compound_plan, recv_window, timestamp
kosmo integrations:call binance.binance_post_sapi_v1_dci_product_auto_compound_edit_status '{"position_id":1,"auto_compound_plan":"example_auto_compound_plan","recv_window":1,"timestamp":1}' --json kosmo integrations:binance binance_post_sapi_v1_dci_product_auto_compound_edit_status '{"position_id":1,"auto_compound_plan":"example_auto_compound_plan","recv_window":1,"timestamp":1}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
binance.binance_get_api_v3_ping 0 parameters
kosmo integrations:schema binance.binance_get_api_v3_ping --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_api_v3_time 0 parameters
kosmo integrations:schema binance.binance_get_api_v3_time --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_api_v3_exchangeinfo 3 parameters
kosmo integrations:schema binance.binance_get_api_v3_exchangeinfo --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
permissions | string | no | query parameter `permissions`. |
binance.binance_get_api_v3_depth 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_depth --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
limit | integer | no | If limit > 5000, then the response will truncate to 5000 |
binance.binance_get_api_v3_trades 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_trades --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
limit | integer | no | Default 500; max 1000. |
binance.binance_get_api_v3_historicaltrades 3 parameters
kosmo integrations:schema binance.binance_get_api_v3_historicaltrades --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
limit | integer | no | Default 500; max 1000. |
from_id | integer | no | Trade id to fetch from. Default gets most recent trades. |
binance.binance_get_api_v3_aggtrades 5 parameters
kosmo integrations:schema binance.binance_get_api_v3_aggtrades --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
from_id | integer | no | Trade id to fetch from. Default gets most recent trades. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
binance.binance_get_api_v3_klines 6 parameters
kosmo integrations:schema binance.binance_get_api_v3_klines --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
interval | string | yes | kline intervals |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
time_zone | string | no | Default: 0 (UTC) |
limit | integer | no | Default 500; max 1000. |
binance.binance_get_api_v3_uiklines 6 parameters
kosmo integrations:schema binance.binance_get_api_v3_uiklines --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
interval | string | yes | kline intervals |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
time_zone | string | no | Default: 0 (UTC) |
limit | integer | no | Default 500; max 1000. |
binance.binance_get_api_v3_avgprice 1 parameters
kosmo integrations:schema binance.binance_get_api_v3_avgprice --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
binance.binance_get_api_v3_ticker_24hr 3 parameters
kosmo integrations:schema binance.binance_get_api_v3_ticker_24hr --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
type | string | no | Supported values: FULL or MINI. If none provided, the default is FULL |
binance.binance_get_api_v3_ticker_tradingday 4 parameters
kosmo integrations:schema binance.binance_get_api_v3_ticker_tradingday --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
time_zone | string | no | Default: 0 (UTC) |
type | string | no | Supported values: FULL or MINI. If none provided, the default is FULL |
binance.binance_get_api_v3_ticker_price 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_ticker_price --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
binance.binance_get_api_v3_ticker_bookticker 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_ticker_bookticker --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
binance.binance_get_api_v3_ticker 4 parameters
kosmo integrations:schema binance.binance_get_api_v3_ticker --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
symbols | string | no | query parameter `symbols`. |
window_size | string | no | Defaults to 1d if no parameter provided. Supported windowSize values: 1m,2m....59m for minutes 1h, 2h....23h - for hours 1d...7d - for days. Units cannot be combined (e.g. 1d2h is not allowed) |
type | string | no | Supported values: FULL or MINI. If none provided, the default is FULL |
binance.binance_post_api_v3_order_test 17 parameters
kosmo integrations:schema binance.binance_post_api_v3_order_test --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
time_in_force | string | no | Order time in force |
quantity | number | no | Order quantity |
quote_order_qty | number | no | Quote quantity |
price | number | no | Order price |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
strategy_id | integer | no | query parameter `strategyId`. |
strategy_type | integer | no | The value cannot be less than 1000000. |
stop_price | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
trailing_delta | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
recv_window | integer | no | The value cannot be greater than 60000 |
compute_commission_rates | boolean | no | Default: false |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_order 5 parameters
kosmo integrations:schema binance.binance_get_api_v3_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
order_id | integer | no | Order id |
orig_client_order_id | string | no | Order id from client |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_order 17 parameters
kosmo integrations:schema binance.binance_post_api_v3_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
time_in_force | string | no | Order time in force |
quantity | number | no | Order quantity |
quote_order_qty | number | no | Quote quantity |
price | number | no | Order price |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
strategy_id | integer | no | query parameter `strategyId`. |
strategy_type | integer | no | The value cannot be less than 1000000. |
stop_price | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
trailing_delta | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_api_v3_order 7 parameters
kosmo integrations:schema binance.binance_delete_api_v3_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
order_id | integer | no | Order id |
orig_client_order_id | string | no | Order id from client |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
cancel_restrictions | string | no | query parameter `cancelRestrictions`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_order_cancelreplace 22 parameters
kosmo integrations:schema binance.binance_post_api_v3_order_cancelreplace --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
cancel_replace_mode | string | yes | - `STOP_ON_FAILURE` If the cancel request fails, the new order placement will not be attempted. - `ALLOW_FAILURES` If new order placement will be attempted even if cancel request fails. |
cancel_restrictions | string | no | query parameter `cancelRestrictions`. |
time_in_force | string | no | Order time in force |
quantity | number | no | Order quantity |
quote_order_qty | number | no | Quote quantity |
price | number | no | Order price |
cancel_new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
cancel_orig_client_order_id | string | no | Either the cancelOrigClientOrderId or cancelOrderId must be provided. If both are provided, cancelOrderId takes precedence. |
cancel_order_id | integer | no | Either the cancelOrigClientOrderId or cancelOrderId must be provided. If both are provided, cancelOrderId takes precedence. |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
strategy_id | integer | no | query parameter `strategyId`. |
strategy_type | integer | no | The value cannot be less than 1000000. |
stop_price | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
trailing_delta | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_openorders 3 parameters
kosmo integrations:schema binance.binance_get_api_v3_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_api_v3_openorders 3 parameters
kosmo integrations:schema binance.binance_delete_api_v3_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_allorders 7 parameters
kosmo integrations:schema binance.binance_get_api_v3_allorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
order_id | integer | no | Order id |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_orderlist_oco 26 parameters
kosmo integrations:schema binance.binance_post_api_v3_orderlist_oco --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
list_client_order_id | string | no | Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same `listClientOrderId` is accepted only when the previous one is filled or completely expired. `listClientOrderId` is distinct from the `aboveClientOrderId` and the `belowCLientOrderId`. |
side | string | yes | query parameter `side`. |
quantity | number | yes | query parameter `quantity`. |
above_type | string | yes | Supported values : `STOP_LOSS_LIMIT`, `STOP_LOSS`, `LIMIT_MAKER` |
above_client_order_id | string | no | Arbitrary unique ID among open orders for the above order. Automatically generated if not sent |
above_iceberg_qty | number | no | Note that this can only be used if `aboveTimeInForce` is `GTC`. |
above_price | number | no | query parameter `abovePrice`. |
above_stop_price | number | no | Can be used if `aboveType` is `STOP_LOSS` or `STOP_LOSS_LIMIT`. Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified. |
above_trailing_delta | number | no | query parameter `aboveTrailingDelta`. |
above_time_in_force | string | no | Required if the `aboveType` is `STOP_LOSS_LIMIT`. |
above_strategy_id | number | no | Arbitrary numeric value identifying the above order within an order strategy. |
above_strategy_type | integer | no | Arbitrary numeric value identifying the above order strategy. Values smaller than 1000000 are reserved and cannot be used. |
below_type | string | yes | Supported values : `STOP_LOSS_LIMIT`, `STOP_LOSS`, `LIMIT_MAKER` |
below_client_order_id | string | no | Arbitrary unique ID among open orders for the below order. Automatically generated if not sent |
below_iceberg_qty | number | no | Note that this can only be used if `belowTimeInForce` is `GTC`. |
below_price | number | no | Can be used if `belowType` is `STOP_LOSS_LIMIT` or `LIMIT_MAKER` to specify the limit price. |
below_stop_price | number | no | Can be used if `belowType` is `STOP_LOSS` or `STOP_LOSS_LIMIT`. Either `belowStopPrice` or `belowTrailingDelta` or both, must be specified. |
below_trailing_delta | number | no | query parameter `belowTrailingDelta`. |
below_time_in_force | string | no | Required if the `belowType` is `STOP_LOSS_LIMIT`. |
below_strategy_id | number | no | Arbitrary numeric value identifying the below order within an order strategy. |
below_strategy_type | integer | no | Arbitrary numeric value identifying the below order strategy. Values smaller than 1000000 are reserved and cannot be used. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_orderlist_oto 25 parameters
kosmo integrations:schema binance.binance_post_api_v3_orderlist_oto --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
list_client_order_id | string | no | Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same `listClientOrderId` is accepted only when the previous one is filled or completely expired. `listClientOrderId` is distinct from the `workingClientOrderId` and the `pendingClientOrderId`. |
new_order_resp_type | string | no | Set the response JSON. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
working_type | string | yes | Supported values: LIMIT,LIMIT_MAKER |
working_side | string | yes | BUY,SELL |
working_client_order_id | string | no | Arbitrary unique ID among open orders for the working order. Automatically generated if not sent. |
working_price | number | yes | query parameter `workingPrice`. |
working_quantity | number | yes | Sets the quantity for the working order. |
working_iceberg_qty | number | yes | This can only be used if workingTimeInForce is GTC. |
working_time_in_force | string | no | GTC, IOC, FOK |
working_strategy_id | number | no | Arbitrary numeric value identifying the working order within an order strategy. |
working_strategy_type | integer | no | Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used. |
pending_type | string | yes | Supported values: Order Types Note that MARKET orders using quoteOrderQty are not supported. |
pending_side | string | yes | BUY,SELL |
pending_client_order_id | string | no | Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent. |
pending_price | number | no | query parameter `pendingPrice`. |
pending_stop_price | number | no | query parameter `pendingStopPrice`. |
pending_trailing_delta | number | no | query parameter `pendingTrailingDelta`. |
pending_quantity | number | yes | Sets the quantity for the pending order. |
pending_iceberg_qty | number | no | This can only be used if pendingTimeInForce is GTC. |
pending_time_in_force | string | no | GTC, IOC, FOK |
pending_strategy_id | number | no | Arbitrary numeric value identifying the pending order within an order strategy. |
pending_strategy_type | integer | no | Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used. |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_orderlist_otoco 35 parameters
kosmo integrations:schema binance.binance_post_api_v3_orderlist_otoco --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
list_client_order_id | string | no | Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same `listClientOrderId` is accepted only when the previous one is filled or completely expired. `listClientOrderId` is distinct from the `workingClientOrderId` and the `pendingClientOrderId`. |
new_order_resp_type | string | no | Set the response JSON. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
working_type | string | yes | Supported values: LIMIT,LIMIT_MAKER |
working_side | string | yes | BUY,SELL |
working_client_order_id | string | no | Arbitrary unique ID among open orders for the working order. Automatically generated if not sent. |
working_price | number | yes | query parameter `workingPrice`. |
working_quantity | number | yes | Sets the quantity for the working order. |
working_iceberg_qty | number | yes | This can only be used if workingTimeInForce is GTC. |
working_time_in_force | string | no | GTC, IOC, FOK |
working_strategy_id | number | no | Arbitrary numeric value identifying the working order within an order strategy. |
working_strategy_type | integer | no | Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used. |
pending_side | string | yes | BUY,SELL |
pending_quantity | number | yes | Sets the quantity for the pending order. |
pending_above_type | string | yes | Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT |
pending_above_client_order_id | string | no | Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent. |
pending_above_price | number | no | query parameter `pendingAbovePrice`. |
pending_above_stop_price | number | no | query parameter `pendingAboveStopPrice`. |
pending_above_trailing_delta | number | no | query parameter `pendingAboveTrailingDelta`. |
pending_above_iceberg_qty | number | no | This can only be used if pendingAboveTimeInForce is GTC. |
pending_above_time_in_force | string | no | query parameter `pendingAboveTimeInForce`. |
pending_above_strategy_id | number | no | Arbitrary numeric value identifying the pending above order within an order strategy. |
pending_above_strategy_type | integer | no | Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used. |
pending_below_type | string | no | Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT |
pending_below_client_order_id | string | no | Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent. |
pending_below_price | number | no | query parameter `pendingBelowPrice`. |
pending_below_stop_price | number | no | query parameter `pendingBelowStopPrice`. |
pending_below_trailing_delta | number | no | query parameter `pendingBelowTrailingDelta`. |
pending_below_iceberg_qty | number | no | This can only be used if pendingBelowTimeInForce is GTC. |
pending_below_time_in_force | string | no | query parameter `pendingBelowTimeInForce`. |
pending_below_strategy_id | number | no | Arbitrary numeric value identifying the pending below order within an order strategy. |
pending_below_strategy_type | integer | no | Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_orderlist 4 parameters
kosmo integrations:schema binance.binance_get_api_v3_orderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_list_id | integer | no | Order list id |
orig_client_order_id | string | no | Order id from client |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_api_v3_orderlist 6 parameters
kosmo integrations:schema binance.binance_delete_api_v3_orderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
order_list_id | integer | no | Order list id |
list_client_order_id | string | no | A unique Id for the entire orderList |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_allorderlist 6 parameters
kosmo integrations:schema binance.binance_get_api_v3_allorderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_id | integer | no | Trade id to fetch from. Default gets most recent trades. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_openorderlist 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_openorderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_sor_order 14 parameters
kosmo integrations:schema binance.binance_post_api_v3_sor_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
time_in_force | string | no | Order time in force |
quantity | number | yes | query parameter `quantity`. |
price | number | no | query parameter `price`. |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
strategy_id | integer | no | query parameter `strategyId`. |
strategy_type | integer | no | The value cannot be less than 1000000. |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_sor_order_test 15 parameters
kosmo integrations:schema binance.binance_post_api_v3_sor_order_test --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
time_in_force | string | no | Order time in force |
quantity | number | yes | query parameter `quantity`. |
price | number | no | query parameter `price`. |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
strategy_id | integer | no | query parameter `strategyId`. |
strategy_type | integer | no | The value cannot be less than 1000000. |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
compute_commission_rates | boolean | no | Default: false |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_account 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_mytrades 8 parameters
kosmo integrations:schema binance.binance_get_api_v3_mytrades --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
order_id | integer | no | This can only be used in combination with symbol. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
from_id | integer | no | Trade id to fetch from. Default gets most recent trades. |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_ratelimit_order 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_ratelimit_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_mypreventedmatches 7 parameters
kosmo integrations:schema binance.binance_get_api_v3_mypreventedmatches --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
prevented_match_id | integer | no | query parameter `preventedMatchId`. |
order_id | integer | no | Order id |
from_prevented_match_id | integer | no | query parameter `fromPreventedMatchId`. |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_myallocations 8 parameters
kosmo integrations:schema binance.binance_get_api_v3_myallocations --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
from_allocation_id | integer | no | query parameter `fromAllocationId`. |
limit | integer | no | Default 500; max 1000. |
order_id | integer | no | Order id |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_api_v3_account_commission 2 parameters
kosmo integrations:schema binance.binance_get_api_v3_account_commission --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_borrow_repay 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_borrow_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
is_isolated | string | yes | TRUE for isolated margin, FALSE for crossed margin |
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
amount | number | yes | query parameter `amount`. |
type | string | yes | BORROW or REPAY |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_borrow_repay 10 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_borrow_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
isolated_symbol | string | no | Isolated symbol |
tx_id | integer | no | tranId in POST /sapi/v1/margin/loan |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
type | string | yes | BORROW or REPAY |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_transfer 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
type | string | no | query parameter `type`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
isolated_symbol | string | no | Isolated symbol |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_allassets 1 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_allassets --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
binance.binance_get_sapi_v1_margin_allpairs 1 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_allpairs --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
binance.binance_get_sapi_v1_margin_priceindex 1 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_priceindex --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
binance.binance_get_sapi_v1_margin_order 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
order_id | integer | no | Order id |
orig_client_order_id | string | no | Order id from client |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_order 17 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
side | string | yes | query parameter `side`. |
type | string | yes | Order type |
quantity | number | yes | query parameter `quantity`. |
quote_order_qty | number | no | Quote quantity |
price | number | no | Order price |
stop_price | number | no | Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders. |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
iceberg_qty | number | no | Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order. |
new_order_resp_type | string | no | Set the response JSON. |
side_effect_type | string | no | Default `NO_SIDE_EFFECT` |
time_in_force | string | no | Order time in force |
auto_repay_at_cancel | boolean | yes | query parameter `autoRepayAtCancel`. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_margin_order 7 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_margin_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
order_id | integer | no | Order id |
orig_client_order_id | string | no | Order id from client |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_interesthistory 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_interesthistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
isolated_symbol | string | no | Isolated symbol |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
archived | string | no | Default: false. Set to true for archived data from 6 months ago |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_forceliquidationrec 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_forceliquidationrec --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
isolated_symbol | string | no | Isolated symbol |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_account 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_openorders 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_margin_openorders 4 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_margin_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_allorders 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_allorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
order_id | integer | no | Order id |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_order_oco 18 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_order_oco --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
list_client_order_id | string | no | A unique Id for the entire orderList |
side | string | yes | query parameter `side`. |
quantity | number | yes | query parameter `quantity`. |
limit_client_order_id | string | no | A unique Id for the limit order |
price | number | yes | Order price |
limit_iceberg_qty | number | no | query parameter `limitIcebergQty`. |
stop_client_order_id | string | no | A unique Id for the stop loss/stop loss limit leg |
stop_price | number | yes | query parameter `stopPrice`. |
stop_limit_price | number | no | If provided, stopLimitTimeInForce is required. |
stop_iceberg_qty | number | no | query parameter `stopIcebergQty`. |
stop_limit_time_in_force | string | no | query parameter `stopLimitTimeInForce`. |
new_order_resp_type | string | no | Set the response JSON. |
side_effect_type | string | no | Default `NO_SIDE_EFFECT` |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_orderlist 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_orderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
symbol | string | no | Mandatory for isolated margin, not supported for cross margin |
order_list_id | integer | no | Order list id |
orig_client_order_id | string | no | Order id from client |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_margin_orderlist 7 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_margin_orderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
order_list_id | integer | no | Order list id |
list_client_order_id | string | no | A unique Id for the entire orderList |
new_client_order_id | string | no | Used to uniquely identify this cancel. Automatically generated by default |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_allorderlist 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_allorderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
symbol | string | no | Mandatory for isolated margin, not supported for cross margin |
from_id | string | no | If supplied, neither `startTime` or `endTime` can be provided |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default Value: 500; Max Value: 1000 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_openorderlist 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_openorderlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
symbol | string | no | Mandatory for isolated margin, not supported for cross margin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_mytrades 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_mytrades --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
from_id | integer | no | Trade id to fetch from. Default gets most recent trades. |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_maxborrowable 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_maxborrowable --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
isolated_symbol | string | no | Isolated symbol |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_maxtransferable 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_maxtransferable --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
isolated_symbol | string | no | Isolated symbol |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_tradecoeff 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_tradecoeff --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Email Address |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_isolated_account 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_isolated_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbols | string | no | Max 5 symbols can be sent; separated by ',' |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_margin_isolated_account 3 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_margin_isolated_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_isolated_account 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_isolated_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_isolated_accountlimit 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_isolated_accountlimit --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_isolated_allpairs 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_isolated_allpairs --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_bnbburn 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_bnbburn --json | Parameter | Type | Required | Description |
|---|---|---|---|
spot_bnb_burn | string | no | Determines whether to use BNB to pay for trading fees on SPOT |
interest_bnb_burn | string | no | Determines whether to use BNB to pay for margin loan's interest |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_bnbburn 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_bnbburn --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_interestratehistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_interestratehistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
vip_level | integer | no | Defaults to user's vip level |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_crossmargindata 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_crossmargindata --json | Parameter | Type | Required | Description |
|---|---|---|---|
vip_level | integer | no | Defaults to user's vip level |
coin | string | no | Coin name |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_isolatedmargindata 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_isolatedmargindata --json | Parameter | Type | Required | Description |
|---|---|---|---|
vip_level | integer | no | Defaults to user's vip level |
symbol | string | no | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_isolatedmargintier 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_isolatedmargintier --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
tier | string | no | All margin tier data will be returned if tier is omitted |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_ratelimit_order 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_ratelimit_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
symbol | string | no | isolated symbol, mandatory for isolated margin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_crossmargincollateralratio 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_crossmargincollateralratio --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_margin_exchange_small_liability 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_exchange_small_liability --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_exchange_small_liability_history 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_exchange_small_liability_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_next_hourly_interest_rate 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_next_hourly_interest_rate --json | Parameter | Type | Required | Description |
|---|---|---|---|
assets | string | no | List of assets, separated by commas, up to 20 |
is_isolated | string | no | for isolated margin or not, "TRUE", "FALSE" |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_capital_flow 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_capital_flow --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
symbol | string | no | Required when querying isolated data |
type | string | no | query parameter `type`. |
start_time | integer | no | Only supports querying the data of the last 90 days |
end_time | integer | no | UTC timestamp in ms |
from_id | integer | no | If fromId is set, the data with id > fromId will be returned. Otherwise the latest data will be returned |
limit | integer | no | The number of data items returned each time is limited. Default 500; Max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_delist_schedule 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_delist_schedule --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_available_inventory 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_available_inventory --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | query parameter `type`. |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_manual_liquidation 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_manual_liquidation --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | query parameter `type`. |
symbol | string | no | query parameter `symbol`. |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_order_oto 24 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_order_oto --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
list_client_order_id | string | no | Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same `listClientOrderId` is accepted only when the previous one is filled or completely expired. `listClientOrderId` is distinct from the `workingClientOrderId` and the `pendingClientOrderId`. |
new_order_resp_type | string | no | Set the response JSON. |
side_effect_type | string | no | Default `NO_SIDE_EFFECT` |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
auto_repay_at_cancel | boolean | no | Only when MARGIN_BUY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. The default is true |
working_type | string | yes | Supported values: LIMIT,LIMIT_MAKER |
working_side | string | yes | BUY,SELL |
working_client_order_id | string | no | Arbitrary unique ID among open orders for the working order. Automatically generated if not sent. |
working_price | number | yes | query parameter `workingPrice`. |
working_quantity | number | yes | Sets the quantity for the working order. |
working_iceberg_qty | number | yes | This can only be used if workingTimeInForce is GTC. |
working_time_in_force | string | no | GTC, IOC, FOK |
pending_type | string | yes | Supported values: Order Types Note that MARKET orders using quoteOrderQty are not supported. |
pending_side | string | yes | BUY,SELL |
pending_client_order_id | string | no | Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent. |
pending_price | number | no | query parameter `pendingPrice`. |
pending_stop_price | number | no | query parameter `pendingStopPrice`. |
pending_trailing_delta | number | no | query parameter `pendingTrailingDelta`. |
pending_quantity | number | yes | Sets the quantity for the pending order. |
pending_iceberg_qty | number | no | This can only be used if pendingTimeInForce is GTC. |
pending_time_in_force | string | no | GTC, IOC, FOK |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_order_otoco 31 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_order_otoco --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
is_isolated | string | no | * `TRUE` - For isolated margin * `FALSE` - Default, not for isolated margin |
side_effect_type | string | no | Default `NO_SIDE_EFFECT` |
auto_repay_at_cancel | boolean | no | Only when MARGIN_BUY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. The default is true |
list_client_order_id | string | no | Arbitrary unique ID among open order lists. Automatically generated if not sent. A new order list with the same `listClientOrderId` is accepted only when the previous one is filled or completely expired. `listClientOrderId` is distinct from the `workingClientOrderId` and the `pendingClientOrderId`. |
new_order_resp_type | string | no | Set the response JSON. |
self_trade_prevention_mode | string | no | The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE. |
working_type | string | yes | Supported values: LIMIT,LIMIT_MAKER |
working_side | string | yes | BUY,SELL |
working_client_order_id | string | no | Arbitrary unique ID among open orders for the working order. Automatically generated if not sent. |
working_price | number | yes | query parameter `workingPrice`. |
working_quantity | number | yes | Sets the quantity for the working order. |
working_iceberg_qty | number | yes | This can only be used if workingTimeInForce is GTC. |
working_time_in_force | string | no | GTC, IOC, FOK |
pending_side | string | yes | BUY,SELL |
pending_quantity | number | yes | Sets the quantity for the pending order. |
pending_above_type | string | yes | Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT |
pending_above_client_order_id | string | no | Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent. |
pending_above_price | number | no | query parameter `pendingAbovePrice`. |
pending_above_stop_price | number | no | query parameter `pendingAboveStopPrice`. |
pending_above_trailing_delta | number | no | query parameter `pendingAboveTrailingDelta`. |
pending_above_iceberg_qty | number | no | This can only be used if pendingAboveTimeInForce is GTC. |
pending_above_time_in_force | string | no | query parameter `pendingAboveTimeInForce`. |
pending_below_type | string | no | Supported values: LIMIT_MAKER, STOP_LOSS, and STOP_LOSS_LIMIT |
pending_below_client_order_id | string | no | Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent. |
pending_below_price | number | no | query parameter `pendingBelowPrice`. |
pending_below_stop_price | number | no | query parameter `pendingBelowStopPrice`. |
pending_below_trailing_delta | number | no | query parameter `pendingBelowTrailingDelta`. |
pending_below_iceberg_qty | number | no | This can only be used if pendingBelowTimeInForce is GTC. |
pending_below_time_in_force | string | no | query parameter `pendingBelowTimeInForce`. |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_margin_max_leverage 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_margin_max_leverage --json | Parameter | Type | Required | Description |
|---|---|---|---|
max_leverage | integer | yes | Can only adjust 3 or 5 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_margin_leveragebracket 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_margin_leveragebracket --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_system_status 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_system_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_capital_config_getall 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_config_getall --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_accountsnapshot 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_accountsnapshot --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | query parameter `type`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | query parameter `limit`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_account_disablefastwithdrawswitch 2 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_account_disablefastwithdrawswitch --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_account_enablefastwithdrawswitch 2 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_account_enablefastwithdrawswitch --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_capital_withdraw_apply 11 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_capital_withdraw_apply --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | yes | Coin name |
withdraw_order_id | string | no | Client id for withdraw |
network | string | no | query parameter `network`. |
address | string | yes | query parameter `address`. |
address_tag | string | no | Secondary address identifier for coins like XRP,XMR etc. |
amount | number | yes | query parameter `amount`. |
transaction_fee_flag | boolean | no | When making internal transfer - `true` -> returning the fee to the destination account; - `false` -> returning the fee back to the departure account. |
name | string | no | query parameter `name`. |
wallet_type | integer | no | The wallet type for withdraw,0-Spot wallet, 1- Funding wallet. Default is Spot wallet |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_deposit_hisrec 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_deposit_hisrec --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | no | Coin name |
status | integer | no | * `0` - pending * `6` - credited but cannot withdraw * `1` - success |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
offset | integer | no | query parameter `offset`. |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_withdraw_history 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_withdraw_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | no | Coin name |
withdraw_order_id | string | no | query parameter `withdrawOrderId`. |
status | integer | no | * `0` - Email Sent * `1` - Cancelled * `2` - Awaiting Approval * `3` - Rejected * `4` - Processing * `5` - Failure * `6` - Completed |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
offset | integer | no | query parameter `offset`. |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_deposit_address 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_deposit_address --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | yes | Coin name |
network | string | no | query parameter `network`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_account_status 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_account_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_account_apitradingstatus 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_account_apitradingstatus --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_dribblet 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_dribblet --json | Parameter | Type | Required | Description |
|---|---|---|---|
account_type | string | no | SPOT or MARGIN, default SPOT |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_asset_dust_btc 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_asset_dust_btc --json | Parameter | Type | Required | Description |
|---|---|---|---|
account_type | string | no | SPOT or MARGIN, default SPOT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_asset_dust 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_asset_dust --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | array | yes | The asset being converted. For example, asset=BTC&asset=USDT |
account_type | string | no | SPOT or MARGIN, default SPOT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_assetdividend 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_assetdividend --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | query parameter `limit`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_assetdetail 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_assetdetail --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_tradefee 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_tradefee --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_transfer 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | Universal transfer type |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
from_symbol | string | no | Must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN |
to_symbol | string | no | Must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_asset_transfer 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_asset_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
type | string | yes | Universal transfer type |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
from_symbol | string | no | Must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN |
to_symbol | string | no | Must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_asset_get_funding_asset 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_asset_get_funding_asset --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
need_btc_valuation | string | no | query parameter `needBtcValuation`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v3_asset_getuserasset 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v3_asset_getuserasset --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
need_btc_valuation | string | no | query parameter `needBtcValuation`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_asset_convert_transfer 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_asset_convert_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
client_tran_id | string | yes | The unique flag, the min length is 20 |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
target_asset | string | yes | Target asset you want to convert |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_convert_transfer_querybypage 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_convert_transfer_querybypage --json | Parameter | Type | Required | Description |
|---|---|---|---|
tran_id | integer | no | The transaction id |
asset | string | no | If it is blank, we will match deducted asset and target asset. |
start_time | integer | yes | UTC timestamp in ms |
end_time | integer | yes | UTC timestamp in ms |
account_type | string | no | MAIN: main account. CARD: funding account. If it is blank, we will query spot and card wallet, otherwise, we just query the corresponding wallet |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_ledger_transfer_cloud_mining_querybypage 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_ledger_transfer_cloud_mining_querybypage --json | Parameter | Type | Required | Description |
|---|---|---|---|
tran_id | integer | no | The transaction id |
client_tran_id | string | no | The unique flag |
asset | string | no | If it is blank, we will query all assets |
start_time | integer | yes | UTC timestamp in ms |
end_time | integer | yes | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_account_apirestrictions 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_account_apirestrictions --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_contract_convertible_coins 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_contract_convertible_coins --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_post_sapi_v1_capital_contract_convertible_coins 2 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_capital_contract_convertible_coins --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | yes | Must be USDC, USDP or TUSD |
enable | boolean | yes | true: turn on the auto-conversion. false: turn off the auto-conversion |
binance.binance_post_sapi_v1_sub_account_virtualsubaccount 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_virtualsubaccount --json | Parameter | Type | Required | Description |
|---|---|---|---|
sub_account_string | string | yes | Please input a string. We will create a virtual email using that string for you to register |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_list 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | Sub-account email |
is_freeze | string | no | query parameter `isFreeze`. |
page | integer | no | Default 1 |
limit | integer | no | Default 1; max 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_sub_transfer_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_sub_transfer_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_email | string | no | Sub-account email |
to_email | string | no | Sub-account email |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_futures_internaltransfer 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_futures_internaltransfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
futures_type | integer | yes | 1:USDT-margined Futures, 2: Coin-margined Futures |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default value: 50, Max value: 500 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_futures_internaltransfer 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_futures_internaltransfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_email | string | yes | Sender email |
to_email | string | yes | Recipient email |
futures_type | integer | yes | 1:USDT-margined Futures,2: Coin-margined Futures |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v3_sub_account_assets 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v3_sub_account_assets --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_spotsummary 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_spotsummary --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | Sub-account email |
page | integer | no | Default 1 |
size | integer | no | Default:10 Max:20 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_deposit_subaddress 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_deposit_subaddress --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
coin | string | yes | Coin name |
network | string | no | query parameter `network`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_deposit_subhisrec 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_deposit_subhisrec --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
coin | string | no | Coin name |
status | integer | no | 0(0:pending,6: credited but cannot withdraw, 1:success) |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | query parameter `limit`. |
offset | integer | no | query parameter `offset`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_capital_deposit_credit_apply 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_capital_deposit_credit_apply --json | Parameter | Type | Required | Description |
|---|---|---|---|
deposit_id | integer | no | Deposit record Id, priority use |
tx_id | string | no | Deposit txId, used when depositId is not specified |
sub_account_id | integer | no | query parameter `subAccountId`. |
sub_user_id | integer | no | query parameter `subUserId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_wallet_balance 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_wallet_balance --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_asset_custody_transfer_history 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_asset_custody_transfer_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
start_time | integer | yes | query parameter `startTime`. |
end_time | integer | yes | query parameter `endTime`. |
type | string | no | query parameter `type`. |
asset | string | yes | query parameter `asset`. |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_deposit_address_list 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_deposit_address_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | yes | query parameter `coin`. |
network | string | no | query parameter `network`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_spot_delist_schedule 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_spot_delist_schedule --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_capital_withdraw_address_list 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_capital_withdraw_address_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_account_info 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_account_info --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_status 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_margin_enable 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_margin_enable --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_margin_account 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_margin_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_margin_accountsummary 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_margin_accountsummary --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_futures_enable 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_futures_enable --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_futures_account 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_futures_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_futures_accountsummary 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_futures_accountsummary --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_futures_positionrisk 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_futures_positionrisk --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_futures_transfer 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_futures_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
type | integer | yes | * `1` - transfer from subaccount's spot account to its USDT-margined futures account * `2` - transfer from subaccount's USDT-margined futures account to its spot account * `3` - transfer from subaccount's spot account to its COIN-margined futures account * `4` - transfer from subaccount's COIN-margined futures account to its spot account |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_margin_transfer 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_margin_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
type | integer | yes | * `1` - transfer from subaccount's spot account to margin account * `2` - transfer from subaccount's margin account to its spot account |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_transfer_subtosub 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_transfer_subtosub --json | Parameter | Type | Required | Description |
|---|---|---|---|
to_email | string | yes | Recipient email |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_transfer_subtomaster 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_transfer_subtomaster --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_transfer_subuserhistory 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_transfer_subuserhistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
type | integer | no | * `1` - transfer in * `2` - transfer out |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_universaltransfer 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_universaltransfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_email | string | no | Sub-account email |
to_email | string | no | Sub-account email |
client_tran_id | string | no | query parameter `clientTranId`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default 500, Max 500 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_universaltransfer 10 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_universaltransfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_email | string | no | Sub-account email |
to_email | string | no | Sub-account email |
from_account_type | string | yes | query parameter `fromAccountType`. |
to_account_type | string | yes | query parameter `toAccountType`. |
client_tran_id | string | no | query parameter `clientTranId`. |
symbol | string | no | Only supported under ISOLATED_MARGIN type |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_sub_account_futures_account 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_sub_account_futures_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
futures_type | integer | yes | * `1` - USDT Margined Futures * `2` - COIN Margined Futures |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_sub_account_futures_accountsummary 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_sub_account_futures_accountsummary --json | Parameter | Type | Required | Description |
|---|---|---|---|
futures_type | integer | yes | * `1` - USDT Margined Futures * `2` - COIN Margined Futures |
page | integer | no | Default 1 |
limit | integer | no | Default 10, Max 20 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_sub_account_futures_positionrisk 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_sub_account_futures_positionrisk --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
futures_type | integer | yes | * `1` - USDT Margined Futures * `2` - COIN Margined Futures |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_blvt_enable 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_blvt_enable --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
enable_blvt | boolean | yes | Only true for now |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_managed_subaccount_deposit 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_managed_subaccount_deposit --json | Parameter | Type | Required | Description |
|---|---|---|---|
to_email | string | yes | Recipient email |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_asset 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_asset --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_managed_subaccount_withdraw 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_managed_subaccount_withdraw --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_email | string | yes | Sender email |
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
transfer_date | integer | no | Withdrawals is automatically occur on the transfer date(UTC0). If a date is not selected, the withdrawal occurs right now |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_accountsnapshot 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_accountsnapshot --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
type | string | yes | "SPOT", "MARGIN"(cross), "FUTURES"(UM) |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | min 7, max 30, default 7 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_querytranslogforinvestor 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_querytranslogforinvestor --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default 500; max 1000. |
transfers | string | no | Transfer Direction (FROM/TO) |
transfer_function_account_type | string | no | Transfer function account type (SPOT/MARGIN/ISOLATED_MARGIN/USDT_FUTURE/COIN_FUTURE) |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_querytranslogfortradeparent 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_querytranslogfortradeparent --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default 500; max 1000. |
transfers | string | no | Transfer Direction (FROM/TO) |
transfer_function_account_type | string | no | Transfer function account type (SPOT/MARGIN/ISOLATED_MARGIN/USDT_FUTURE/COIN_FUTURE) |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_fetch_future_asset 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_fetch_future_asset --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_marginasset 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_marginasset --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_info 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_info --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
page | integer | no | Default 1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_deposit_address 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_deposit_address --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
coin | string | yes | Coin name |
network | string | no | query parameter `network`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_managed_subaccount_query_trans_log 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_managed_subaccount_query_trans_log --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
limit | integer | no | Default 500; max 1000. |
transfers | string | yes | Transfer Direction |
transfer_function_account_type | string | yes | Transfer function account type |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_subaccountapi_iprestriction 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_subaccountapi_iprestriction --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
sub_account_api_key | string | yes | query parameter `subAccountApiKey`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_sub_account_subaccountapi_iprestriction_iplist 6 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_sub_account_subaccountapi_iprestriction_iplist --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
sub_account_api_key | string | yes | query parameter `subAccountApiKey`. |
ip_address | string | no | Can be added in batches, separated by commas |
third_party_name | string | no | third party IP list name |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_sub_account_transaction_statistics 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_sub_account_transaction_statistics --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_sub_account_eoptions_enable 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_sub_account_eoptions_enable --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v2_sub_account_subaccountapi_iprestriction 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v2_sub_account_subaccountapi_iprestriction --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Sub-account email |
sub_account_api_key | string | yes | query parameter `subAccountApiKey`. |
status | string | yes | IP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only. 3 = Restrict access to users' trusted third party IPs only |
third_party_name | string | no | third party IP list name |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v4_sub_account_assets 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v4_sub_account_assets --json | Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | query parameter `email`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_api_v3_userdatastream 0 parameters
kosmo integrations:schema binance.binance_post_api_v3_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_put_api_v3_userdatastream 1 parameters
kosmo integrations:schema binance.binance_put_api_v3_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_delete_api_v3_userdatastream 1 parameters
kosmo integrations:schema binance.binance_delete_api_v3_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_post_sapi_v1_userdatastream 0 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_put_sapi_v1_userdatastream 1 parameters
kosmo integrations:schema binance.binance_put_sapi_v1_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_delete_sapi_v1_userdatastream 1 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_userdatastream --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_post_sapi_v1_userdatastream_isolated 0 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_userdatastream_isolated --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_put_sapi_v1_userdatastream_isolated 1 parameters
kosmo integrations:schema binance.binance_put_sapi_v1_userdatastream_isolated --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_delete_sapi_v1_userdatastream_isolated 1 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_userdatastream_isolated --json | Parameter | Type | Required | Description |
|---|---|---|---|
listen_key | string | no | User websocket listen key |
binance.binance_get_sapi_v1_fiat_orders 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_fiat_orders --json | Parameter | Type | Required | Description |
|---|---|---|---|
transaction_type | integer | yes | * `0` - deposit * `1` - withdraw |
begin_time | integer | no | query parameter `beginTime`. |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
rows | integer | no | Default 100, max 500 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_fiat_payments 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_fiat_payments --json | Parameter | Type | Required | Description |
|---|---|---|---|
transaction_type | integer | yes | * `0` - deposit * `1` - withdraw |
begin_time | integer | no | query parameter `beginTime`. |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
rows | integer | no | Default 100, max 500 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_project_list 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_project_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
type | string | yes | query parameter `type`. |
status | string | no | Default `ALL` |
is_sort_asc | boolean | no | default "true" |
sort_by | string | no | Default `START_TIME` |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_customizedfixed_purchase 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_customizedfixed_purchase --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | query parameter `projectId`. |
lot | string | yes | query parameter `lot`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_project_position_list 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_project_position_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
project_id | string | no | query parameter `projectId`. |
status | string | no | Default `ALL` |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_positionchanged 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_positionchanged --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | query parameter `projectId`. |
lot | string | yes | query parameter `lot`. |
position_id | string | no | query parameter `positionId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_pub_algolist 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_pub_algolist --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_mining_pub_coinlist 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_pub_coinlist --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v1_mining_worker_detail 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_worker_detail --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
worker_name | string | yes | Miner’s name |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_worker_list 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_worker_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
page_index | integer | no | Page number, default is first page, start form 1 |
sort | integer | no | sort sequence(default=0)0 positive sequence, 1 negative sequence |
sort_column | integer | no | Sort by( default 1): 1: miner name, 2: real-time computing power, 3: daily average computing power, 4: real-time rejection rate, 5: last submission time |
worker_status | integer | no | miners status(default=0)0 all, 1 valid, 2 invalid, 3 failure |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_payment_list 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_payment_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
coin | string | no | Coin name |
start_date | string | no | Search date, millisecond timestamp, while empty query all |
end_date | string | no | Search date, millisecond timestamp, while empty query all |
page_index | integer | no | Page number, default is first page, start form 1 |
page_size | string | no | Number of pages, minimum 10, maximum 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_payment_other 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_payment_other --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
coin | string | no | Coin name |
start_date | string | no | Search date, millisecond timestamp, while empty query all |
end_date | string | no | Search date, millisecond timestamp, while empty query all |
page_index | integer | no | Page number, default is first page, start form 1 |
page_size | string | no | Number of pages, minimum 10, maximum 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_hash_transfer_config_details_list 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_hash_transfer_config_details_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
page_index | integer | no | Page number, default is first page, start form 1 |
page_size | string | no | Number of pages, minimum 10, maximum 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_hash_transfer_profit_details 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_hash_transfer_profit_details --json | Parameter | Type | Required | Description |
|---|---|---|---|
config_id | string | yes | Mining ID |
user_name | string | yes | Mining Account |
page_index | integer | no | Page number, default is first page, start form 1 |
page_size | string | no | Number of pages, minimum 10, maximum 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_mining_hash_transfer_config 8 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_mining_hash_transfer_config --json | Parameter | Type | Required | Description |
|---|---|---|---|
user_name | string | yes | Mining Account |
algo | string | yes | Algorithm(sha256) |
start_date | string | no | Search date, millisecond timestamp, while empty query all |
end_date | string | no | Search date, millisecond timestamp, while empty query all |
to_pool_user | string | yes | Mining Account |
hash_rate | string | yes | Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_mining_hash_transfer_config_cancel 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_mining_hash_transfer_config_cancel --json | Parameter | Type | Required | Description |
|---|---|---|---|
config_id | string | yes | Mining ID |
user_name | string | yes | Mining Account |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_statistics_user_status 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_statistics_user_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_statistics_user_list 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_statistics_user_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
user_name | string | yes | Mining Account |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_mining_payment_uid 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_mining_payment_uid --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo | string | yes | Algorithm(sha256) |
start_date | string | no | Search date, millisecond timestamp, while empty query all |
end_date | string | no | Search date, millisecond timestamp, while empty query all |
page_index | integer | no | Page number, default is first page, start form 1 |
page_size | string | no | Number of pages, minimum 10, maximum 200 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_futures_transfer 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_futures_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
amount | number | yes | query parameter `amount`. |
type | integer | yes | 1: transfer from spot account to USDT-Ⓜ futures account. 2: transfer from USDT-Ⓜ futures account to spot account. 3: transfer from spot account to COIN-Ⓜ futures account. 4: transfer from COIN-Ⓜ futures account to spot account. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_futures_transfer 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_futures_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
start_time | integer | yes | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_futures_histdatalink 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_futures_histdatalink --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | query parameter `symbol`. |
data_type | string | yes | query parameter `dataType`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_algo_futures_newordervp 10 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_algo_futures_newordervp --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
position_side | string | no | Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode. |
quantity | number | yes | Quantity of base asset; The notional (quantity * mark price(base asset)) must be more than the equivalent of 10,000 USDT and less than the equivalent of 1,000,000 USDT |
urgency | string | yes | Represent the relative speed of the current execution; ENUM: LOW, MEDIUM, HIGH |
client_algo_id | string | no | A unique id among Algo orders (length should be 32 characters), If it is not sent, we will give default value |
reduce_only | boolean | no | 'true' or 'false'. Default 'false'; Cannot be sent in Hedge Mode; Cannot be sent when you open a position |
limit_price | number | no | Limit price of the order; If it is not sent, will place order by market price by default |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_algo_futures_newordertwap 10 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_algo_futures_newordertwap --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
position_side | string | no | Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode. |
quantity | number | yes | Quantity of base asset; The notional (quantity * mark price(base asset)) must be more than the equivalent of 10,000 USDT and less than the equivalent of 1,000,000 USDT |
duration | integer | yes | Duration for TWAP orders in seconds. [300, 86400];Less than 5min => defaults to 5 min; Greater than 24h => defaults to 24h |
client_algo_id | string | no | A unique id among Algo orders (length should be 32 characters), If it is not sent, we will give default value |
reduce_only | boolean | no | 'true' or 'false'. Default 'false'; Cannot be sent in Hedge Mode; Cannot be sent when you open a position |
limit_price | number | no | Limit price of the order; If it is not sent, will place order by market price by default |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_algo_futures_order 3 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_algo_futures_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo_id | integer | yes | Eg. 14511 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_futures_openorders 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_futures_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_futures_historicalorders 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_futures_historicalorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Trading symbol, e.g. BNBUSDT |
side | string | no | query parameter `side`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
page_size | string | no | MIN 1, MAX 100; Default 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_futures_suborders 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_futures_suborders --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo_id | integer | yes | query parameter `algoId`. |
page | integer | no | Default 1 |
page_size | string | no | MIN 1, MAX 100; Default 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_algo_spot_newordertwap 8 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_algo_spot_newordertwap --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
quantity | number | yes | query parameter `quantity`. |
duration | integer | yes | query parameter `duration`. |
client_algo_id | string | no | query parameter `clientAlgoId`. |
limit_price | number | no | query parameter `limitPrice`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_delete_sapi_v1_algo_spot_order 3 parameters
kosmo integrations:schema binance.binance_delete_sapi_v1_algo_spot_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo_id | integer | yes | query parameter `algoId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_spot_openorders 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_spot_openorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_spot_historicalorders 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_spot_historicalorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | yes | Trading symbol, e.g. BNBUSDT |
side | string | yes | query parameter `side`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
page_size | string | no | MIN 1, MAX 100; Default 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_algo_spot_suborders 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_algo_spot_suborders --json | Parameter | Type | Required | Description |
|---|---|---|---|
algo_id | integer | yes | query parameter `algoId`. |
page | integer | no | Default 1 |
page_size | string | no | MIN 1, MAX 100; Default 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_account 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_collateralrate 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_collateralrate --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_get_sapi_v2_portfolio_collateralrate 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_portfolio_collateralrate --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_pmloan 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_pmloan --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_portfolio_repay 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
from | string | no | query parameter `from`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_interest_history 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_interest_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_asset_index_price 1 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_asset_index_price --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
binance.binance_post_sapi_v1_portfolio_auto_collection 2 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_auto_collection --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_portfolio_bnb_transfer 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_bnb_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
transfer_side | string | yes | query parameter `transferSide`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_portfolio_repay_futures_switch 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_repay_futures_switch --json | Parameter | Type | Required | Description |
|---|---|---|---|
auto_repay | boolean | yes | query parameter `autoRepay`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_repay_futures_switch 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_repay_futures_switch --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_portfolio_repay_futures_negative_balance 2 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_repay_futures_negative_balance --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_portfolio_margin_asset_leverage 0 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_portfolio_margin_asset_leverage --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
binance.binance_post_sapi_v1_portfolio_asset_collection 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_portfolio_asset_collection --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | yes | query parameter `asset`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_blvt_tokeninfo 1 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_blvt_tokeninfo --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | no | BTCDOWN, BTCUP |
binance.binance_post_sapi_v1_blvt_subscribe 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_blvt_subscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | yes | BTCDOWN, BTCUP |
cost | number | yes | Spot balance |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_blvt_subscribe_record 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_blvt_subscribe_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | no | BTCDOWN, BTCUP |
id | integer | no | query parameter `id`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_blvt_redeem 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_blvt_redeem --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | yes | BTCDOWN, BTCUP |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_blvt_redeem_record 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_blvt_redeem_record --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | no | BTCDOWN, BTCUP |
id | integer | no | query parameter `id`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | default 1000, max 1000 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_blvt_userlimit 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_blvt_userlimit --json | Parameter | Type | Required | Description |
|---|---|---|---|
token_name | string | no | BTCDOWN, BTCUP |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_c2c_ordermatch_listuserorderhistory 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_c2c_ordermatch_listuserorderhistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
trade_type | string | yes | query parameter `tradeType`. |
start_timestamp | integer | no | UTC timestamp in ms |
end_timestamp | integer | no | UTC timestamp in ms |
page | integer | no | Default 1 |
rows | integer | no | default 100, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_ongoing_orders 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_ongoing_orders --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order id |
collateral_account_id | integer | no | query parameter `collateralAccountId`. |
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 10; max 100. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_vip_repay 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_vip_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order id |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_repay_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_repay_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order id |
loan_coin | string | no | Coin loaned |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 10; max 100. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_collateral_account 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_collateral_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order id |
collateral_account_id | integer | no | query parameter `collateralAccountId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_vip_borrow 9 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_vip_borrow --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_account_id | integer | yes | query parameter `loanAccountId`. |
loan_coin | string | no | Coin loaned |
loan_amount | number | yes | query parameter `loanAmount`. |
collateral_account_id | string | yes | query parameter `collateralAccountId`. |
collateral_coin | string | yes | query parameter `collateralCoin`. |
is_flexible_rate | string | yes | query parameter `isFlexibleRate`. |
loan_term | integer | no | query parameter `loanTerm`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_loanable_data 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_loanable_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
vip_level | integer | no | Defaults to user's vip level |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_collateral_data 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_collateral_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
collateral_coin | string | no | Coin used as collateral |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_request_data 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_request_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_vip_request_interestrate 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_vip_request_interestrate --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Max 10 assets, Multiple split by "," |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_vip_renew 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_vip_renew --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order id |
loan_term | integer | no | query parameter `loanTerm`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_income 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_income --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
type | string | no | All types will be returned by default. * `borrowIn` * `collateralSpent` * `repayAmount` * `collateralReturn` - Collateral return after repayment * `addCollateral` * `removeCollateral` * `collateralReturnAfterLiquidation` |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | default 20, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_borrow 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_borrow --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | yes | Coin loaned |
loan_amount | number | no | Loan amount |
collateral_coin | string | yes | Coin used as collateral |
collateral_amount | number | no | query parameter `collateralAmount`. |
loan_term | integer | yes | 7/14/30/90/180 days |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_borrow_history 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_borrow_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | orderId in POST /sapi/v1/loan/borrow |
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | default 10, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_ongoing_orders 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_ongoing_orders --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | orderId in POST /sapi/v1/loan/borrow |
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
current | integer | no | Current querying page. Start from 1; default:1, max:1000 |
limit | integer | no | default 10, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_repay 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | yes | Order ID |
amount | number | yes | Repayment Amount |
type | integer | no | Default: 1. 1 for 'repay with borrowed coin'; 2 for 'repay with collateral'. |
collateral_return | boolean | no | Default: TRUE. TRUE: Return extra collateral to spot account; FALSE: Keep extra collateral in the order. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_repay_history 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_repay_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order ID |
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | default 10, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_adjust_ltv 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_adjust_ltv --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | yes | Order ID |
amount | number | yes | Amount |
direction | string | yes | 'ADDITIONAL', 'REDUCED' |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_ltv_adjustment_history 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_ltv_adjustment_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Order ID |
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | default 10, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_loanable_data 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_loanable_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
vip_level | integer | no | Defaults to user's vip level |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_collateral_data 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_collateral_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
collateral_coin | string | no | Coin used as collateral |
vip_level | integer | no | Defaults to user's vip level |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_loan_repay_collateral_rate 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_loan_repay_collateral_rate --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | yes | Coin loaned |
collateral_coin | string | yes | Coin used as collateral |
repay_amount | number | yes | repay amount of loanCoin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_loan_customize_margin_call 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_loan_customize_margin_call --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | no | Mandatory when collateralCoin is empty. Send either orderId or collateralCoin, if both parameters are sent, take orderId only. |
collateral_coin | string | no | Coin used as collateral |
margin_call | number | yes | query parameter `marginCall`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v2_loan_flexible_borrow 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v2_loan_flexible_borrow --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
loan_amount | number | no | Loan amount |
collateral_coin | string | no | Coin used as collateral |
collateral_amount | number | no | query parameter `collateralAmount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_ongoing_orders 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_ongoing_orders --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_borrow_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_borrow_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v2_loan_flexible_repay 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v2_loan_flexible_repay --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
repay_amount | number | yes | repay amount of loanCoin |
collateral_return | boolean | no | Default: TRUE. TRUE: Return extra collateral to earn account; FALSE: Keep extra collateral in the order, and lower LTV. |
full_repayment | boolean | no | Default: FALSE. TRUE: Full repayment; FALSE: Partial repayment, based on loanAmount |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_repay_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_repay_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v2_loan_flexible_adjust_ltv 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v2_loan_flexible_adjust_ltv --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
adjustment_amount | number | yes | query parameter `adjustmentAmount`. |
direction | string | yes | query parameter `direction`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_ltv_adjustment_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_ltv_adjustment_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
collateral_coin | string | no | Coin used as collateral |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
limit | integer | no | Default 500; max 1000. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_loanable_data 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_loanable_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
loan_coin | string | no | Coin loaned |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_loan_flexible_collateral_data 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_loan_flexible_collateral_data --json | Parameter | Type | Required | Description |
|---|---|---|---|
collateral_coin | string | no | Coin used as collateral |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_pay_transactions 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_pay_transactions --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | default 100, max 100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_convert_exchangeinfo 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_convert_exchangeinfo --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_asset | string | no | User spends coin |
to_asset | string | no | User receives coin |
binance.binance_get_sapi_v1_convert_assetinfo 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_convert_assetinfo --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_convert_getquote 8 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_convert_getquote --json | Parameter | Type | Required | Description |
|---|---|---|---|
from_asset | string | yes | query parameter `fromAsset`. |
to_asset | string | yes | query parameter `toAsset`. |
from_amount | number | no | When specified, it is the amount you will be debited after the conversion |
to_amount | number | no | When specified, it is the amount you will be debited after the conversion |
valid_time | string | no | 10s, 30s, 1m, 2m, default 10s |
wallet_type | string | no | SPOT or FUNDING. Default is SPOT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_convert_acceptquote 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_convert_acceptquote --json | Parameter | Type | Required | Description |
|---|---|---|---|
quote_id | string | yes | query parameter `quoteId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_convert_orderstatus 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_convert_orderstatus --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | no | query parameter `orderId`. |
quote_id | string | no | query parameter `quoteId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_convert_limit_placeorder 10 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_convert_limit_placeorder --json | Parameter | Type | Required | Description |
|---|---|---|---|
base_asset | string | yes | query parameter `baseAsset`. |
quote_asset | string | yes | query parameter `quoteAsset`. |
limit_price | number | yes | Symbol limit price (from baseAsset to quoteAsset) |
base_amount | number | no | Base asset amount. (One of baseAmount or quoteAmount is required) |
quote_amount | number | no | Quote asset amount. (One of baseAmount or quoteAmount is required) |
side | string | yes | query parameter `side`. |
wallet_type | string | no | SPOT or FUNDING or SPOT_FUNDING. It is to use which type of assets. Default is SPOT. |
expired_type | string | no | 1_D, 3_D, 7_D, 30_D (D means day) |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_convert_limit_cancelorder 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_convert_limit_cancelorder --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_id | integer | yes | query parameter `orderId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_convert_limit_queryopenorders 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_convert_limit_queryopenorders --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_convert_tradeflow 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_convert_tradeflow --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | yes | UTC timestamp in ms |
end_time | integer | yes | UTC timestamp in ms |
limit | integer | no | default 100, max 1000 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_rebate_taxquery 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_rebate_taxquery --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
page | integer | no | default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_nft_history_transactions 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_nft_history_transactions --json | Parameter | Type | Required | Description |
|---|---|---|---|
order_type | integer | yes | 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 50, Max 50 |
page | integer | no | Default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_nft_history_deposit 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_nft_history_deposit --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 50, Max 50 |
page | integer | no | Default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_nft_history_withdraw 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_nft_history_withdraw --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
limit | integer | no | Default 50, Max 50 |
page | integer | no | Default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_nft_user_getasset 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_nft_user_getasset --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Default 50, Max 50 |
page | integer | no | Default 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_giftcard_createcode 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_giftcard_createcode --json | Parameter | Type | Required | Description |
|---|---|---|---|
token | string | yes | The coin type contained in the Binance Code |
amount | number | yes | The amount of the coin |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_giftcard_redeemcode 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_giftcard_redeemcode --json | Parameter | Type | Required | Description |
|---|---|---|---|
code | string | yes | Binance Code |
external_uid | string | no | Each external unique ID represents a unique user on the partner platform. The function helps you to identify the redemption behavior of different users, such as redemption frequency and amount. It also helps risk and limit control of a single account, such as daily limit on redemption volume, frequency, and incorrect number of entries. This will also prevent a single user account reach the partner's daily redemption limits. We strongly recommend you to use this feature and transfer us the User ID of your users if you have different users redeeming Binance codes on your platform. To protect user data privacy, you may choose to transfer the user id in any desired format (max. 400 characters). |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_giftcard_verify 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_giftcard_verify --json | Parameter | Type | Required | Description |
|---|---|---|---|
reference_no | string | yes | reference number |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_giftcard_cryptography_rsa_public_key 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_giftcard_cryptography_rsa_public_key --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_giftcard_buycode 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_giftcard_buycode --json | Parameter | Type | Required | Description |
|---|---|---|---|
base_token | string | yes | The token you want to pay, example BUSD |
face_token | string | yes | The token you want to buy, example BNB. If faceToken = baseToken, it's the same as createCode endpoint. |
base_token_amount | number | yes | The base token asset quantity, example 1.002 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_giftcard_buycode_token_limit 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_giftcard_buycode_token_limit --json | Parameter | Type | Required | Description |
|---|---|---|---|
base_token | string | yes | The token you want to pay, example BUSD |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_target_asset_list 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_target_asset_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
target_asset | string | no | query parameter `targetAsset`. |
size | integer | no | Default:10 Max:100 |
current | integer | no | Current querying page. Start from 1. Default:1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_target_asset_roi_list 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_target_asset_roi_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
target_asset | string | yes | query parameter `targetAsset`. |
his_roi_type | string | yes | query parameter `hisRoiType`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_all_asset 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_all_asset --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_source_asset_list 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_source_asset_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
target_asset | string | no | query parameter `targetAsset`. |
index_id | integer | no | query parameter `indexId`. |
usage_type | string | yes | query parameter `usageType`. |
flexible_allowed_to_use | boolean | no | query parameter `flexibleAllowedToUse`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_auto_invest_plan_add 14 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_auto_invest_plan_add --json | Parameter | Type | Required | Description |
|---|---|---|---|
source_type | string | yes | query parameter `sourceType`. |
request_id | string | no | query parameter `requestId`. |
plan_type | string | yes | query parameter `planType`. |
index_id | integer | no | query parameter `IndexId`. |
subscription_amount | number | yes | query parameter `subscriptionAmount`. |
subscription_cycle | string | yes | query parameter `subscriptionCycle`. |
subscription_start_day | integer | no | query parameter `subscriptionStartDay`. |
subscription_start_weekday | string | no | query parameter `subscriptionStartWeekday`. |
subscription_start_time | integer | yes | query parameter `subscriptionStartTime`. |
source_asset | string | yes | query parameter `sourceAsset`. |
flexible_allowed_to_use | boolean | no | query parameter `flexibleAllowedToUse`. |
details | array | yes | query parameter `details`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_auto_invest_plan_edit 11 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_auto_invest_plan_edit --json | Parameter | Type | Required | Description |
|---|---|---|---|
plan_id | integer | yes | query parameter `planId`. |
subscription_amount | number | yes | query parameter `subscriptionAmount`. |
subscription_cycle | string | yes | query parameter `subscriptionCycle`. |
subscription_start_day | integer | no | query parameter `subscriptionStartDay`. |
subscription_start_weekday | string | no | query parameter `subscriptionStartWeekday`. |
subscription_start_time | integer | yes | query parameter `subscriptionStartTime`. |
source_asset | string | yes | query parameter `sourceAsset`. |
flexible_allowed_to_use | boolean | no | query parameter `flexibleAllowedToUse`. |
details | array | no | query parameter `details`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_auto_invest_plan_edit_status 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_auto_invest_plan_edit_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
plan_id | integer | yes | query parameter `planId`. |
status | string | yes | query parameter `status`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_plan_list 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_plan_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
plan_type | string | yes | query parameter `planType`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_plan_id 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_plan_id --json | Parameter | Type | Required | Description |
|---|---|---|---|
plan_id | integer | no | query parameter `planId`. |
request_id | string | no | query parameter `requestId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_history_list 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_history_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
plan_id | integer | no | query parameter `planId`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
target_asset | number | no | query parameter `targetAsset`. |
plan_type | string | no | query parameter `planType`. |
size | integer | no | Default:10 Max:100 |
current | integer | no | Current querying page. Start from 1. Default:1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_index_info 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_index_info --json | Parameter | Type | Required | Description |
|---|---|---|---|
index_id | integer | yes | query parameter `indexId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_index_user_summary 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_index_user_summary --json | Parameter | Type | Required | Description |
|---|---|---|---|
index_id | integer | yes | query parameter `indexId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_auto_invest_one_off 10 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_auto_invest_one_off --json | Parameter | Type | Required | Description |
|---|---|---|---|
source_type | string | yes | query parameter `sourceType`. |
request_id | string | no | query parameter `requestId`. |
subscription_amount | number | yes | query parameter `subscriptionAmount`. |
source_asset | string | yes | query parameter `sourceAsset`. |
flexible_allowed_to_use | boolean | no | query parameter `flexibleAllowedToUse`. |
plan_id | integer | no | query parameter `planId`. |
index_id | integer | no | query parameter `indexId`. |
details | array | no | query parameter `details`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_one_off_status 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_one_off_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
transaction_id | integer | yes | query parameter `transactionId`. |
request_id | string | no | query parameter `requestId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_lending_auto_invest_redeem 5 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_lending_auto_invest_redeem --json | Parameter | Type | Required | Description |
|---|---|---|---|
index_id | integer | yes | PORTFOLIO plan's Id |
request_id | string | no | sourceType + unique, transactionId and requestId cannot be empty at the same time |
redemption_percentage | integer | yes | user redeem percentage,10/20/100. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_redeem_history 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_redeem_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
request_id | integer | yes | query parameter `requestId`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
asset | string | no | query parameter `asset`. |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_lending_auto_invest_rebalance_history 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_lending_auto_invest_rebalance_history --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v2_eth_staking_eth_stake 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v2_eth_staking_eth_stake --json | Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | yes | Amount in ETH, limit 4 decimals |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_eth_staking_eth_redeem 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_eth_staking_eth_redeem --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | WBETH or BETH, default to BETH |
amount | number | yes | Amount in BETH, limit 8 decimals |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_history_stakinghistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_history_stakinghistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_history_redemptionhistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_history_redemptionhistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_history_rewardshistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_history_rewardshistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_quota 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_quota --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_history_ratehistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_history_ratehistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v2_eth_staking_account 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v2_eth_staking_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_eth_staking_wbeth_wrap 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_eth_staking_wbeth_wrap --json | Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | yes | Amount in BETH, limit 4 decimals |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_wbeth_history_wraphistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_wbeth_history_wraphistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_wbeth_history_unwraphistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_wbeth_history_unwraphistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_eth_staking_eth_history_wbethrewardshistory 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_eth_staking_eth_history_wbethrewardshistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_copytrading_futures_userstatus 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_copytrading_futures_userstatus --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_copytrading_futures_leadsymbol 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_copytrading_futures_leadsymbol --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_list 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_list 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_flexible_subscribe 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_flexible_subscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
amount | number | yes | query parameter `amount`. |
auto_subscribe | boolean | no | true or false, default true. |
source_account | string | no | SPOT,FUND,ALL, default SPOT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_locked_subscribe 7 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_locked_subscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | query parameter `projectId`. |
amount | number | yes | query parameter `amount`. |
auto_subscribe | boolean | no | true or false, default true. |
source_account | string | no | SPOT,FUND,ALL, default SPOT |
redeem_to | string | no | SPOT,FLEXIBLE, default FLEXIBLE |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_flexible_redeem 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_flexible_redeem --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
redeem_all | boolean | no | true or false, default to false |
amount | number | no | if redeemAll is false, amount is mandatory |
dest_account | string | no | SPOT,FUND,ALL, default SPOT |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_locked_redeem 3 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_locked_redeem --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | string | yes | 1234 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_position 6 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_position --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
product_id | string | no | query parameter `productId`. |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_position 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_position --json | Parameter | Type | Required | Description |
|---|---|---|---|
asset | string | no | query parameter `asset`. |
position_id | string | no | query parameter `positionId`. |
project_id | string | no | query parameter `projectId`. |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_account 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_account --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_history_subscriptionrecord 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_history_subscriptionrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | no | query parameter `productId`. |
purchase_id | string | no | query parameter `purchaseId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_history_subscriptionrecord 8 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_history_subscriptionrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
purchase_id | string | no | query parameter `purchaseId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_history_redemptionrecord 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_history_redemptionrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | no | query parameter `productId`. |
redeem_id | string | no | query parameter `redeemId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
binance.binance_get_sapi_v1_simple_earn_locked_history_redemptionrecord 9 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_history_redemptionrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | string | no | query parameter `positionId`. |
redeem_id | string | no | query parameter `redeemId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_history_rewardsrecord 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_history_rewardsrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | no | query parameter `productId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
type | string | yes | "BONUS", "REALTIME", "REWARDS" |
binance.binance_get_sapi_v1_simple_earn_locked_history_rewardsrecord 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_history_rewardsrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | string | no | query parameter `positionId`. |
asset | string | no | query parameter `asset`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_flexible_setautosubscribe 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_flexible_setautosubscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
auto_subscribe | boolean | yes | true or false |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_simple_earn_locked_setautosubscribe 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_simple_earn_locked_setautosubscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | string | yes | query parameter `positionId`. |
auto_subscribe | boolean | yes | true or false |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_personalleftquota 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_personalleftquota --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_personalleftquota 3 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_personalleftquota --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | query parameter `projectId`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_subscriptionpreview 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_subscriptionpreview --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
amount | number | yes | query parameter `amount`. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_subscriptionpreview 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_subscriptionpreview --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | query parameter `projectId`. |
amount | number | yes | query parameter `amount`. |
auto_subscribe | boolean | no | true or false, default true. |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_locked_setredeemoption 4 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_locked_setredeemoption --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | string | yes | query parameter `positionId`. |
redeem_to | string | no | SPOT,FLEXIBLE, default FLEXIBLE |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_history_ratehistory 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_history_ratehistory --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | query parameter `productId`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_simple_earn_flexible_history_collateralrecord 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_simple_earn_flexible_history_collateralrecord --json | Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | no | query parameter `productId`. |
start_time | integer | no | UTC timestamp in ms |
end_time | integer | no | UTC timestamp in ms |
current | integer | no | Current querying page. Start from 1. Default:1 |
size | integer | no | Default:10 Max:100 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_dci_product_list 7 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_dci_product_list --json | Parameter | Type | Required | Description |
|---|---|---|---|
option_type | string | yes | Input CALL or PUT |
exercised_coin | string | yes | Target exercised asset, e.g.: if you subscribe to a high sell product (call option), you should input: - optionType: CALL, - exercisedCoin: USDT, - investCoin: BNB; if you subscribe to a low buy product (put option), you should input: - optionType: PUT, - exercisedCoin: BNB, - investCoin: USDT; |
invest_coin | string | yes | Asset used for subscribing, e.g.: if you subscribe to a high sell product (call option), you should input: - optionType: CALL, - exercisedCoin: USDT, - investCoin: BNB; if you subscribe to a low buy product (put option), you should input: - optionType: PUT, - exercisedCoin: BNB, - investCoin: USDT; |
page_size | string | no | MIN 1, MAX 100; Default 100 |
page_index | integer | no | Page number, default is first page, start form 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_dci_product_subscribe 6 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_dci_product_subscribe --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | get id from /sapi/v1/dci/product/list |
order_id | string | yes | get orderId from /sapi/v1/dci/product/list |
deposit_amount | number | yes | query parameter `depositAmount`. |
auto_compound_plan | string | yes | NONE: switch off the plan, STANDARD: standard plan, ADVANCED: advanced plan; |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_dci_product_positions 5 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_dci_product_positions --json | Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | - PENDING: Products are purchasing, will give results later; - PURCHASE_SUCCESS: purchase successfully; - SETTLED: Products are finish settling; - PURCHASE_FAIL: fail to purchase; - REFUNDING: refund ongoing; - REFUND_SUCCESS: refund to spot account successfully; - SETTLING: Products are settling. If don't fill this field, will response all the position status. |
page_size | string | no | MIN 1, MAX 100; Default 100 |
page_index | integer | no | Page number, default is first page, start form 1 |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_get_sapi_v1_dci_product_accounts 2 parameters
kosmo integrations:schema binance.binance_get_sapi_v1_dci_product_accounts --json | Parameter | Type | Required | Description |
|---|---|---|---|
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
binance.binance_post_sapi_v1_dci_product_auto_compound_edit_status 4 parameters
kosmo integrations:schema binance.binance_post_sapi_v1_dci_product_auto_compound_edit_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
position_id | integer | yes | Get positionId from /sapi/v1/dci/product/positions |
auto_compound_plan | string | yes | NONE: switch off the plan, STANDARD: standard plan, ADVANCED: advanced plan; |
recv_window | integer | no | The value cannot be greater than 60000 |
timestamp | integer | no | UTC timestamp in ms |
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.