List quotes
GET
/api/quotesKey requiredReturns published quotes, newest first. Combine the filters below to narrow the list.
Query parameters
| Name | Type | Description |
|---|---|---|
limitoptional | integer | How many quotes to return, from 1 to 50. Defaults to 12. |
categoryoptional | string | A category slug, for example motivation or love. |
authoroptional | string | An author slug, for example steve-jobs. Use the author_slug value from any quote. An unknown author returns an empty list. |
qoptional | string | Search words, matched against the quote text and the author. |
Response
A 200 response contains ok, the number of quotes in count, and the quotes in data. Each item is a quote object. An empty result is still a 200 with "count": 0.
curl "https://www.quotesnova.com/api/quotes?limit=5&category=motivation" \ -H "X-API-Key: YOUR_API_KEY"
{
"ok": true,
"count": 1,
"data": [
{
"id": "8f1c2d3e-0000-4000-8000-000000000000",
"slug": "the-only-way-to-do-great-work",
"quote": "The only way to do great work is to love what you do.",
"author": "Steve Jobs",
"author_slug": "steve-jobs",
"verified": true,
"category": "motivation",
"image": "https://www.quotesnova.com/img/quotes/example.jpg",
"likes": 12,
"created_at": "2026-01-01T10:00:00Z",
"url": "https://www.quotesnova.com/quote/the-only-way-to-do-great-work"
}
]
}{
"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,
"error": "Invalid or revoked API key."
}{
"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"
}