← One Stoic Quote

API Docs

A free JSON API for the daily Stoic quote. No auth required, open CORS, no rate limit beyond fair use.

Get today's quote

GET https://www.onestoicquote.com/api/quote

Returns the quote for the current UTC day. The response is stable for the whole day and cached for up to an hour.

Get a specific day's quote

GET https://www.onestoicquote.com/api/quote?date=YYYY-MM-DD

Same shape as above, but for the quote shown on that calendar date. Quotes are indexed deterministically by day-of-year, so a given date always returns the same quote.

Response

{
  "quote": "There is no favorable wind for the sailor who does not know where he wants to go.",
  "author": "Seneca"
}

Example

curl https://www.onestoicquote.com/api/quote
curl "https://www.onestoicquote.com/api/quote?date=2026-01-01"

Errors

date must be in YYYY-MM-DD format. An invalid value returns HTTP 400 with { "error": string }.

Notes

See also: llms.txt for a machine-readable summary.