[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GSEDAE74S76PP10EHW0DSR":3,"skill-same:01M6GSEDAE74S76PP10EHW0DSR":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":29,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6GSEDAE74S76PP10EHW0DSR","spot",null,"Binance Spot request using the Binance API. Authentication requires API key and secret key. Supports testnet, mainnet, and demo.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FSKILL.md",[],[5,20,21,22,23,24,25,26,27,28,29,30,31],"github","authentication","https","demo","openssl","api","curl","hub","binance","main","tree","request","2026-11-10 10:12:30",false,"---\nname: spot\ndescription: Binance Spot request using the Binance API. Authentication requires API key and secret key. Supports testnet, mainnet, and demo.\nmetadata:\n  version: 1.1.0\n  author: Binance\n  openclaw:\n    skillKey: binance-spot\n    requires:\n      bins:\n        - curl\n        - openssl\n        - date\n    homepage: https:\u002F\u002Fgithub.com\u002Fbinance\u002Fbinance-skills-hub\u002Ftree\u002Fmain\u002Fskills\u002Fbinance\u002Fspot\u002FSKILL.md\nlicense: MIT\n---\n\n# Binance Spot Skill\n\nSpot request on Binance using authenticated API endpoints. Requires API key and secret key for certain endpoints. Return the result in JSON format.\n\n## Quick Reference\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002FexchangeInfo` (GET) | Exchange information | None | symbol, symbols, permissions, showPermissionSets, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fping` (GET) | Test connectivity | None | None | No |\n| `\u002Fapi\u002Fv3\u002Ftime` (GET) | Check server time | None | None | No |\n| `\u002Fapi\u002Fv3\u002FaggTrades` (GET) | Compressed\u002FAggregate trades list | symbol | fromId, startTime, endTime, limit | No |\n| `\u002Fapi\u002Fv3\u002FavgPrice` (GET) | Current average price | symbol | None | No |\n| `\u002Fapi\u002Fv3\u002Fdepth` (GET) | Order book | symbol | limit, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002FhistoricalTrades` (GET) | Old trade lookup | symbol | limit, fromId | No |\n| `\u002Fapi\u002Fv3\u002Fklines` (GET) | Kline\u002FCandlestick data | symbol, interval | startTime, endTime, timeZone, limit | No |\n| `\u002Fapi\u002Fv3\u002Fticker` (GET) | Rolling window price change statistics | None | symbol, symbols, windowSize, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002F24hr` (GET) | 24hr ticker price change statistics | None | symbol, symbols, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002FbookTicker` (GET) | Symbol order book ticker | None | symbol, symbols, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002Fprice` (GET) | Symbol price ticker | None | symbol, symbols, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002FtradingDay` (GET) | Trading Day Ticker | None | symbol, symbols, timeZone, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Ftrades` (GET) | Recent trades list | symbol | limit | No |\n| `\u002Fapi\u002Fv3\u002FuiKlines` (GET) | UIKlines | symbol, interval | startTime, endTime, timeZone, limit | No |\n| `\u002Fapi\u002Fv3\u002FopenOrders` (DELETE) | Cancel All Open Orders on a Symbol | symbol | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FopenOrders` (GET) | Current open orders | None | symbol, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (POST) | New order | symbol, side, type | timeInForce, quantity, quoteOrderQty, price, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (DELETE) | Cancel order | symbol | orderId, origClientOrderId, newClientOrderId, cancelRestrictions, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (GET) | Query order | symbol | orderId, origClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Famend\u002FkeepPriority` (PUT) | Order Amend Keep Priority | symbol, newQty | orderId, origClientOrderId, newClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002FcancelReplace` (POST) | Cancel an Existing Order and Send a New Order | symbol, side, type, cancelReplaceMode | timeInForce, quantity, quoteOrderQty, price, cancelNewClientOrderId, cancelOrigClientOrderId, cancelOrderId, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, cancelRestrictions, orderRateLimitExceededMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Foco` (POST) | New OCO - Deprecated | symbol, side, quantity, price, stopPrice | listClientOrderId, limitClientOrderId, limitStrategyId, limitStrategyType, limitIcebergQty, trailingDelta, stopClientOrderId, stopStrategyId, stopStrategyType, stopLimitPrice, stopIcebergQty, stopLimitTimeInForce, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Ftest` (POST) | Test new order | symbol, side, type | computeCommissionRates, timeInForce, quantity, quoteOrderQty, price, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList` (DELETE) | Cancel Order list | symbol | orderListId, listClientOrderId, newClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList` (GET) | Query Order list | None | orderListId, origClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Foco` (POST) | New Order list - OCO | symbol, side, quantity, aboveType, belowType | listClientOrderId, aboveClientOrderId, aboveIcebergQty, abovePrice, aboveStopPrice, aboveTrailingDelta, aboveTimeInForce, aboveStrategyId, aboveStrategyType, abovePegPriceType, abovePegOffsetType, abovePegOffsetValue, belowClientOrderId, belowIcebergQty, belowPrice, belowStopPrice, belowTrailingDelta, belowTimeInForce, belowStrategyId, belowStrategyType, belowPegPriceType, belowPegOffsetType, belowPegOffsetValue, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fopo` (POST) | New Order List - OPO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingType, pendingSide | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingClientOrderId, pendingPrice, pendingStopPrice, pendingTrailingDelta, pendingIcebergQty, pendingTimeInForce, pendingStrategyId, pendingStrategyType, pendingPegPriceType, pendingPegOffsetType, pendingPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fopoco` (POST) | New Order List - OPOCO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingSide, pendingAboveType | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingAboveClientOrderId, pendingAbovePrice, pendingAboveStopPrice, pendingAboveTrailingDelta, pendingAboveIcebergQty, pendingAboveTimeInForce, pendingAboveStrategyId, pendingAboveStrategyType, pendingAbovePegPriceType, pendingAbovePegOffsetType, pendingAbovePegOffsetValue, pendingBelowType, pendingBelowClientOrderId, pendingBelowPrice, pendingBelowStopPrice, pendingBelowTrailingDelta, pendingBelowIcebergQty, pendingBelowTimeInForce, pendingBelowStrategyId, pendingBelowStrategyType, pendingBelowPegPriceType, pendingBelowPegOffsetType, pendingBelowPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Foto` (POST) | New Order list - OTO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingType, pendingSide, pendingQuantity | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingClientOrderId, pendingPrice, pendingStopPrice, pendingTrailingDelta, pendingIcebergQty, pendingTimeInForce, pendingStrategyId, pendingStrategyType, pendingPegPriceType, pendingPegOffsetType, pendingPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fotoco` (POST) | New Order list - OTOCO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingSide, pendingQuantity, pendingAboveType | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingAboveClientOrderId, pendingAbovePrice, pendingAboveStopPrice, pendingAboveTrailingDelta, pendingAboveIcebergQty, pendingAboveTimeInForce, pendingAboveStrategyId, pendingAboveStrategyType, pendingAbovePegPriceType, pendingAbovePegOffsetType, pendingAbovePegOffsetValue, pendingBelowType, pendingBelowClientOrderId, pendingBelowPrice, pendingBelowStopPrice, pendingBelowTrailingDelta, pendingBelowIcebergQty, pendingBelowTimeInForce, pendingBelowStrategyId, pendingBelowStrategyType, pendingBelowPegPriceType, pendingBelowPegOffsetType, pendingBelowPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Fsor\u002Forder` (POST) | New order using SOR | symbol, side, type, quantity | timeInForce, price, newClientOrderId, strategyId, strategyType, icebergQty, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Fsor\u002Forder\u002Ftest` (POST) | Test new order using SOR | symbol, side, type, quantity | computeCommissionRates, timeInForce, price, newClientOrderId, strategyId, strategyType, icebergQty, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Faccount` (GET) | Account information | None | omitZeroBalances, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Faccount\u002Fcommission` (GET) | Query Commission Rates | symbol | None | Yes |\n| `\u002Fapi\u002Fv3\u002FallOrderList` (GET) | Query all Order lists | None | fromId, startTime, endTime, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FallOrders` (GET) | All orders | symbol | orderId, startTime, endTime, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyAllocations` (GET) | Query Allocations | symbol | startTime, endTime, fromAllocationId, limit, orderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyFilters` (GET) | Query relevant filters | symbol | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyPreventedMatches` (GET) | Query Prevented Matches | symbol | preventedMatchId, orderId, fromPreventedMatchId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyTrades` (GET) | Account trade list | symbol | orderId, startTime, endTime, fromId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FopenOrderList` (GET) | Query Open Order lists | None | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Famendments` (GET) | Query Order Amendments | symbol, orderId | fromExecutionId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FrateLimit\u002Forder` (GET) | Query Unfilled Order Count | None | recvWindow | Yes |\n\n---\n\n## Parameters\n\n### Common Parameters\n\n* **symbol**: Symbol to query (e.g., BNBUSDT)\n* **symbols**: List of symbols to query\n* **permissions**: List of permissions to query\n* **showPermissionSets**: Controls whether the content of the `permissionSets` field is populated or not. Defaults to `true` (e.g., true)\n* **symbol**:  (e.g., BNBUSDT)\n* **fromId**: ID to get aggregate trades from INCLUSIVE. (e.g., 1)\n* **startTime**: Timestamp in ms to get aggregate trades from INCLUSIVE. (e.g., 1735693200000)\n* **endTime**: Timestamp in ms to get aggregate trades until INCLUSIVE. (e.g., 1735693200000)\n* **limit**: Default: 500; Maximum: 1000. (e.g., 500)\n* **timeZone**: Default: 0 (UTC)\n* **recvWindow**: The value cannot be greater than `60000`.   Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified. (e.g., 5000)\n* **timestamp**:  (e.g., 1)\n* **quantity**:  (e.g., 1)\n* **quoteOrderQty**:  (e.g., 1)\n* **price**:  (e.g., 400)\n* **newClientOrderId**: A unique id among open orders. Automatically generated if not sent.  Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.\n* **strategyId**:  (e.g., 1)\n* **strategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **stopPrice**: Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders. (e.g., 1)\n* **trailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **icebergQty**: Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order. (e.g., 1)\n* **pegOffsetValue**: Priceleveltopegthepriceto(max:100). SeePeggedOrdersInfo (e.g., 1)\n* **orderId**:  (e.g., 1)\n* **origClientOrderId**: \n* **newQty**: `newQty` must be greater than 0 and less than the order's quantity. (e.g., 1)\n* **cancelNewClientOrderId**: Used to uniquely identify this cancel. Automatically generated by default.\n* **cancelOrigClientOrderId**: Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent.  \u003C\u002Fbr> If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order.  \u003C\u002Fbr> If both conditions are not met the request will be rejected.\n* **cancelOrderId**: Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent.  \u003C\u002Fbr>If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order.  \u003C\u002Fbr>If both conditions are not met the request will be rejected. (e.g., 1)\n* **listClientOrderId**: A unique Id for the entire orderList\n* **quantity**:  (e.g., 1)\n* **limitClientOrderId**: A unique Id for the limit order\n* **price**:  (e.g., 1)\n* **limitStrategyId**:  (e.g., 1)\n* **limitStrategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **limitIcebergQty**: Used to make the `LIMIT_MAKER` leg an iceberg order. (e.g., 1)\n* **stopClientOrderId**: A unique Id for the stop loss\u002Fstop loss limit leg\n* **stopPrice**:  (e.g., 1)\n* **stopStrategyId**:  (e.g., 1)\n* **stopStrategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **stopLimitPrice**: If provided, `stopLimitTimeInForce` is required. (e.g., 1)\n* **stopIcebergQty**: Used with `STOP_LOSS_LIMIT` leg to make an iceberg order. (e.g., 1)\n* **computeCommissionRates**: Default: `false`   See Commissions FAQ to learn more.\n* **orderListId**: Either `orderListId` or `listClientOrderId` must be provided (e.g., 1)\n* **aboveClientOrderId**: Arbitrary unique ID among open orders for the above order. Automatically generated if not sent\n* **aboveIcebergQty**: Note that this can only be used if `aboveTimeInForce` is `GTC`. (e.g., 1)\n* **abovePrice**: Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **aboveStopPrice**: Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`.  Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified. (e.g., 1)\n* **aboveTrailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **aboveStrategyId**: Arbitrary numeric value identifying the above order within an order strategy. (e.g., 1)\n* **aboveStrategyType**: Arbitrary numeric value identifying the above order strategy.  Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **abovePegOffsetValue**:  (e.g., 1)\n* **belowClientOrderId**: Arbitrary unique ID among open orders for the below order. Automatically generated if not sent\n* **belowIcebergQty**: Note that this can only be used if `belowTimeInForce` is `GTC`. (e.g., 1)\n* **belowPrice**: Can be used if `belowType` is `STOP_LOSS_LIMIT`, `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **belowStopPrice**: Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT` or `TAKE_PROFIT_LIMIT`  Either belowStopPrice or belowTrailingDelta or both, must be specified. (e.g., 1)\n* **belowTrailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **belowStrategyId**: Arbitrary numeric value identifying the below order within an order strategy. (e.g., 1)\n* **belowStrategyType**: Arbitrary numeric value identifying the below order strategy.  Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **belowPegOffsetValue**:  (e.g., 1)\n* **workingClientOrderId**: Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.\n* **workingPrice**:  (e.g., 1)\n* **workingQuantity**: Sets the quantity for the working order. (e.g., 1)\n* **workingIcebergQty**: This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`. (e.g., 1)\n* **workingStrategyId**: Arbitrary numeric value identifying the working order within an order strategy. (e.g., 1)\n* **workingStrategyType**: Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **workingPegOffsetValue**:  (e.g., 1)\n* **pendingClientOrderId**: Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.\n* **pendingPrice**:  (e.g., 1)\n* **pendingStopPrice**:  (e.g., 1)\n* **pendingTrailingDelta**:  (e.g., 1)\n* **pendingIcebergQty**: This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingStrategyId**: Arbitrary numeric value identifying the pending order within an order strategy. (e.g., 1)\n* **pendingStrategyType**: Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingPegOffsetValue**:  (e.g., 1)\n* **pendingAboveClientOrderId**: Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.\n* **pendingAbovePrice**: Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **pendingAboveStopPrice**: Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT` (e.g., 1)\n* **pendingAboveTrailingDelta**: See Trailing Stop FAQ (e.g., 1)\n* **pendingAboveIcebergQty**: This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingAboveStrategyId**: Arbitrary numeric value identifying the pending above order within an order strategy. (e.g., 1)\n* **pendingAboveStrategyType**: Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingAbovePegOffsetValue**:  (e.g., 1)\n* **pendingBelowClientOrderId**: Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.\n* **pendingBelowPrice**: Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price (e.g., 1)\n* **pendingBelowStopPrice**: Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified. (e.g., 1)\n* **pendingBelowTrailingDelta**:  (e.g., 1)\n* **pendingBelowIcebergQty**: This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingBelowStrategyId**: Arbitrary numeric value identifying the pending below order within an order strategy. (e.g., 1)\n* **pendingBelowStrategyType**: Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingBelowPegOffsetValue**:  (e.g., 1)\n* **pendingQuantity**: Sets the quantity for the pending order. (e.g., 1)\n* **omitZeroBalances**: When set to `true`, emits only the non-zero balances of an account.  Default value: `false`\n* **fromAllocationId**:  (e.g., 1)\n* **timestamp**:  (e.g., 1)\n* **preventedMatchId**:  (e.g., 1)\n* **fromPreventedMatchId**:  (e.g., 1)\n* **orderId**:  (e.g., 1)\n* **fromExecutionId**:  (e.g., 1)\n* **limit**: Default:500; Maximum: 1000 (e.g., 500)\n\n\n### Enums\n\n* **interval**: 1s | 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 3d | 1w | 1M\n* **windowSize**: 1m | 2m | 3m | 4m | 5m | 6m | 7m | 8m | 9m | 10m | 11m | 12m | 13m | 14m | 15m | 16m | 17m | 18m | 19m | 20m | 21m | 22m | 23m | 24m | 25m | 26m | 27m | 28m | 29m | 30m | 31m | 32m | 33m | 34m | 35m | 36m | 37m | 38m | 39m | 40m | 41m | 42m | 43m | 44m | 45m | 46m | 47m | 48m | 49m | 50m | 51m | 52m | 53m | 54m | 55m | 56m | 57m | 58m | 59m | 1h | 2h | 3h | 4h | 5h | 6h | 7h | 8h | 9h | 10h | 11h | 12h | 13h | 14h | 15h | 16h | 17h | 18h | 19h | 20h | 21h | 22h | 23h | 1d | 2d | 3d | 4d | 5d | 6d\n* **type**: FULL | MINI\n* **type**: MARKET | LIMIT | STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT | LIMIT_MAKER | NON_REPRESENTABLE\n* **selfTradePreventionMode**: NONE | EXPIRE_TAKER | EXPIRE_MAKER | EXPIRE_BOTH | DECREMENT | NON_REPRESENTABLE\n* **symbolStatus**: TRADING | END_OF_DAY | HALT | BREAK | NON_REPRESENTABLE\n* **timeInForce**: GTC | IOC | FOK | NON_REPRESENTABLE\n* **pegPriceType**: PRIMARY_PEG | MARKET_PEG | NON_REPRESENTABLE\n* **pegOffsetType**: PRICE_LEVEL | NON_REPRESENTABLE\n* **newOrderRespType**: ACK | RESULT | FULL | MARKET | LIMIT\n* **cancelRestrictions**: ONLY_NEW | NEW | ONLY_PARTIALLY_FILLED | PARTIALLY_FILLED\n* **cancelReplaceMode**: STOP_ON_FAILURE | ALLOW_FAILURE\n* **orderRateLimitExceededMode**: DO_NOTHING | CANCEL_ONLY\n* **stopLimitTimeInForce**: GTC | IOC | FOK\n* **side**: BUY | SELL\n* **aboveType**: STOP_LOSS_LIMIT | STOP_LOSS | LIMIT_MAKER | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **aboveTimeInForce**: GTC | IOC | FOK\n* **abovePegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **abovePegOffsetType**: PRICE_LEVEL\n* **belowType**: STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **belowTimeInForce**: GTC | IOC | FOK\n* **belowPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **belowPegOffsetType**: PRICE_LEVEL\n* **workingType**: LIMIT | LIMIT_MAKER\n* **workingPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **workingPegOffsetType**: PRICE_LEVEL\n* **pendingPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingPegOffsetType**: PRICE_LEVEL\n* **pendingAboveType**: STOP_LOSS_LIMIT | STOP_LOSS | LIMIT_MAKER | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **pendingAbovePegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingAbovePegOffsetType**: PRICE_LEVEL\n* **pendingBelowType**: STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **pendingBelowPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingBelowPegOffsetType**: PRICE_LEVEL\n* **workingSide**: BUY | SELL\n* **workingTimeInForce**: GTC | IOC | FOK\n* **pendingType**: LIMIT | MARKET | STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT | LIMIT_MAKER\n* **pendingSide**: BUY | SELL\n* **pendingTimeInForce**: GTC | IOC | FOK\n* **pendingAboveTimeInForce**: GTC | IOC | FOK\n* **pendingBelowTimeInForce**: GTC | IOC | FOK\n\n\n## Authentication\n\nFor endpoints that require authentication, you will need to provide Binance API credentials.\nRequired credentials:\n\n* apiKey: Your Binance API key (for header)\n* secretKey: Your Binance API secret (for signing)\n\nBase URLs:\n* Mainnet: https:\u002F\u002Fapi.binance.com\n* Testnet: https:\u002F\u002Ftestnet.binance.vision\n* Demo: https:\u002F\u002Fdemo-api.binance.com\n\n## Security\n\n### Share Credentials\n\nUsers can provide Binance API credentials in different ways. The agent will try to retrieve automatically with the two first ways the credentials, but users can also explicitly tell the agent that they have set the credentials or stored them in a `.env` file, and the agent should re-read that file when they do. The agent can also make http requests with the two first methods without user confirmation.\n\n1. **Environment variables**\n\nSearch for the following specific variables only (never dump the full environment):\n\n**Authorized environment variables**\n- Mainnet: `BINANCE_API_KEY` and `BINANCE_SECRET_KEY`\n- Testnet: `BINANCE_TESTNET_API_KEY` and `BINANCE_TESTNET_SECRET_KEY`\n- Demo: `BINANCE_DEMO_API_KEY` and `BINANCE_DEMO_SECRET_KEY`\n\nRead and use in a single exec call so the raw key never enters the agent's context:\n```bash\nKEY=\"$BINANCE_API_KEY\"\nSECRET=\"$BINANCE_SECRET_KEY\"\n\nresponse=$(curl -s -X GET \"$URL\" \\\n  -H \"X-MBX-APIKEY: $KEY\" \\\n  --data-urlencode \"param1=value1\")\n\necho \"$response\"\n```\n\nEnvironment variables must be set before OpenClaw starts. They are inherited at process startup and cannot be injected into a running instance. If you need to add or update credentials without restarting, use a secrets file (see option 2).\n\n2. **Secrets file (.env)**\n\nCheck `~\u002F.openclaw\u002Fsecrets.env` , `~\u002F.env`, or a `.env` file in the workspace. Read individual keys with `grep`, never source the full file:\n```bash\n# Try all credential locations in order\nAPI_KEY=$(grep '^BINANCE_API_KEY=' ~\u002F.openclaw\u002Fsecrets.env 2>\u002Fdev\u002Fnull | cut -d= -f2-)\nSECRET_KEY=$(grep '^BINANCE_SECRET_KEY=' ~\u002F.openclaw\u002Fsecrets.env 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n\n# Fallback: search .env in known directories (KEY=VALUE then raw line format)\nfor dir in ~\u002F.openclaw ~; do\n  [ -n \"$API_KEY\" ] && break\n  env_file=\"$dir\u002F.env\"\n  [ -f \"$env_file\" ] || continue\n\n  # Read first two lines\n  line1=$(sed -n '1p' \"$env_file\")\n  line2=$(sed -n '2p' \"$env_file\")\n\n  # Check if lines contain '=' indicating KEY=VALUE format\n  if [[ \"$line1\" == *=* && \"$line2\" == *=* ]]; then\n    API_KEY=$(grep '^BINANCE_API_KEY=' \"$env_file\" 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n    SECRET_KEY=$(grep '^BINANCE_SECRET_KEY=' \"$env_file\" 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n  else\n    # Treat lines as raw values\n    API_KEY=\"$line1\"\n    SECRET_KEY=\"$line2\"\n  fi\ndone\n```\n\nThis file can be updated at any time without restarting OpenClaw, keys are read fresh on each invocation. Users can tell you the variables are now set or stored in a `.env` file, and you should re-read that file when they do.\n\n3. **Inline file**\n\nSending a file where the content is in the following format:\n\n```bash\nabc123...xyz\nsecret123...key\n```\n\n* Never run `printenv`, `env`, `export`, or set without a specific variable name\n* Never run `grep` on `env` files without anchoring to a specific key ('`^VARNAME='`)\n* Never source a secrets file into the shell environment (`source .env` or `. .env`)\n* Only read credentials explicitly needed for the current task\n* Never echo or log raw credentials in output or replies\n* Never commit `TOOLS.md` to version control if it contains real credentials — add it to `.gitignore`\n\n### Never Disclose API Key and Secret\n\nNever disclose the location of the API key and secret file.\n\nNever send the API key and secret to any website other than Mainnet and Testnet.\n\n### Never Display Full Secrets\n\nWhen showing credentials to users:\n- **API Key:** Show first 5 + last 4 characters: `su1Qc...8akf`\n- **Secret Key:** Always mask, show only last 5: `***...aws1`\n\nExample response when asked for credentials:\nAccount: main\nAPI Key: su1Qc...8akf\nSecret: ***...aws1\nEnvironment: Mainnet\n\n### Listing Accounts\n\nWhen listing accounts, show names and environment only — never keys:\nBinance Accounts:\n* main (Mainnet\u002FTestnet)\n* testnet-dev (Testnet)\n* futures-keys (Mainnet)\n\n### Transactions in Mainnet\n\nWhen performing transactions in mainnet, always confirm with the user before proceeding by asking them to write \"CONFIRM\" to proceed.\n\n---\n\n## Binance Accounts\n\n### main\n- API Key: your_mainnet_api_key\n- Secret: your_mainnet_secret\n- Testnet: false \n\n### testnet-dev\n- API Key: your_testnet_api_key\n- Secret: your_testnet_secret\n- Testnet: true\n\n### TOOLS.md Structure\n\n```bash\n## Binance Accounts\n\n### main\n- API Key: abc123...xyz\n- Secret: secret123...key\n- Testnet: false\n- Description: Primary trading account\n\n### testnet-dev\n- API Key: test456...abc\n- Secret: testsecret...xyz\n- Testnet: true\n- Description: Development\u002Ftesting\n\n### futures-keys\n- API Key: futures789...def\n- Secret: futuressecret...uvw\n- Testnet: false\n- Description: Futures trading account\n```\n\n## Agent Behavior\n\n1. Credentials requested: Mask secrets (show last 5 chars only)\n2. Listing accounts: Show names and environment, never keys\n3. Account selection: Ask if ambiguous, default to main\n4. When doing a transaction in mainnet, confirm with user before by asking to write \"CONFIRM\" to proceed\n5. New credentials: Prompt for name, environment, signing mode\n6. When a request requires signing, if the request isn't an order and the API keys aren't described as `mainnet`, `testnet` or `demo` keys, try to make request to the different base urls and see if it works, without asking the user. If it works, store the keys with the corresponding environment.\n\n## Adding New Accounts\n\nWhen user provides new credentials by Inline file or message:\n\n* Ask for account name\n* Ask: Mainnet, Testnet or Demo\n* Store in `TOOLS.md` with masked display confirmation \n\n## Signing Requests\n\nFor trading endpoints that require a signature:\n\n1. **Detect key type first**, inspect the secret key format before signing.\n2. Build query string with all parameters, including the timestamp (Unix ms).\n3. Percent-encode the parameters using UTF-8 according to RFC 3986.\n4. Sign query string with secretKey using HMAC SHA256, RSA, or Ed25519 (depending on the account configuration).\n5. Append signature to query string.\n6. Include `X-MBX-APIKEY` header.\n\nOtherwise, do not perform steps 4–6.\n\n## New Client Order ID \n\nFor endpoints that include the `newClientOrderId` parameter, the value must always start with `agent-`. If the parameter is not provided, `agent-` followed by 18 random alphanumeric characters will be generated automatically. If a value is provided, it will be prefixed with `agent-`\n\nExample: `agent-1a2b3c4d5e6f7g8h9i`\n\n## User Agent Header\n\nInclude `User-Agent` header with the following string: `binance-spot\u002F1.1.0 (Skill)`\n\nSee [`references\u002Fauthentication.md`](.\u002Freferences\u002Fauthentication.md) for implementation details.\n","# Binance Spot Skill\n\nSpot request on Binance using authenticated API endpoints. Requires API key and secret key for certain endpoints. Return the result in JSON format.\n\n## Quick Reference\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002FexchangeInfo` (GET) | Exchange information | None | symbol, symbols, permissions, showPermissionSets, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fping` (GET) | Test connectivity | None | None | No |\n| `\u002Fapi\u002Fv3\u002Ftime` (GET) | Check server time | None | None | No |\n| `\u002Fapi\u002Fv3\u002FaggTrades` (GET) | Compressed\u002FAggregate trades list | symbol | fromId, startTime, endTime, limit | No |\n| `\u002Fapi\u002Fv3\u002FavgPrice` (GET) | Current average price | symbol | None | No |\n| `\u002Fapi\u002Fv3\u002Fdepth` (GET) | Order book | symbol | limit, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002FhistoricalTrades` (GET) | Old trade lookup | symbol | limit, fromId | No |\n| `\u002Fapi\u002Fv3\u002Fklines` (GET) | Kline\u002FCandlestick data | symbol, interval | startTime, endTime, timeZone, limit | No |\n| `\u002Fapi\u002Fv3\u002Fticker` (GET) | Rolling window price change statistics | None | symbol, symbols, windowSize, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002F24hr` (GET) | 24hr ticker price change statistics | None | symbol, symbols, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002FbookTicker` (GET) | Symbol order book ticker | None | symbol, symbols, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002Fprice` (GET) | Symbol price ticker | None | symbol, symbols, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Fticker\u002FtradingDay` (GET) | Trading Day Ticker | None | symbol, symbols, timeZone, type, symbolStatus | No |\n| `\u002Fapi\u002Fv3\u002Ftrades` (GET) | Recent trades list | symbol | limit | No |\n| `\u002Fapi\u002Fv3\u002FuiKlines` (GET) | UIKlines | symbol, interval | startTime, endTime, timeZone, limit | No |\n| `\u002Fapi\u002Fv3\u002FopenOrders` (DELETE) | Cancel All Open Orders on a Symbol | symbol | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FopenOrders` (GET) | Current open orders | None | symbol, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (POST) | New order | symbol, side, type | timeInForce, quantity, quoteOrderQty, price, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (DELETE) | Cancel order | symbol | orderId, origClientOrderId, newClientOrderId, cancelRestrictions, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder` (GET) | Query order | symbol | orderId, origClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Famend\u002FkeepPriority` (PUT) | Order Amend Keep Priority | symbol, newQty | orderId, origClientOrderId, newClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002FcancelReplace` (POST) | Cancel an Existing Order and Send a New Order | symbol, side, type, cancelReplaceMode | timeInForce, quantity, quoteOrderQty, price, cancelNewClientOrderId, cancelOrigClientOrderId, cancelOrderId, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, cancelRestrictions, orderRateLimitExceededMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Foco` (POST) | New OCO - Deprecated | symbol, side, quantity, price, stopPrice | listClientOrderId, limitClientOrderId, limitStrategyId, limitStrategyType, limitIcebergQty, trailingDelta, stopClientOrderId, stopStrategyId, stopStrategyType, stopLimitPrice, stopIcebergQty, stopLimitTimeInForce, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Ftest` (POST) | Test new order | symbol, side, type | computeCommissionRates, timeInForce, quantity, quoteOrderQty, price, newClientOrderId, strategyId, strategyType, stopPrice, trailingDelta, icebergQty, newOrderRespType, selfTradePreventionMode, pegPriceType, pegOffsetValue, pegOffsetType, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList` (DELETE) | Cancel Order list | symbol | orderListId, listClientOrderId, newClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList` (GET) | Query Order list | None | orderListId, origClientOrderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Foco` (POST) | New Order list - OCO | symbol, side, quantity, aboveType, belowType | listClientOrderId, aboveClientOrderId, aboveIcebergQty, abovePrice, aboveStopPrice, aboveTrailingDelta, aboveTimeInForce, aboveStrategyId, aboveStrategyType, abovePegPriceType, abovePegOffsetType, abovePegOffsetValue, belowClientOrderId, belowIcebergQty, belowPrice, belowStopPrice, belowTrailingDelta, belowTimeInForce, belowStrategyId, belowStrategyType, belowPegPriceType, belowPegOffsetType, belowPegOffsetValue, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fopo` (POST) | New Order List - OPO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingType, pendingSide | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingClientOrderId, pendingPrice, pendingStopPrice, pendingTrailingDelta, pendingIcebergQty, pendingTimeInForce, pendingStrategyId, pendingStrategyType, pendingPegPriceType, pendingPegOffsetType, pendingPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fopoco` (POST) | New Order List - OPOCO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingSide, pendingAboveType | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingAboveClientOrderId, pendingAbovePrice, pendingAboveStopPrice, pendingAboveTrailingDelta, pendingAboveIcebergQty, pendingAboveTimeInForce, pendingAboveStrategyId, pendingAboveStrategyType, pendingAbovePegPriceType, pendingAbovePegOffsetType, pendingAbovePegOffsetValue, pendingBelowType, pendingBelowClientOrderId, pendingBelowPrice, pendingBelowStopPrice, pendingBelowTrailingDelta, pendingBelowIcebergQty, pendingBelowTimeInForce, pendingBelowStrategyId, pendingBelowStrategyType, pendingBelowPegPriceType, pendingBelowPegOffsetType, pendingBelowPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Foto` (POST) | New Order list - OTO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingType, pendingSide, pendingQuantity | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingClientOrderId, pendingPrice, pendingStopPrice, pendingTrailingDelta, pendingIcebergQty, pendingTimeInForce, pendingStrategyId, pendingStrategyType, pendingPegPriceType, pendingPegOffsetType, pendingPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002ForderList\u002Fotoco` (POST) | New Order list - OTOCO | symbol, workingType, workingSide, workingPrice, workingQuantity, pendingSide, pendingQuantity, pendingAboveType | listClientOrderId, newOrderRespType, selfTradePreventionMode, workingClientOrderId, workingIcebergQty, workingTimeInForce, workingStrategyId, workingStrategyType, workingPegPriceType, workingPegOffsetType, workingPegOffsetValue, pendingAboveClientOrderId, pendingAbovePrice, pendingAboveStopPrice, pendingAboveTrailingDelta, pendingAboveIcebergQty, pendingAboveTimeInForce, pendingAboveStrategyId, pendingAboveStrategyType, pendingAbovePegPriceType, pendingAbovePegOffsetType, pendingAbovePegOffsetValue, pendingBelowType, pendingBelowClientOrderId, pendingBelowPrice, pendingBelowStopPrice, pendingBelowTrailingDelta, pendingBelowIcebergQty, pendingBelowTimeInForce, pendingBelowStrategyId, pendingBelowStrategyType, pendingBelowPegPriceType, pendingBelowPegOffsetType, pendingBelowPegOffsetValue, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Fsor\u002Forder` (POST) | New order using SOR | symbol, side, type, quantity | timeInForce, price, newClientOrderId, strategyId, strategyType, icebergQty, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Fsor\u002Forder\u002Ftest` (POST) | Test new order using SOR | symbol, side, type, quantity | computeCommissionRates, timeInForce, price, newClientOrderId, strategyId, strategyType, icebergQty, newOrderRespType, selfTradePreventionMode, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Faccount` (GET) | Account information | None | omitZeroBalances, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Faccount\u002Fcommission` (GET) | Query Commission Rates | symbol | None | Yes |\n| `\u002Fapi\u002Fv3\u002FallOrderList` (GET) | Query all Order lists | None | fromId, startTime, endTime, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FallOrders` (GET) | All orders | symbol | orderId, startTime, endTime, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyAllocations` (GET) | Query Allocations | symbol | startTime, endTime, fromAllocationId, limit, orderId, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyFilters` (GET) | Query relevant filters | symbol | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyPreventedMatches` (GET) | Query Prevented Matches | symbol | preventedMatchId, orderId, fromPreventedMatchId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FmyTrades` (GET) | Account trade list | symbol | orderId, startTime, endTime, fromId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FopenOrderList` (GET) | Query Open Order lists | None | recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002Forder\u002Famendments` (GET) | Query Order Amendments | symbol, orderId | fromExecutionId, limit, recvWindow | Yes |\n| `\u002Fapi\u002Fv3\u002FrateLimit\u002Forder` (GET) | Query Unfilled Order Count | None | recvWindow | Yes |\n\n---\n\n## Parameters\n\n### Common Parameters\n\n* **symbol**: Symbol to query (e.g., BNBUSDT)\n* **symbols**: List of symbols to query\n* **permissions**: List of permissions to query\n* **showPermissionSets**: Controls whether the content of the `permissionSets` field is populated or not. Defaults to `true` (e.g., true)\n* **symbol**:  (e.g., BNBUSDT)\n* **fromId**: ID to get aggregate trades from INCLUSIVE. (e.g., 1)\n* **startTime**: Timestamp in ms to get aggregate trades from INCLUSIVE. (e.g., 1735693200000)\n* **endTime**: Timestamp in ms to get aggregate trades until INCLUSIVE. (e.g., 1735693200000)\n* **limit**: Default: 500; Maximum: 1000. (e.g., 500)\n* **timeZone**: Default: 0 (UTC)\n* **recvWindow**: The value cannot be greater than `60000`.   Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified. (e.g., 5000)\n* **timestamp**:  (e.g., 1)\n* **quantity**:  (e.g., 1)\n* **quoteOrderQty**:  (e.g., 1)\n* **price**:  (e.g., 400)\n* **newClientOrderId**: A unique id among open orders. Automatically generated if not sent.  Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.\n* **strategyId**:  (e.g., 1)\n* **strategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **stopPrice**: Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders. (e.g., 1)\n* **trailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **icebergQty**: Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order. (e.g., 1)\n* **pegOffsetValue**: Priceleveltopegthepriceto(max:100). SeePeggedOrdersInfo (e.g., 1)\n* **orderId**:  (e.g., 1)\n* **origClientOrderId**: \n* **newQty**: `newQty` must be greater than 0 and less than the order's quantity. (e.g., 1)\n* **cancelNewClientOrderId**: Used to uniquely identify this cancel. Automatically generated by default.\n* **cancelOrigClientOrderId**: Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent.  \u003C\u002Fbr> If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order.  \u003C\u002Fbr> If both conditions are not met the request will be rejected.\n* **cancelOrderId**: Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent.  \u003C\u002Fbr>If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order.  \u003C\u002Fbr>If both conditions are not met the request will be rejected. (e.g., 1)\n* **listClientOrderId**: A unique Id for the entire orderList\n* **quantity**:  (e.g., 1)\n* **limitClientOrderId**: A unique Id for the limit order\n* **price**:  (e.g., 1)\n* **limitStrategyId**:  (e.g., 1)\n* **limitStrategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **limitIcebergQty**: Used to make the `LIMIT_MAKER` leg an iceberg order. (e.g., 1)\n* **stopClientOrderId**: A unique Id for the stop loss\u002Fstop loss limit leg\n* **stopPrice**:  (e.g., 1)\n* **stopStrategyId**:  (e.g., 1)\n* **stopStrategyType**: The value cannot be less than `1000000`. (e.g., 1)\n* **stopLimitPrice**: If provided, `stopLimitTimeInForce` is required. (e.g., 1)\n* **stopIcebergQty**: Used with `STOP_LOSS_LIMIT` leg to make an iceberg order. (e.g., 1)\n* **computeCommissionRates**: Default: `false`   See Commissions FAQ to learn more.\n* **orderListId**: Either `orderListId` or `listClientOrderId` must be provided (e.g., 1)\n* **aboveClientOrderId**: Arbitrary unique ID among open orders for the above order. Automatically generated if not sent\n* **aboveIcebergQty**: Note that this can only be used if `aboveTimeInForce` is `GTC`. (e.g., 1)\n* **abovePrice**: Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **aboveStopPrice**: Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`.  Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified. (e.g., 1)\n* **aboveTrailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **aboveStrategyId**: Arbitrary numeric value identifying the above order within an order strategy. (e.g., 1)\n* **aboveStrategyType**: Arbitrary numeric value identifying the above order strategy.  Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **abovePegOffsetValue**:  (e.g., 1)\n* **belowClientOrderId**: Arbitrary unique ID among open orders for the below order. Automatically generated if not sent\n* **belowIcebergQty**: Note that this can only be used if `belowTimeInForce` is `GTC`. (e.g., 1)\n* **belowPrice**: Can be used if `belowType` is `STOP_LOSS_LIMIT`, `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **belowStopPrice**: Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT` or `TAKE_PROFIT_LIMIT`  Either belowStopPrice or belowTrailingDelta or both, must be specified. (e.g., 1)\n* **belowTrailingDelta**: See Trailing Stop order FAQ. (e.g., 1)\n* **belowStrategyId**: Arbitrary numeric value identifying the below order within an order strategy. (e.g., 1)\n* **belowStrategyType**: Arbitrary numeric value identifying the below order strategy.  Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **belowPegOffsetValue**:  (e.g., 1)\n* **workingClientOrderId**: Arbitrary unique ID among open orders for the working order. Automatically generated if not sent.\n* **workingPrice**:  (e.g., 1)\n* **workingQuantity**: Sets the quantity for the working order. (e.g., 1)\n* **workingIcebergQty**: This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`. (e.g., 1)\n* **workingStrategyId**: Arbitrary numeric value identifying the working order within an order strategy. (e.g., 1)\n* **workingStrategyType**: Arbitrary numeric value identifying the working order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **workingPegOffsetValue**:  (e.g., 1)\n* **pendingClientOrderId**: Arbitrary unique ID among open orders for the pending order. Automatically generated if not sent.\n* **pendingPrice**:  (e.g., 1)\n* **pendingStopPrice**:  (e.g., 1)\n* **pendingTrailingDelta**:  (e.g., 1)\n* **pendingIcebergQty**: This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingStrategyId**: Arbitrary numeric value identifying the pending order within an order strategy. (e.g., 1)\n* **pendingStrategyType**: Arbitrary numeric value identifying the pending order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingPegOffsetValue**:  (e.g., 1)\n* **pendingAboveClientOrderId**: Arbitrary unique ID among open orders for the pending above order. Automatically generated if not sent.\n* **pendingAbovePrice**: Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price. (e.g., 1)\n* **pendingAboveStopPrice**: Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT` (e.g., 1)\n* **pendingAboveTrailingDelta**: See Trailing Stop FAQ (e.g., 1)\n* **pendingAboveIcebergQty**: This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingAboveStrategyId**: Arbitrary numeric value identifying the pending above order within an order strategy. (e.g., 1)\n* **pendingAboveStrategyType**: Arbitrary numeric value identifying the pending above order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingAbovePegOffsetValue**:  (e.g., 1)\n* **pendingBelowClientOrderId**: Arbitrary unique ID among open orders for the pending below order. Automatically generated if not sent.\n* **pendingBelowPrice**: Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price (e.g., 1)\n* **pendingBelowStopPrice**: Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified. (e.g., 1)\n* **pendingBelowTrailingDelta**:  (e.g., 1)\n* **pendingBelowIcebergQty**: This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`. (e.g., 1)\n* **pendingBelowStrategyId**: Arbitrary numeric value identifying the pending below order within an order strategy. (e.g., 1)\n* **pendingBelowStrategyType**: Arbitrary numeric value identifying the pending below order strategy. Values smaller than 1000000 are reserved and cannot be used. (e.g., 1)\n* **pendingBelowPegOffsetValue**:  (e.g., 1)\n* **pendingQuantity**: Sets the quantity for the pending order. (e.g., 1)\n* **omitZeroBalances**: When set to `true`, emits only the non-zero balances of an account.  Default value: `false`\n* **fromAllocationId**:  (e.g., 1)\n* **timestamp**:  (e.g., 1)\n* **preventedMatchId**:  (e.g., 1)\n* **fromPreventedMatchId**:  (e.g., 1)\n* **orderId**:  (e.g., 1)\n* **fromExecutionId**:  (e.g., 1)\n* **limit**: Default:500; Maximum: 1000 (e.g., 500)\n\n\n### Enums\n\n* **interval**: 1s | 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 3d | 1w | 1M\n* **windowSize**: 1m | 2m | 3m | 4m | 5m | 6m | 7m | 8m | 9m | 10m | 11m | 12m | 13m | 14m | 15m | 16m | 17m | 18m | 19m | 20m | 21m | 22m | 23m | 24m | 25m | 26m | 27m | 28m | 29m | 30m | 31m | 32m | 33m | 34m | 35m | 36m | 37m | 38m | 39m | 40m | 41m | 42m | 43m | 44m | 45m | 46m | 47m | 48m | 49m | 50m | 51m | 52m | 53m | 54m | 55m | 56m | 57m | 58m | 59m | 1h | 2h | 3h | 4h | 5h | 6h | 7h | 8h | 9h | 10h | 11h | 12h | 13h | 14h | 15h | 16h | 17h | 18h | 19h | 20h | 21h | 22h | 23h | 1d | 2d | 3d | 4d | 5d | 6d\n* **type**: FULL | MINI\n* **type**: MARKET | LIMIT | STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT | LIMIT_MAKER | NON_REPRESENTABLE\n* **selfTradePreventionMode**: NONE | EXPIRE_TAKER | EXPIRE_MAKER | EXPIRE_BOTH | DECREMENT | NON_REPRESENTABLE\n* **symbolStatus**: TRADING | END_OF_DAY | HALT | BREAK | NON_REPRESENTABLE\n* **timeInForce**: GTC | IOC | FOK | NON_REPRESENTABLE\n* **pegPriceType**: PRIMARY_PEG | MARKET_PEG | NON_REPRESENTABLE\n* **pegOffsetType**: PRICE_LEVEL | NON_REPRESENTABLE\n* **newOrderRespType**: ACK | RESULT | FULL | MARKET | LIMIT\n* **cancelRestrictions**: ONLY_NEW | NEW | ONLY_PARTIALLY_FILLED | PARTIALLY_FILLED\n* **cancelReplaceMode**: STOP_ON_FAILURE | ALLOW_FAILURE\n* **orderRateLimitExceededMode**: DO_NOTHING | CANCEL_ONLY\n* **stopLimitTimeInForce**: GTC | IOC | FOK\n* **side**: BUY | SELL\n* **aboveType**: STOP_LOSS_LIMIT | STOP_LOSS | LIMIT_MAKER | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **aboveTimeInForce**: GTC | IOC | FOK\n* **abovePegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **abovePegOffsetType**: PRICE_LEVEL\n* **belowType**: STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **belowTimeInForce**: GTC | IOC | FOK\n* **belowPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **belowPegOffsetType**: PRICE_LEVEL\n* **workingType**: LIMIT | LIMIT_MAKER\n* **workingPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **workingPegOffsetType**: PRICE_LEVEL\n* **pendingPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingPegOffsetType**: PRICE_LEVEL\n* **pendingAboveType**: STOP_LOSS_LIMIT | STOP_LOSS | LIMIT_MAKER | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **pendingAbovePegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingAbovePegOffsetType**: PRICE_LEVEL\n* **pendingBelowType**: STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT\n* **pendingBelowPegPriceType**: PRIMARY_PEG | MARKET_PEG\n* **pendingBelowPegOffsetType**: PRICE_LEVEL\n* **workingSide**: BUY | SELL\n* **workingTimeInForce**: GTC | IOC | FOK\n* **pendingType**: LIMIT | MARKET | STOP_LOSS | STOP_LOSS_LIMIT | TAKE_PROFIT | TAKE_PROFIT_LIMIT | LIMIT_MAKER\n* **pendingSide**: BUY | SELL\n* **pendingTimeInForce**: GTC | IOC | FOK\n* **pendingAboveTimeInForce**: GTC | IOC | FOK\n* **pendingBelowTimeInForce**: GTC | IOC | FOK\n\n\n## Authentication\n\nFor endpoints that require authentication, you will need to provide Binance API credentials.\nRequired credentials:\n\n* apiKey: Your Binance API key (for header)\n* secretKey: Your Binance API secret (for signing)\n\nBase URLs:\n* Mainnet: https:\u002F\u002Fapi.binance.com\n* Testnet: https:\u002F\u002Ftestnet.binance.vision\n* Demo: https:\u002F\u002Fdemo-api.binance.com\n\n## Security\n\n### Share Credentials\n\nUsers can provide Binance API credentials in different ways. The agent will try to retrieve automatically with the two first ways the credentials, but users can also explicitly tell the agent that they have set the credentials or stored them in a `.env` file, and the agent should re-read that file when they do. The agent can also make http requests with the two first methods without user confirmation.\n\n1. **Environment variables**\n\nSearch for the following specific variables only (never dump the full environment):\n\n**Authorized environment variables**\n- Mainnet: `BINANCE_API_KEY` and `BINANCE_SECRET_KEY`\n- Testnet: `BINANCE_TESTNET_API_KEY` and `BINANCE_TESTNET_SECRET_KEY`\n- Demo: `BINANCE_DEMO_API_KEY` and `BINANCE_DEMO_SECRET_KEY`\n\nRead and use in a single exec call so the raw key never enters the agent's context:\n```bash\nKEY=\"$BINANCE_API_KEY\"\nSECRET=\"$BINANCE_SECRET_KEY\"\n\nresponse=$(curl -s -X GET \"$URL\" \\\n  -H \"X-MBX-APIKEY: $KEY\" \\\n  --data-urlencode \"param1=value1\")\n\necho \"$response\"\n```\n\nEnvironment variables must be set before OpenClaw starts. They are inherited at process startup and cannot be injected into a running instance. If you need to add or update credentials without restarting, use a secrets file (see option 2).\n\n2. **Secrets file (.env)**\n\nCheck `~\u002F.openclaw\u002Fsecrets.env` , `~\u002F.env`, or a `.env` file in the workspace. Read individual keys with `grep`, never source the full file:\n```bash\n# Try all credential locations in order\nAPI_KEY=$(grep '^BINANCE_API_KEY=' ~\u002F.openclaw\u002Fsecrets.env 2>\u002Fdev\u002Fnull | cut -d= -f2-)\nSECRET_KEY=$(grep '^BINANCE_SECRET_KEY=' ~\u002F.openclaw\u002Fsecrets.env 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n\n# Fallback: search .env in known directories (KEY=VALUE then raw line format)\nfor dir in ~\u002F.openclaw ~; do\n  [ -n \"$API_KEY\" ] && break\n  env_file=\"$dir\u002F.env\"\n  [ -f \"$env_file\" ] || continue\n\n  # Read first two lines\n  line1=$(sed -n '1p' \"$env_file\")\n  line2=$(sed -n '2p' \"$env_file\")\n\n  # Check if lines contain '=' indicating KEY=VALUE format\n  if [[ \"$line1\" == *=* && \"$line2\" == *=* ]]; then\n    API_KEY=$(grep '^BINANCE_API_KEY=' \"$env_file\" 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n    SECRET_KEY=$(grep '^BINANCE_SECRET_KEY=' \"$env_file\" 2>\u002Fdev\u002Fnull | cut -d= -f2-)\n  else\n    # Treat lines as raw values\n    API_KEY=\"$line1\"\n    SECRET_KEY=\"$line2\"\n  fi\ndone\n```\n\nThis file can be updated at any time without restarting OpenClaw, keys are read fresh on each invocation. Users can tell you the variables are now set or stored in a `.env` file, and you should re-read that file when they do.\n\n3. **Inline file**\n\nSending a file where the content is in the following format:\n\n```bash\nabc123...xyz\nsecret123...key\n```\n\n* Never run `printenv`, `env`, `export`, or set without a specific variable name\n* Never run `grep` on `env` files without anchoring to a specific key ('`^VARNAME='`)\n* Never source a secrets file into the shell environment (`source .env` or `. .env`)\n* Only read credentials explicitly needed for the current task\n* Never echo or log raw credentials in output or replies\n* Never commit `TOOLS.md` to version control if it contains real credentials — add it to `.gitignore`\n\n### Never Disclose API Key and Secret\n\nNever disclose the location of the API key and secret file.\n\nNever send the API key and secret to any website other than Mainnet and Testnet.\n\n### Never Display Full Secrets\n\nWhen showing credentials to users:\n- **API Key:** Show first 5 + last 4 characters: `su1Qc...8akf`\n- **Secret Key:** Always mask, show only last 5: `***...aws1`\n\nExample response when asked for credentials:\nAccount: main\nAPI Key: su1Qc...8akf\nSecret: ***...aws1\nEnvironment: Mainnet\n\n### Listing Accounts\n\nWhen listing accounts, show names and environment only — never keys:\nBinance Accounts:\n* main (Mainnet\u002FTestnet)\n* testnet-dev (Testnet)\n* futures-keys (Mainnet)\n\n### Transactions in Mainnet\n\nWhen performing transactions in mainnet, always confirm with the user before proceeding by asking them to write \"CONFIRM\" to proceed.\n\n---\n\n## Binance Accounts\n\n### main\n- API Key: your_mainnet_api_key\n- Secret: your_mainnet_secret\n- Testnet: false \n\n### testnet-dev\n- API Key: your_testnet_api_key\n- Secret: your_testnet_secret\n- Testnet: true\n\n### TOOLS.md Structure\n\n```bash\n## Binance Accounts\n\n### main\n- API Key: abc123...xyz\n- Secret: secret123...key\n- Testnet: false\n- Description: Primary trading account\n\n### testnet-dev\n- API Key: test456...abc\n- Secret: testsecret...xyz\n- Testnet: true\n- Description: Development\u002Ftesting\n\n### futures-keys\n- API Key: futures789...def\n- Secret: futuressecret...uvw\n- Testnet: false\n- Description: Futures trading account\n```\n\n## Agent Behavior\n\n1. Credentials requested: Mask secrets (show last 5 chars only)\n2. Listing accounts: Show names and environment, never keys\n3. Account selection: Ask if ambiguous, default to main\n4. When doing a transaction in mainnet, confirm with user before by asking to write \"CONFIRM\" to proceed\n5. New credentials: Prompt for name, environment, signing mode\n6. When a request requires signing, if the request isn't an order and the API keys aren't described as `mainnet`, `testnet` or `demo` keys, try to make request to the different base urls and see if it works, without asking the user. If it works, store the keys with the corresponding environment.\n\n## Adding New Accounts\n\nWhen user provides new credentials by Inline file or message:\n\n* Ask for account name\n* Ask: Mainnet, Testnet or Demo\n* Store in `TOOLS.md` with masked display confirmation \n\n## Signing Requests\n\nFor trading endpoints that require a signature:\n\n1. **Detect key type first**, inspect the secret key format before signing.\n2. Build query string with all parameters, including the timestamp (Unix ms).\n3. Percent-encode the parameters using UTF-8 according to RFC 3986.\n4. Sign query string with secretKey using HMAC SHA256, RSA, or Ed25519 (depending on the account configuration).\n5. Append signature to query string.\n6. Include `X-MBX-APIKEY` header.\n\nOtherwise, do not perform steps 4–6.\n\n## New Client Order ID \n\nFor endpoints that include the `newClientOrderId` parameter, the value must always start with `agent-`. If the parameter is not provided, `agent-` followed by 18 random alphanumeric characters will be generated automatically. If a value is provided, it will be prefixed with `agent-`\n\nExample: `agent-1a2b3c4d5e6f7g8h9i`\n\n## User Agent Header\n\nInclude `User-Agent` header with the following string: `binance-spot\u002F1.1.0 (Skill)`\n\nSee [`references\u002Fauthentication.md`](.\u002Freferences\u002Fauthentication.md) for implementation details.\n",{"name":5,"license":15,"metadata":37,"description":7},{"author":38,"version":39,"openclaw":40},"Binance","1.1.0",{"homepage":41,"requires":42,"skillKey":45},"https:\u002F\u002Fgithub.com\u002Fbinance\u002Fbinance-skills-hub\u002Ftree\u002Fmain\u002Fskills\u002Fbinance\u002Fspot\u002FSKILL.md",{"bins":43},[26,24,44],"date","binance-spot","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fexchanges\u002Fbinance-official-spot",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill spot",{"tool":60,"command":61},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill spot",{"tool":63,"command":64},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill spot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FSKILL.md",true,[68,74,79,83,87],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"CHANGELOG.md","REFERENCE","参考文档",400,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FCHANGELOG.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":16},"LICENSE.md","LICENSE","许可证",1063,{"path":80,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fauthentication.md",4210,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002Freferences\u002Fauthentication.md",{"path":84,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":85,"sourceHtmlUrl":86},"SOURCE.md",163,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FSOURCE.md",{"path":88,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":89,"sourceHtmlUrl":90},"TRUST.auto.yaml",2227,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fbinance-official-spot\u002FTRUST.auto.yaml",[92,101,109,117,125,133],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":100},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":100},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":100},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":100},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":100},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":100},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]