API Documentation
You can find our API documentation at: One Trading API Documentation
Creating an API Key
- Log in to One Trading.
- Click on your Profile in the upper right corner.
- Go to Accounts.
- Select the API tab.
- Click on New API key.
- Name your API key.
- Select permissions: Read, Trade, Withdraw (or a combination).
- (Optional) Use IP restrictions for up to five IP addresses.
- Click on Create API key.
- Confirm via the email link (expires in 2 hours).
Note: This is the only time to view and save your API key.
Tip: Always use the link from the most recent One Trading email for confirmation.
Permissions
- Read: Access to all GET endpoints (e.g., account balances, market prices).
- Trade: Place or cancel orders (POST and DELETE endpoints).
- Withdraw: Deposit and withdraw funds to/from off-site wallets.
For more details on permissions, refer to our API documentation.
Deleting an API Key
- Log in to One Trading.
- Go to Profile > Accounts > API tab.
- Select the API key to delete.
- Click on Delete and confirm.
Note: Deleted API keys cannot be retrieved.
Troubleshooting
API Issues: Contact support for API issues. Note that API requests may take longer to resolve.
Lost API Key: Delete the lost key and create a new one if you have account access. Keep new keys secure.
Important: For security reasons, One Trading will never disclose your API key. Please ensure your API keys are securely stored and accessible only to you at all times.
Tip: Sending too many requests in a short period will result in HTTP status 429 (limit is 240 requests per minute).
For more information, explore our comprehensive API resource.