Random Quote API

This API returns a random quote from a collection of quotes. The quotes are from famous people and are in English.

GET
https://api.apileague.com/retrieve-random-quote
Example Request and Response
GET
https://api.apileague.com/{{ examples.getRandomQuote }}
{
    "author": "Francis Bacon",
    "quote": "A little philosophy inclineth man's mind to atheism, but depth in philosophy bringeth men's minds about to religion."
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}

Frequently Asked Questions

Who are the quotes by?

The database contains quotes from a diverse range of famous people, including historical figures, authors, scientists, politicians, and celebrities.

Can I get quotes about specific topics?

Currently, the API returns a random quote. If you need quotes on specific topics, you might want to check if a search parameter becomes available in future updates.

How many quotes are in the database?

The API draws from a massive collection of thousands of quotes, ensuring you get a wide variety of wisdom and humor.

How is the Random Quote API different from the Random Affirmation API?

The Random Quote API returns famous quotes from various authors on a wide range of topics, while the Random Affirmation API provides positive statements designed to boost self-confidence.

Questions? Need Help? Ask Away