Binance API
Operate Binance Spot APIs through safe REST, WebSocket, and SDK workflows with signed requests, rate-limit control, and testnet-first execution.
Why use this skill?
Securely manage Binance Spot trading with OpenClaw. Features automated signing, rate-limit management, and mandatory testnet-first workflows for safe crypto automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/binanceWhat This Skill Does
The Binance API skill for OpenClaw empowers AI agents to securely interact with the Binance Spot exchange ecosystem. It acts as a specialized wrapper for REST, WebSocket, and SDK workflows, ensuring that all operations—from market data analysis to trade execution—are performed with rigorous safety protocols. The skill handles the complexities of HMAC-SHA256 request signing, server time synchronization, and parameter serialization. It is designed to be self-documenting and stateful, utilizing a local ~/binance/ directory to track symbol filters, trade history, and previous incident resolutions. By enforcing a testnet-first policy, it allows developers and automated agents to validate strategies and order payloads without risking real capital, ensuring that every request meets strict exchange requirements before hitting production servers.
Installation
To integrate this skill, use the command: clawhub install openclaw/skills/skills/ivangdavila/binance. Ensure your system has curl, openssl, and jq installed. You must configure your BINANCE_API_KEY and BINANCE_API_SECRET in your local environment variables—never embed these in code. Initialize your environment by reading the setup.md file located within the installation directory.
Use Cases
- Automated Trading: Execute complex buy/sell orders that automatically account for
PRICE_FILTER,LOT_SIZE, andMIN_NOTIONALconstraints. - Market Analysis: Stream real-time price updates via WebSockets for low-latency observation.
- Portfolio Monitoring: Fetch balance snapshots and track order fills through event-driven reconciliation.
- Risk Mitigation: Use the testnet environment to debug new trading logic and payload formatting without exposing funds to actual market volatility.
Example Prompts
- "Check the current
exchangeInfofor BTCUSDT and tell me if a 0.001 BTC order meets theLOT_SIZErequirements." - "Run a test order in the Binance Testnet for 100 USDT worth of BNB to verify my current API signing logic."
- "Sync the server time and pull my last 5 order execution reports from the account history."
Tips & Limitations
- Always Start in Testnet: The agent is programmed to prioritize testnet environments. Only switch to production after explicit user authorization.
- Respect Rate Limits: Always monitor HTTP headers for rate limit consumption. The agent will automatically back off when 429 or 418 status codes are detected.
- Safety First: Treat all
POSTrequests as provisional. Use the reconciliation workflow to confirm state against theexecutionReportstream. - Environment Sync: Keep your
~/binance/directory updated. If you experience failures, check theincidents.mdfile to see if similar errors have been recorded and resolved previously.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-binance": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.