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

LevelAccess
ReadGET endpoints only
FullAll 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.