Random Quotes API

The Random Quotes API allows you to fetch a random quote.

Base URL

"https://openapi-idk8.onrender.com"

Endpoints

  1. GET `/quote/random`: Fetches a random quote.

Sample Request

GET `https://openapi-idk8.onrender.com/quote/random`

Sample Response

{
  "quote": "The only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle.",
  "author": "Steve Jobs"
}

Attributes

  • quote: The random quote fetched from the API.
  • author: The author of the random quote.

Error Handling

If an error occurs while fetching the random quote, the API will respond with a 500 status code and an error message.