Quote Garden · Schema

ResponseEnvelope

Common response envelope returned by every Quote Garden v3 endpoint.

QuotesInspirationOpen-SourceFree APINode.jsMongoDBExpressPersonalityPublic APIs

Properties

Name Type Description
statusCode integer HTTP status code mirror.
message string Short human-readable label describing the response.
pagination object Pagination block. Values may be null on non-paginated endpoints (e.g., /genres, /authors).
totalQuotes integernull Total quote count matched by the request (null when not applicable).
data array Array of resource records or strings (depending on the endpoint).
View JSON Schema on GitHub

JSON Schema

quote-garden-response-envelope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quote-garden/refs/heads/main/json-schema/quote-garden-response-envelope-schema.json",
  "title": "ResponseEnvelope",
  "description": "Common response envelope returned by every Quote Garden v3 endpoint.",
  "type": "object",
  "required": ["statusCode", "message", "pagination", "data"],
  "properties": {
    "statusCode": {
      "type": "integer",
      "description": "HTTP status code mirror.",
      "example": 200
    },
    "message": {
      "type": "string",
      "description": "Short human-readable label describing the response.",
      "examples": ["Quotes", "Random quotes", "Authors", "Genres"]
    },
    "pagination": {
      "type": "object",
      "description": "Pagination block. Values may be null on non-paginated endpoints (e.g., /genres, /authors).",
      "properties": {
        "currentPage": { "type": ["integer", "null"] },
        "nextPage": { "type": ["integer", "null"] },
        "totalPages": { "type": ["integer", "null"] }
      }
    },
    "totalQuotes": {
      "type": ["integer", "null"],
      "description": "Total quote count matched by the request (null when not applicable)."
    },
    "data": {
      "type": "array",
      "description": "Array of resource records or strings (depending on the endpoint).",
      "items": {
        "oneOf": [
          { "$ref": "./quote-garden-quote-schema.json" },
          { "type": "string" }
        ]
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/quote-garden-response-envelope"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.