Errors

The API uses standard HTTP status codes. Errors return JSON with ok: false and a human-readable error message. Plus-related errors also set plus_required: true and include an upgrade_url.

StatusWhenWhat to do
200Success.Read data.
401No key was sent, or the key is invalid or revoked.Send X-API-Key. If the key was revoked, create a new one.
403The key is valid, but its owner does not have an active Plus membership.Renew Plus. The same key works again straight away.
503The service is busy or temporarily unavailable.Wait a moment and retry. Check System Status.

Treat any status other than 200 as a failure and avoid retrying 401 and 403 in a loop.

{
  "ok": false,
  "plus_required": true,
  "error": "The QuotesNova API is available with QuotesNova Plus. Upgrade to Plus, create an API key, and send it in the X-API-Key header.",
  "upgrade_url": "https://www.quotesnova.com/plus",
  "docs": "https://www.quotesnova.com/api"
}
{
  "ok": false,
  "plus_required": true,
  "error": "This API key belongs to an account without an active QuotesNova Plus membership. Renew Plus to keep using the API.",
  "upgrade_url": "https://www.quotesnova.com/plus"
}
{
  "ok": false,
  "error": "API temporarily unavailable"
}