API Keys
All API requests require an API key. Include it in theX-API-Key header:
Authorization: Bearer header:
Getting a key
- Sign up at mediapi.dev
- Go to the dashboard
- Click Create API Key
- Copy the key — it’s only shown once
Key security
- API keys are hashed (SHA-256) before storage — we never store the raw key
- Revoke compromised keys immediately from the dashboard
- Use separate keys for development and production
- Never commit keys to source control
Plans & limits
| Plan | Monthly GB | Max file size | Priority |
|---|---|---|---|
| Free | 1 GB | 100 MB | Low |
| Pro | 25 GB | 2 GB | Normal |
| Business | 200 GB | 10 GB | High |
| Enterprise | Unlimited | Unlimited | Highest |