• Stars
    star
    3,842
  • Rank 11,361 (Top 0.3 %)
  • Language
  • Created almost 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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
errors.md Error codes and messages of Spot API
filters.md Details on the filters used by Spot API
rest-api.md Spot REST API (/api)
web-socket-api.md Spot WebSocket API
web-socket-streams.md Spot Market Data WebSocket streams
user-data-stream.md Spot User Data WebSocket streams
Wallet, Sub-account Details on Wallet and sub-accounts endpoints(/sapi)
Margin, BLVT Details on Margin and BLVT endpoints(/sapi)
Mining Details on Mining endpoints(/sapi)
BSwap, Savings Details on BSwap and Savings endpoints(/sapi)
USDT-M Futures Details on USDT-M Futures API (/fapi)
COIN-M Futures Details on COIN-M Futures API (/dapi)

FAQ

Name Description
spot_glossary.md Definition of terms used in the API
trailing-stop-faq.md Detailed Information on the behavior of Trailing Stops on the API
stp-faq.md Detailed Information on the behavior of Self Trade Prevention (aka STP) on the API
market-data-only Information on our market data only API and websocket streams.

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
  • 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.

More Repositories

1

binance-connector-python

Simple connector to Binance Public API
Python
1,848
star
2

binance-public-data

Details on how to get Binance public data
Python
1,430
star
3

binance-api-postman

Postman collection for Binance Public API, including spot, margin, futures, etc.
1,307
star
4

binance-futures-connector-python

Python
762
star
5

binance-connector-node

A simple connector to Binance Public API
JavaScript
543
star
6

binance-connector-java

Java
375
star
7

binance-signature-examples

Examples of generating HMAC and RSA signature for Binance API
Python
238
star
8

binance-connector-dotnet

Lightweight connector for integration with Binance API
C#
204
star
9

binance-websocket-examples

Example code in Nodejs that demonstrate how to subscribe to Binance Websocket server.
JavaScript
151
star
10

binance-connector-go

Go
147
star
11

binance-api-swagger

Swagger for the Binance Public API
HTML
124
star
12

binance-futures-connector-java

Java
116
star
13

zkmerkle-proof-of-solvency

This is proof of solvency tool for Centralized exchanges built by Binance. Please raise bugs and security issues to https://bugcrowd.com/binance
Go
113
star
14

binance-spot-connector-rust

Rust
111
star
15

binance-toolbox-python

Some useful scripts that help users to validate
Python
95
star
16

asymmetric-key-generator

This simple tool can be used to generate an RSA PKCS#8 or Ed25519 key pairs.
JavaScript
75
star
17

binance-connector-php

This is a thin library that working as a connector to the Binance public API.
PHP
65
star
18

desktop

Binance desktop application release channel.
55
star
19

ai-trading-prototype

Free open source crypto AI trading bot prototype.
Python
50
star
20

binance-connector-typescript

TypeScript
47
star
21

binance-connector-ruby

a simple connector to Binance Public API
Ruby
34
star
22

websocket-demo

a live demo site for subscribing to websocket server
JavaScript
22
star
23

ai-trading-prototype-backtester

Headline Sentiment Analysis Backtester. Backtests trading strategy from ai-trading-prototype trading bot.
Python
21
star
24

binance-cli

JavaScript
20
star
25

ai-trading-prototype-headlines

News Headlines Fetcher. Outputs headlines intended for use with the ai-trading-prototype sentiment-based trading bot.
Python
17
star
26

binance-pay-signature-examples

Python
14
star
27

binance-pay-connector-python

A lightweight library that works as a connector to Binance pay public API
Python
14
star
28

binance-sbe-rust-sample-app

Rust
12
star
29

binance-pay-postman-collection

Postman collection for Binance Pay API
11
star
30

binance-toolbox-java

Java
10
star
31

binance-futures-connector-node

JavaScript
9
star
32

binance-mp-demo

JavaScript
9
star
33

binance-toolbox-go

Go
8
star
34

binance-toolbox-php

PHP
6
star
35

binance-sbe-java-sample-app

Sample app that decodes Binance "exchangeInfo" endpoint's SBE response to YAML.
Java
5
star
36

binance-sbe-cpp-sample-app

C++
4
star
37

binance-toolbox-ruby

Ruby
2
star
38

binance-toolbox-nodejs

JavaScript
1
star
39

binance-toolbox-typescript

TypeScript
1
star
40

binance-futures-java-toolbox

Java
1
star