Quotes

Get random quotes

get/quotes/random/{length}

Request

  • Base URL
    https://dummyjson.com
  • URL
    https://dummyjson.com/quotes/random/{length}
  • Auth
    none required

Path parameters

lengthinteger required

Query parameters

delayinteger

Artificial response delay in milliseconds (0–5000).

Response

Array of random quotes

idinteger
quotestring
authorstring

Example response

[
  {
    "id": 1,
    "quote": "Your heart is the size of an ocean. Go find yourself in its hidden depths.",
    "author": "Rumi"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.