Ron Swanson Quotes
A community-built, open source HTTP API that returns Ron Swanson quotes from the NBC television series Parks and Recreation. Returns one or more quotes per request as a JSON array of strings, with an optional case-insensitive full-text search over the quote corpus. The service is a small Node.js / TypeScript Express app authored by James Wright and hosted on Heroku.
APIs
Ron Swanson Quotes API
Read-only REST API returning random or searched Ron Swanson quotes as a JSON array of strings. No authentication is required. CORS is enabled (Access-Control-Allow-Origin is set...
Features
Return a single random Ron Swanson quote as a one-element JSON array.
Return N random Ron Swanson quotes in a single response via /quotes/{count}.
Search the quote corpus for a substring with case-insensitive matching via /quotes/search/{term}; returns every matching quote.
Public endpoint with no API key, OAuth, or signup required.
Access-Control-Allow-Origin is set to * so the API can be called directly from any browser-based frontend without a proxy.
Live OpenAPI 3.0 specification served by the API itself at GET /v2/schema, contributed by Chris Gali.
Standard X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset headers are returned on every response.
Use Cases
Widely used in beginner Node.js, JavaScript, and HTTP tutorials and bootcamp coursework as a friendly, no-auth public API to learn fetch, async/await, and JSON parsing.
Powers Alexa skills and other voice-assistant demos that deliver a Ron Swanson quote on request.
Supplies the underlying quote source for Hubot, Slack, and Discord bot examples (see hubot-swanson npm package by the same author).
CORS-enabled endpoint makes it suitable for in-browser SPA demos (React, Vue, Svelte) without requiring a backend proxy.
Stable shape and no auth make it a practical test target for HTTP-client libraries and SDK generators.
Used in conference talks and workshops to illustrate REST, OpenAPI-from-code, and API mocking concepts.
Integrations
Official Hubot script (hubot-swanson, by the API author) that pulls quotes into Hubot-powered chatops bots.
Service is deployed on the Heroku platform; the production host is ron-swanson-quotes.herokuapp.com.
Multiple community-built Amazon Alexa skills consume this API to read Ron Swanson quotes on Echo devices.
Used as a quote source by various community chatbots.