Inspirational or famous quote with author attribution, category, tags, language, and engagement metrics. Used for quote databases, inspiration platforms, and content management systems.
https://api.mockly.codes/quotes?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/quotesGet a collection of quotes
/reference/quotes/quotes/:idGet a single quote by ID
/reference/quotes/:id/quotes/metaGet resource metadata and schema
/reference/quotes/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/quotes?q=laptopGET https://api.mockly.codes/quotes?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 quotes
fetch('https://api.mockly.codes/quotes?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/quotes?count=10'
)
data = response.json()curl "https://api.mockly.codes/quotes?count=10"fetch('https://api.mockly.codes/quotes?nocache=true')idintegerUnique identifier for the quote
random_inttextstringThe quote text or content
quoteauthorstringName of the person who said or wrote the quote
namecategorystringQuote category (e.g., Inspiration, Success, Love, Wisdom, Humor)
quote_categorytagsarrayArray of tags for categorization and search
tagslanguagestringLanguage code of the quote (e.g., en, es, fr)
languagelikesintegerNumber of likes or favorites the quote has received
random_intcreated_atstringTimestamp when the quote was added to the database
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request