Quote Garden
Quote Garden is a free, open-source REST API that serves more than 75,000 famous quotes. Built by Prathamesh More (pprathameshmore) in Node.js + Express + MongoDB, it exposes a small read-only HTTP surface for fetching random quotes, paginated quote lists filterable by author, genre, and full-text query, plus master lists of all authors and genres. There is no authentication and no cost to use; the canonical reference implementation is hosted on Render at https://quote-garden.onrender.com/api/v3 and was previously deployed on Heroku at quote-garden.herokuapp.com. The project also ships an official npm client wrapper (`@pprathameshmore/quotegardennpm`) and is widely embedded in third-party chrome extensions, mobile apps, and Twitter bots that need a lightweight inspirational-quote source.
APIs
Quote Garden REST API
Read-only REST API exposing a database of 75,000+ famous quotes. Returns JSON with a consistent envelope (statusCode, message, pagination, totalQuotes, data). Supports filtering...
Collections
Quote Garden API
OPENFeatures
Curated MongoDB collection of more than seventy-five thousand famous quotes attributed to a long tail of authors.
Single-call endpoint that returns one or more randomly selected quotes, optionally filtered by author, genre, or search query.
Page-and-limit paginated access to the full quote corpus with deterministic ordering, suitable for browsing or full-dump use cases.
MongoDB text index on quoteText, quoteAuthor, and quoteGenre exposed via the `query` parameter on quote listing endpoints.
Filter quotes by exact author name via the `author` query parameter and discover the full author list via the `/authors` endpoint.
Filter quotes by genre (e.g., love, life, success, business) via the `genre` query parameter and discover the full genre list via the `/genres` endpoint.
Completely open access with no API key, OAuth, or signup; CORS-enabled for direct browser use.
Every endpoint returns the same shape (statusCode, message, pagination, totalQuotes, data) for predictable client parsing.
Official `quotegarden` npm package wraps the HTTP API for Node.js and browser projects.
Entire backend (Express + MongoDB) and NPM client are MIT-licensed, allowing self-hosting and modification.
Use Cases
Browser new-tab extensions and home screen widgets call `/quotes/random` to display a fresh inspirational quote on each page load.
Chatbots, Slack bots, and Alexa skills pull random quotes by genre to inject contextual inspiration into conversations.
Twitter, Mastodon, and Bluesky bots schedule recurring posts from filtered author or genre slices of the corpus.
Mobile apps for students, athletes, and remote workers surface goal-aligned quotes filtered by genre (success, perseverance, focus).
Jamstack sites embed a random quote at build time by hitting the API during the build step.
Indie games and AR experiences sprinkle randomly fetched quotes into loading screens and reward moments.
Transactional and marketing email systems append a daily quote to footer templates fetched at send-time.
Bootcamps and university courses use the unauthenticated API as a teaching example for HTTP, JSON parsing, and pagination.
Integrations
New-tab Chrome extension by the same author that originally motivated the API; displays a daily quote with imagery.
Community-built Android app on Google Play that surfaces Quote Garden quotes on the device.
Independent iOS app published on the App Store that consumes Quote Garden for randomized inspiration.
@quotegardenbot Twitter bot that publishes scheduled quotes pulled from the API.
Third-party Chrome extension by AmitGujar that shows quotes on new-tab.
GitHub open-source project by Shankhanil Ghosh that wraps Quote Garden into a motivational web experience.
Official `quotegarden` npm wrapper for JavaScript and TypeScript clients.
Solutions
Clone the GitHub repo and run via Docker / docker-compose (Dockerfile and Procfile included) against your own MongoDB instance for full control of data and SLAs.
Free public reference deployment at quote-garden.onrender.com/api/v3 — no SLA, intended for hobby and prototype use.
Drop-in `quotegarden` npm package for Node.js or browser apps that prefer a typed client over raw fetch calls.