Binance-API
An API that allows you to beable to interract with binance including getting price data, trades data, order book data, candle stick data and many more
2 subscribers
22 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
Binance-API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Market API | ||
| GET |
server time /server-time |
Returns current time on the server. Also used to check if you are connected too the API |
| GET |
exchange info /exchange-info |
Returns the rules of Binance exchange |
| GET |
price /price |
Returns the price of an asset If no **pair** is provided, prices for all symbols will be returned in an array. |
| GET |
24 hr stats /24hr-stats |
24 hour rolling window price change statistics. Be Careful when accessing this with no **pair**. |
| GET |
recent trades /trades/{pair} |
Returns the most recent trades of a particular pair Set **limit** as a query parameter to specify the number of trades to get (default=500, max=1000). |
| GET |
order book /order-book |
Returns the order book of the **pair** provided. If no pair is provided, order books of all pairs will be returned in an array. |
| GET |
candle stick /candlestick/{pair} |
Allows you to get information about one or many candle sticks Valid **Intervals** are ["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "8h", "12h", "1d", "3d", "1w", "1M"] |
| GET |
contract candlestick /contract-candlestick/{pair}/{contract}/{interval} |
Get candle sticks from a particular contract **contract** types are PERPETUAL, CURRENT_QUARTER and NEXT_QUARTER Valid **Intervals** are ["1m", "3m", "5m", "15m", "30m", "1h",… |
| GET |
mark price candlestick /mark-price-candlestick/{pair}/{interval} |
Returns the mark price candle sticks for the specified pairs Valid **intervals** are ["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "8h", "12h", "1d", "3d", "1w", "1M"]… |
| GET |
Index price candle stick /index-price-candlestick/{pair}/{interval} |
Returns the index price candle sticks of the specified pair Valid **Intervals** are ["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "8h", "12h", "1d", "3d", "1w", "1M"] |
| GET |
funding rate history /funding-rate |
Returns funding rate history **endTime** is a timestamp in ms **limit** is the number of candle sticks to get (default=500) If no **pair** is provided, it returns all current… |
| GET |
premium index /premium-index |
Returns the preimum index and funding rate of a pair If no pair is given, it returns the premium indexes and funding rates of all the pairs |
| GET |
open interest /open-interest/{pair} |
Returns present open interest of a specific pair. |
| GET |
open interest stats /open-interest-hist/{pair}/{interval} |
Returns open interest statistics with the period provided If **startTime** and **endTime** are not sent, the most recent data is returned. Only the data of the latest 30 days is… |
| GET |
top long short position ratio /top-long-short-position-ratio/{pair}/{period} |
Returns the top long to short positions ratio If **startTime** and **endTime** are not sent, the most recent data is returned. |
| GET |
top long short account ratio /top-long-short-account-ratio/{pair}/{period} |
Returns the top long to short account ratio If **startTime** and **endTime** are not sent, the most recent data is returned. |
| GET |
global long short account ratio /global-long-short-account-ratio/{pair}/{period} |
Returns the global long to short account ratio If **startTime** and **endTime** are not sent, the most recent data is returned. |
| GET |
taker long short ratio /taker-long-short-ratio/{pair}/{period} |
Returns takers long to short positions ratio If **startTime** and **endTime** are not sent, the most recent data is returned. Only the data of the latest 30 days is available. |
| GET |
market order book /market-order-book/{pair} |
Returns the most recent trades in order book for the market pair provided Limits that are set must be among these [5, 10, 20, 50, 100, 500, 1000] For each element in the… |
| GET |
blvt nav candlestick /blvt-nav-candlestick/{pair}/{interval} |
The BLVT NAV system is based on Binance Futures Returns LVT candlesticks |
| GET |
index info /index-info |
Returns Index info of a **pair** If a **pair** is not provided, index info for all the pairs will be returned |
| GET |
asset index /asset-info |
Returns asset index for Multi-Assets mode If no **pair** is provided, it returns data for all the pairs |
Binance-API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 10 / minute |
|
| PRO Recommended | $3.99 / month | 50 / minute |
|
| ULTRA | $9.99 / month | 300 / minute |
|
| MEGA | $19.99 / month | — |
|