Derivatives API
Connect to the Derivatives Exchange
Order entry, market data and clearing reports for brokers and trading firms.
fut = client.futures.order(
contract="BTC-27NOV26",
side="buy",
qty=10,
price="71250"
)
print(client.futures.positions())
What you get
Futures & perps
All listed contracts via one API.
Market data
Top-of-book and full depth.
Clearing files
Daily settlement and margin reports.
Certification
Test environment and conformance.
Quickstart
- Step 1
Create an account
Sign up for a free developer account.
- Step 2
Generate API keys
Create keys with the scopes you need.
- Step 3
Install the SDK
npm, pip or go get, whichever you prefer.
- Step 4
Ship it
Test on testnet, then switch to mainnet.
Start building in minutes
Create a free developer account and get API keys instantly.