Authentication
All API requests require a Bearer token in the Authorization header.
Authorization: Bearer ps_your_api_key_here
Creating API keys
Go to Settings > API Keys in the PryceScan app. Click "Generate New Key". The full key is shown once - copy it immediately.
Key format
Keys use the ps_ prefix. We store only the SHA-256 hash. The first 8 characters are saved as a prefix for identification.
Permission levels
| Level | Access |
|---|---|
| Read | GET endpoints only |
| Full | All endpoints (GET, POST, PATCH, DELETE) |
Key rotation
Generate a new key, update your integrations, then revoke the old key from Settings > API Keys. Keys can be revoked at any time.