API Keys
All API requests require authentication using a Bearer token in theAuthorization header.
Getting Your API Key
1
Log in to InnovaTrading
Go to innova-trading.com and sign in to your account.
2
Navigate to Settings
Click on your profile and go to Settings → API Keys.
3
Create a New Key
Click “Create API Key”, give it a name, and copy the generated key.
Using Your API Key
Security Best Practices
Never expose in client code
API keys should only be used server-side. Never include them in frontend JavaScript.
Use environment variables
Store your API key in environment variables, not in source code.
Rotate regularly
Generate new API keys periodically and revoke old ones.
Use separate keys
Create different keys for development and production.
Environment Variables
Error Responses
401 Unauthorized
Missing or invalid API key:403 Forbidden
Valid API key but no access to the requested resource:API Key Permissions
Each API key has specific permissions:| Permission | Description |
|---|---|
read:bars | Fetch OHLC market data |
write:indicators | Submit indicator signals |
read:indicators | Read submitted indicators |
delete:indicators | Delete indicators |
By default, new API keys have all permissions enabled. Contact support for custom permission setups.
Rate Limiting
API keys are rate-limited based on your plan:| Plan | Requests/Hour | Concurrent |
|---|---|---|
| Free | 100 | 5 |
| Pro | 1,000 | 20 |
| Enterprise | Custom | Custom |