Skip to main content

Quick Start

API Key Setup#

  • Some endpoints will require an API Key. Please refer to this page regarding API key creation.
  • Once API key is created, it is recommended to set IP restrictions on the key for security reasons.
  • Never share your API key/secret key to ANYONE.

API Key Restrictions#

  • After creating the API key, the default restrictions is Enable Reading.
  • To enable withdrawals via the API, the API key restriction needs to be modified through the Binance UI.

Enabling Accounts#

Account#

A SPOT account is provided by default upon creation of a Binance Account.

Futures Account#

To enable a FUTURES account for Futures Trading, please refer to the Futures Trading Guide

Futures Testnet#

Users can use the Futures Testnet to practice FUTURES trading.

Currently, this is only available via the API.

Please refer to the Futures Testnet page for more information and how to set up the Testnet API key.

Option Account#

To enable a OPTION account for Option Trading, please refer to the Option Trading Guide

API Library#

Python connector#

This is a lightweight library that works as a connector to Binance public API, written in Python.

https://github.com/binance/binance-futures-connector-python

Java connector#

This is a lightweight library that works as a connector to Binance public API, written for Java users.

https://github.com/binance/binance-futures-connector-java