Get Your API Key — Create and manage API keys at data.octav.fi
Getting Your API Key
Access Developer Portal
Navigate to data.octav.fi and log in to your Octav account
Name Your Key
Give your key a descriptive name to identify its purpose (e.g., “Production App”, “Development”)
Using Your API Key
Include your API key in theAuthorization header of every API request as a Bearer token.
Header Format
Example Requests
API Key Security
Best Practices
Use Environment Variables
Use Environment Variables
Store API keys in environment variables, never hardcode them in your source code.
.env
Rotate Keys Regularly
Rotate Keys Regularly
Periodically create new API keys and revoke old ones to maintain security:
- Create a new API key in the developer portal
- Update your applications with the new key
- Revoke the old key once migration is complete
Use Separate Keys Per Application
Use Separate Keys Per Application
Create different API keys for each application or environment:
- Production - For live applications
- Staging - For testing environment
- Development - For local development
- CI/CD - For automated testing
Monitor Usage
Monitor Usage
Regularly review API key usage in the developer portal:
- Track credit consumption
- Monitor request patterns
- Identify unusual activity
- Set up usage alerts
Revoking Compromised Keys
If you suspect an API key has been compromised:Revoke Immediately
Go to data.octav.fi, find the compromised key, and click Revoke
Rate Limiting
The Octav API enforces rate limits to ensure service stability and fair usage.Rate Limit
360 requests per minute per API keyHigher limits available upon request - contact us for enterprise needs
Rate Limit Headers
Every API response includes rate limit information in the headers:Error Responses
401 Unauthorized
Missing or invalid API key.403 Forbidden
API key doesn’t have access to the requested resource.429 Too Many Requests
Rate limit exceeded.Testing Your API Key
Verify your API key is working correctly with a test request:Next Steps
Quick Start
Make your first API call
Portfolio Endpoint
Retrieve portfolio data
Pricing
Learn about credit costs
Developer Portal
Manage your API keys