Create a key, give it only the permissions it needs, lock it to your IP addresses and you can trade, read your account and pull market data from your own software.
Creating a key#
- 1Open API and connections in your account and choose Create API key. A personal account holds one key, a company account up to ten.
- 2Name it. Every key can read your whole account; tick Trade if it should also place orders, convert, run Earn, recurring buys and leveraged positions, and move money between your sub-accounts. No key can ever withdraw.
- 3Add the IP addresses your software calls from, and requests from anywhere else are refused. Without a list the key works from any address.
- 4Confirm with the code we email you and copy the secret. It is shown once.
Rate limits#
Public endpoints allow 600 requests a minute per IP address, 120 of them for candles, history, the order book and trades; private endpoints 600 a minute per account, 3,000 for a company account. The response headers tell you how much of your allowance is left.
Keeping keys safe#
Treat the secret like a password: keep it out of code repositories and chat tools. Delete keys you no longer use. If a key leaks, delete it in your account and create a new one; nothing else needs to change.
Where to go next
More in API and market data
Using the API reference
Every endpoint, parameter and response is documented with a live example. Here is how the reference is organised and how to get a first request working.
Market data feeds and files
Real-time and historical prices for every instrument, as a stream, as an API or as files you can load into a spreadsheet or a model.

