{"id":"2d5c3b18-5cc6-49b6-a580-bd8bed4fcb18","slug":"binance-api-skill","kind":"skill","name":"binance-api-skill","summary":"Unofficial Codex/OpenAI skill for Binance Spot REST API: official docs, endpoints, signing, rate limits, filters, errors, and Testnet safety.","owner":"dd3ok","repoUrl":"https://github.com/dd3ok/binance-api-skill","license":"MIT","licenseTier":"permissive","trust":"community","stars":1,"match":null,"fewStars":true,"format":"skill","createdAt":"2026-05-11T00:25:11.000Z","addedAt":"2026-10-21T12:50:57.759Z","logoUrl":"https://avatars.githubusercontent.com/u/15044917?v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["data-analytics"],"tags":["api-docs","binance","binance-api","binance-spot","crypto-api","openai-skill","trading-api","spot-rest-api"],"runtime":"binary","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-23T05:24:11.457Z","sample":false,"url":"https://conduits.dev/tools/binance-api-skill","language":"Python","transports":["stdio"],"install":{},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"# Binance API Skill\n\nUnofficial Codex/OpenAI skill for Binance Spot REST API work. This repository packages a `SKILL.md`, focused references, and small helper scripts so coding agents can implement or debug Binance Spot REST `/api/*` calls with official Binance docs, endpoint routing, signed requests, API keys, HMAC/RSA/Ed25519 signing, `recvWindow`, filters, request weights, rate limits, errors, and Testnet safety in mind.\n\nThis is not an official Binance project and does not provide financial advice.\n\n## Scope\n\n- Covered: Binance Spot REST `/api/*`, especially `/api/v3` market data, signed account endpoints, order endpoints, filters, errors, and Spot Testnet.\n- Not covered: Futures `/fapi`, Delivery `/dapi`, Margin, Wallet `/sapi`, WebSocket APIs, FIX, or SBE. The skill tells agents not to adapt Spot REST rules to those APIs.\n- Source of truth: official Binance documentation and runtime `GET /api/v3/exchangeInfo`; local references are routing notes.\n\n## Install\n\nClone this repository into your Codex skills directory:\n\n```bash\nmkdir -p \"${CODEX_HOME:-$HOME/.codex}/skills\"\ngit clone https://github.com/dd3ok/binance-api-skill.git \\\n  \"${CODEX_HOME:-$HOME/.codex}/skills/binance-api-skill\"\n```\n\nRestart Codex after installing so the skill can be discovered.\n\nThis repository root is intentionally the installable Codex skill package. Runtime skill files are `SKILL.md`, `agents/openai.yaml`, `references/`, and `scripts/`; `README.md` and `LICENSE` are repository-facing files for public GitHub distribution.\n\n## Usage\n\nExample prompt:\n\n```text\nUse $binance-api-skill to implement BTCUSDT 1h klines with official Binance docs.\n```\n\nGood pressure prompts:\n\n- `Implement BTCUSDT 1h klines in Python.`\n- `Why am I getting -1022 invalid signature?`\n- `I got -1007 after POST /api/v3/order. Should I retry?`\n- `Use /fapi/v1/order for Binance futures.`\n- `Place a live BTCUSDT market buy order.`\n\nExpected behavior: the agent should verify official docs for exact behavior, prefer public market data when possible, refuse or gate live trading, avoid secret exposure, and reject non-Spot REST scope instead of translating Spot rules to other Binance APIs.\n\n## Contents\n\n- `SKILL.md`: trigger metadata, workflow, safety rules, and response checklist.\n- `references/index.md`: task-to-reference routing.\n- `references/endpoints.md`: compact `/api/v3` endpoint discovery snapshot.\n- `references/*.md`: focused notes for signing, market data, trading, account endpoints, filters, errors, limits, and Testnet.\n- `scripts/extract_official_section.py`: prints one section from official Binance Spot docs.\n- `scripts/verify_hmac_signature.py`: local HMAC payload self-test and non-secret test helper.\n- `evals/prompts.md`: manual pressure prompts for maintainers.\n\n## Official Sources\n\n- Binance Spot REST docs: https://developers.binance.com/docs/binance-spot-api-docs/rest-api\n- Official Binance Spot API docs repo: https://github.com/binance/binance-spot-api-docs\n- Binance developer forum: https://dev.binance.vision\n- Binance API FAQ/rate-limit/WAF context: https://www.binance.com/en/support/faq/detail/360004492232\n\n## License\n\nMIT. This license applies to this repository's original skill files and helper scripts, not to Binance documentation, trademarks, or services.\n"}