/binance-spot-api-docs

Official Documentation for the Binance Spot APIs and Streams

Official Documentation for the Binance APIs and Streams.

  • Official Announcements regarding changes, downtime, etc. to the API and Streams will be reported here: https://t.me/binance_api_announcements
  • Streams, endpoints, parameters, payloads, etc. described in the documents in this repository are considered official and supported.
  • The use of any other streams, endpoints, parameters, or payloads, etc. is not supported; use them at your own risk and with no guarantees.
Name Description
rest-api.md Details on the Rest API (/api)
errors.md Descriptions of possible error messages from the Rest API
web-socket-streams.md Details on available streams and payloads
user-data-stream.md Details on the dedicated account stream
Wallet, Sub-account Details on Wallet and sub-accounts endpoints(/sapi, /wapi)
Margin, BLVT Details on Margin and BLVT endpoints(/sapi, /wapi)
Mining Details on Mining endpoints(/sapi, /wapi)
BSwap, Savings Details on BSwap and Savings endpoints(/sapi, /wapi)
USDT-M Futures Details on USDT-M Futures API (/fapi)
COIN-M Futures Details on COIN-M Futures API (/dapi)

Useful Resources

  • Postman Collections
    • A postman collection containing the API endpoints for quick and easy use.
    • This is recommended for new users who want to get a quick-start into using the API.
  • Connector
    • This is a lightweight library that works as a connector to Binance public API.
    • Python
    • Node.js
  • Swagger
    • A YAML file with OpenApi specification on the RESTful API is available to be used, as well as a Swagger UI page for the consulting.
  • Spot Testnet
    • Users can use the SPOT Testnet to practice SPOT trading.
    • Currently, this is only available via the API.
    • Only endpoints starting with /api/* are supported, /sapi/* is not supported.

Contact Us

  • Binance API Telegram Group
    • For any questions regarding sudden drop in performance with the API and/or Websockets.
    • For any general questions about the API not covered in the documentation.
  • Binance Developers
    • For any questions/help regarding code implementation with API and/or Websockets.
  • Binance Customer Support
    • For cases such as missing funds, help with 2FA, etc.