API Key Authentication
All Range Data API requests require authentication using an API key passed in the request header.Getting Your API Key
If you need access, request a time-limited Sandbox.1
Log In
Log in to app.range.org with your Sandbox or paid account
2
Generate API Key
Navigate to your dashboard and generate a new API key
3
Copy & Secure
Copy your API key and store it securely. Treat it like a password, never
commit it to version control.
Making Authenticated Requests
Include your API key in theAuthorization header with every request:
Rate Limits
Rate limits and quotas depend on your account. Data API responses do not include rate-limit headers, such asX-RateLimit-Limit, X-RateLimit-Remaining, or X-RateLimit-Reset, and do not report how many credits you have left.
To check your API credits, call GET /v1/workspace/usage in the Platform API with your API key. It returns credits_used, credits_limit, credits_remaining, and reset_date, the time the credit counter resets, for the current billing period. It reports credits, not your request rate.
Error Responses
401 Unauthorized
Missing or invalid API key:Authorization header.
429 Too Many Requests
The request was rate limited. Solution: Back off and retry with an increasing delay rather than relying on aRetry-After header. If you hit the limit regularly, contact Range to discuss higher limits.
Best Practices
Environment Variables
Environment Variables
Store your API key in environment variables, never hardcode it:
Server-Side Only
Server-Side Only
Never expose your API key in client-side code (frontend JavaScript, mobile
apps). Make API calls from your backend server.
Key Rotation
Key Rotation
Rotate your API keys periodically and immediately if you suspect they’ve been
compromised. You can generate new keys in your dashboard.
Monitor Usage
Monitor Usage
Track your API usage in the Range dashboard to avoid hitting rate limits and optimize your integration.
Need Help?
Discuss Rate Limits
Contact Range to discuss higher limits for your account.
Contact Support
Having authentication issues? Our team is here to help.