Authentication
All API requests require an API key. Rendex provides sub-millisecond edge verification across 300+ global locations.
Getting Your API Key
- Sign in to your Rendex dashboard
- Your first API key is auto-generated on signup
- Create additional keys at Dashboard → API Keys
Using Your API Key
Include your API key in requests using either method:
Authorization Header (Recommended)
Authorization: Bearer rdx_your_api_key_hereX-API-Key Header
x-api-key: rdx_your_api_key_hereQuery Parameter (GET Endpoint)
The GET /v1/screenshot endpoint also accepts the API key as a query parameter, enabling <img> tag embedding and browser access:
https://api.rendex.dev/v1/screenshot?url=https://example.com&key=rdx_your_api_key_hereKey Prefix
All Rendex API keys start with rdx_ for easy identification. This prefix is part of the key — include it in your requests.
Using Official SDKs
The official SDKs handle authentication automatically — just pass your API key when creating the client:
# JavaScript / TypeScript
npm install @copperline/rendex
# Python
pip install rendexSDKs set the correct Authorization header on every request. No manual header management needed. See the Quick Start for full examples.
Key Security
- Show once: Full keys are only shown at creation. Store them securely.
- Environment variables: Never commit API keys to source code. Use
RENDEX_API_KEYas your env var name. - Revoke immediately: If a key is compromised, revoke it from the dashboard and create a new one.
- Multiple keys: Create separate keys for development, staging, and production.
Error Responses
| Status | Meaning | Action |
|---|---|---|
| 401 | Missing or invalid API key | Check your key is correct and included in the request |
| 403 | Key disabled or expired | Create a new key from the dashboard |
| 429 | Rate limit exceeded | Wait and retry. See Rate Limits |
Was this page helpful?