API Documentation
Integrate Stoic wisdom into your applications.
Base URL
https://www.stoic.fyi
Endpoints
GET /api/random
Fetches a single random quote.
Example Request:
fetch('https://www.stoic.fyi/api/random')
GET /api/quotes
Fetches a list of all quotes. Supports filtering by author.
Example Request (by author):
fetch('https://www.stoic.fyi/api/quotes?author=seneca')