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.

1 APIs 10 Features
QuotesInspirationOpen SourceFree APINode.jsMongoDBExpressPersonalityPublic APIs

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

Features

75,000+ Quotes

Curated MongoDB collection of more than seventy-five thousand famous quotes attributed to a long tail of authors.

Random Quote Retrieval

Single-call endpoint that returns one or more randomly selected quotes, optionally filtered by author, genre, or search query.

Paginated Quote Listing

Page-and-limit paginated access to the full quote corpus with deterministic ordering, suitable for browsing or full-dump use cases.

Full-Text Search

MongoDB text index on quoteText, quoteAuthor, and quoteGenre exposed via the `query` parameter on quote listing endpoints.

Author Filter

Filter quotes by exact author name via the `author` query parameter and discover the full author list via the `/authors` endpoint.

Genre Filter

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.

No Authentication Required

Completely open access with no API key, OAuth, or signup; CORS-enabled for direct browser use.

Consistent Response Envelope

Every endpoint returns the same shape (statusCode, message, pagination, totalQuotes, data) for predictable client parsing.

NPM Client Wrapper

Official `quotegarden` npm package wraps the HTTP API for Node.js and browser projects.

Open Source MIT License

Entire backend (Express + MongoDB) and NPM client are MIT-licensed, allowing self-hosting and modification.

Use Cases

Inspirational Daily Quote Widgets

Browser new-tab extensions and home screen widgets call `/quotes/random` to display a fresh inspirational quote on each page load.

Chatbot and Voice Assistant Prompts

Chatbots, Slack bots, and Alexa skills pull random quotes by genre to inject contextual inspiration into conversations.

Social Media Automation

Twitter, Mastodon, and Bluesky bots schedule recurring posts from filtered author or genre slices of the corpus.

Educational and Motivational Apps

Mobile apps for students, athletes, and remote workers surface goal-aligned quotes filtered by genre (success, perseverance, focus).

Static Site Generators

Jamstack sites embed a random quote at build time by hitting the API during the build step.

Game and AR Easter Eggs

Indie games and AR experiences sprinkle randomly fetched quotes into loading screens and reward moments.

Email and Newsletter Personalization

Transactional and marketing email systems append a daily quote to footer templates fetched at send-time.

Learning Projects for API Consumption

Bootcamps and university courses use the unauthenticated API as a teaching example for HTTP, JSON parsing, and pagination.

Integrations

Achieve Chrome Extension

New-tab Chrome extension by the same author that originally motivated the API; displays a daily quote with imagery.

QuoteGarden Android App

Community-built Android app on Google Play that surfaces Quote Garden quotes on the device.

Spontaneous (iOS)

Independent iOS app published on the App Store that consumes Quote Garden for randomized inspiration.

QuoteGarden Twitter Bot

@quotegardenbot Twitter bot that publishes scheduled quotes pulled from the API.

Bink Chrome Extension

Third-party Chrome extension by AmitGujar that shows quotes on new-tab.

MotivateU

GitHub open-source project by Shankhanil Ghosh that wraps Quote Garden into a motivational web experience.

QuoteGarden NPM

Official `quotegarden` npm wrapper for JavaScript and TypeScript clients.

Solutions

Self-Hosted Deployment

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.

Hosted Reference API

Free public reference deployment at quote-garden.onrender.com/api/v3 — no SLA, intended for hobby and prototype use.

NPM SDK Integration

Drop-in `quotegarden` npm package for Node.js or browser apps that prefer a typed client over raw fetch calls.

Semantic Vocabularies

Quote Garden Context

3 classes · 12 properties

JSON-LD

API Governance Rules

Quote Garden API Rules

9 rules · 3 errors 5 warnings 1 info

SPECTRAL

JSON Structure

Quote Garden Quote Structure

5 properties

JSON STRUCTURE

Quote Garden Response Envelope Structure

5 properties

JSON STRUCTURE

Example Payloads

Quote Garden Quote Example

5 fields

EXAMPLE

Resources

🔗
Website
Website
🌐
Portal
Portal
👥
GitHubRepository
GitHubRepository
👥
GitHubOrganization
GitHubOrganization
💻
SourceCode
SourceCode
🔗
MIT License
License
🔗
PublicAPIsListing
PublicAPIsListing
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Quote Garden API
  version: 3.0.0
items:
- info:
    name: Quotes
    type: folder
  items:
  - info:
      name: Get Random Quote
      type: http
    http:
      method: GET
      url: https://quote-garden.onrender.com/api/v3/quotes/random
      params:
      - name: author
        value: ''
        type: query
        description: Filter results to quotes by this exact author name.
      - name: genre
        value: ''
        type: query
        description: Filter results to quotes tagged with this genre.
      - name: query
        value: ''
        type: query
        description: Full-text search across quoteText, quoteAuthor, and quoteGenre.
      - name: count
        value: ''
        type: query
        description: Number of random quotes to return.
    docs: 'Returns one or more randomly selected quotes, optionally filtered by author, genre,

      and/or a full-text search query. When `count` is supplied, that many random quotes

      are returned (default 1).

      '
  - info:
      name: List Quotes
      type: http
    http:
      method: GET
      url: https://quote-garden.onrender.com/api/v3/quotes
      params:
      - name: author
        value: ''
        type: query
        description: Filter results to quotes by this exact author name.
      - name: genre
        value: ''
        type: query
        description: Filter results to quotes tagged with this genre.
      - name: query
        value: ''
        type: query
        description: Full-text search across quoteText, quoteAuthor, and quoteGenre.
      - name: page
        value: ''
        type: query
        description: One-indexed page number for paginated responses.
      - name: limit
        value: ''
        type: query
        description: Maximum number of records to return per page.
    docs: 'Returns a paginated list of quotes, optionally filtered by author, genre, and/or a

      full-text search query. Supports standard `page` and `limit` query parameters.

      '
- info:
    name: Genres
    type: folder
  items:
  - info:
      name: List Genres
      type: http
    http:
      method: GET
      url: https://quote-garden.onrender.com/api/v3/genres
      params:
      - name: page
        value: ''
        type: query
        description: One-indexed page number for paginated responses.
      - name: limit
        value: ''
        type: query
        description: Maximum number of records to return per page.
    docs: Returns the master list of all genres present in the corpus.
- info:
    name: Authors
    type: folder
  items:
  - info:
      name: List Authors
      type: http
    http:
      method: GET
      url: https://quote-garden.onrender.com/api/v3/authors
      params:
      - name: page
        value: ''
        type: query
        description: One-indexed page number for paginated responses.
      - name: limit
        value: ''
        type: query
        description: Maximum number of records to return per page.
    docs: Returns the master list of all authors present in the corpus.
bundled: true