v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 Public APIs

Get a random quote

The API endpoint returns a random quote from a list of quotes.

When accessing this endpoint, you will receive a response containing a randomly selected quote.

get/public/quotes/quote/random

Response

Get a random quote

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "author": "Harriet Beecher Stowe",
    "authorSlug": "harriet-beecher-stowe",
    "content": "Never give up, for that is just the place and time that the tide will turn.",
    "dateAdded": "2022-07-06",
    "dateModified": "2023-04-14",
    "id": 143,
    "length": 75,
    "tags": [
      "Motivational"
    ]
  },
  "message": "Quote fetched successfully",
  "statusCode": 200,
  "success": true
}