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

Descripción general

Casos de uso

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

Funcionalidades

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

Puntos finales de la API

Get Random Quote

Returns a random inspirational quote with author attribution

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

Pruébalo

Demostración en vivo
Solicitud

Campos de respuesta

Campo Tipo Descripción
id integer Unique identifier for the quote
text string The quote text
author string Name of the person who said or wrote the quote

Ejemplos de código

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

Respuestas de error

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

Parámetros

Nombre Tipo Obligatorio Descripción
count integer Obligatorio Number of random quotes to return. Between 1 and 50.

Pruébalo

Demostración en vivo
Solicitud

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

Campos de respuesta

Campo Tipo Descripción
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.

Ejemplos de código

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}'

Respuestas de error

400

bad_request

Request body is missing or not valid JSON.

422

unprocessable_entity

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

Preguntas frecuentes