Authentication
The Rulebook Company API uses API access keys to authenticate requests. You can obtain your API key by contacting our sales team.API Access Key
Include your API key in thex-rulebook-api-access-key header with every request:
Request Format
All API requests must be made over HTTPS. Calls made over plain HTTP will fail.Content-Type header is required for GET requests.
Security Best Practices
Rotate Keys Regularly
Update your API keys periodically to maintain security
Use Environment Variables
Store API keys in environment variables, never in code
Limit Key Scope
Create separate keys for different environments
Monitor Usage
Track API key usage in your dashboard
Getting Your API Key
Contact Sales for API Access — To obtain your API access key, please contact our sales team at sales@rulebook.company or through our website.
- Store your key securely in an environment variable
- Add the
x-rulebook-api-access-keyheader to all API requests - Test with a simple call to List Exchanges

