Authorization: Bearer <key>
Authentication
Every request except /v1/status carries an API key in the Authorization header. You create and revoke keys in the dashboard; a key is shown only once.
| Parameter | In | Required | Description |
|---|
| Authorization | header | yes | Bearer pd_live_… |
curl "https://price.download/v1/sources?limit=10" \
-H "Authorization: Bearer $PD_KEY"
●Response
HTTP/2 401
Content-Type: application/problem+json
{
"type": "https://price.download/api/errors#unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Nedostaje ili je neispravan API ključ.",
"code": "unauthorized"
}