Random Quotes

Get random inspirational quotes from famous people, thinkers, and leaders. Perfect for daily motivation, content generation, or adding wisdom to your applications.

Get API Key

Overview

Use Cases

  • Daily motivation apps and widgets
  • Social media content generation
  • Quote of the day features
  • Inspirational dashboards
  • Content placeholders for design

Features

Curated collection of inspirational quotes
Includes author attribution
Fast response times
No parameters required

API Endpoints

Get Random Quote

Returns a random inspirational quote with author attribution

GET
https://requiems.xyz/v1/entertainment/quotes/random

Try it out

Live Demo
Request

Response Fields

Field Type Description
id integer Unique identifier for the quote
text string The quote text
author string Name of the person who said or wrote the quote

Code Examples

curl https://requiems.xyz/v1/entertainment/quotes/random \
  -H "requiems-api-key: YOUR_API_KEY"

Error Responses

503

service_unavailable

No quotes available in the database

Get Random Quotes (Batch)

Returns up to 50 random quotes in a single request. Each quote counts as one unit of usage.

POST
https://requiems.xyz/v1/entertainment/quotes/random/batch

Parameters

Name Type Required Description
count integer Required Number of random quotes to return. Between 1 and 50.

Try it out

Live Demo
Request

Number of random quotes to return. Between 1 and 50.

Response Fields

Field Type Description
results array<object> Array of random quotes, one per requested count.
results[].id integer Unique identifier for the quote.
results[].text string The quote text.
results[].author string Name of the person who said or wrote the quote. May be empty.
total integer Total number of quotes returned. Always equals the requested count.

Code Examples

curl -X POST https://requiems.xyz/v1/entertainment/quotes/random/batch \
  -H "requiems-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count": 5}'

Error Responses

400

bad_request

Request body is missing or not valid JSON.

422

unprocessable_entity

count is missing, less than 1, or greater than 50.

Frequently Asked Questions