Authentication
Authenticate by sending your API key with each request. Either header works:
X-API-Key: qn_live_…(recommended)Authorization: Bearer qn_live_…
Plus members create and revoke keys in Settings → API. A full key is shown once, when you create it. After that only the last four characters are visible, so store it somewhere safe.
Keep your key safe
- Call the API from your server, not from public web pages or mobile apps.
- Keep keys in environment variables or a secrets manager, never in source control.
- Create one key per project so you can revoke one without breaking the others.
- If a key leaks, revoke it in Settings and create a new one.
GET /api/quotes HTTP/1.1 Host: www.quotesnova.com X-API-Key: qn_live_your_key_here Accept: application/json
Authorization: Bearer qn_live_your_key_here