Quotes API Demo

Get Random Quote

cURL example

Note: This endpoint is rate-limited (100/min per IP). If you see 429, try again in a minute.

Submit a Quote

Submit a quote for admin moderation. All submissions are reviewed before appearing publicly.

cURL example
curl -X POST https://joshuaeastman.dev/quotes/v1/submit/ \
  -H "Content-Type: application/json" \
  -d '{
    "text": "The only way to do great work is to love what you do.",
    "author": "Steve Jobs",
    "tag": "inspirational",
    "year": 2005,
    "source": "Stanford Commencement Address"
  }'

Rate limits: 10 submissions per minute, 100 per day per IP.

Check Submission Status

Check the moderation status of a submitted quote.

cURL example