Discontinued

This API no longer responds. Our last check on 2026-07-31 found no working endpoint — the service appears to have shut down or moved. The documentation, code samples and score below are kept for reference only; do not build against this API. See working Personality APIs →

Overview

Quotable is a free, open-source API that provides access to thousands of quotes across many topics and authors. You can search by author, tag, or fetch a random quote with a single GET request. It requires no authentication, making it one of the easiest quote APIs to get started with.

Beginner Tip

Use the /random endpoint with a ?tags= query parameter (e.g., ?tags=technology) to get quotes relevant to your app's theme.

Available Data

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

quote text
author name
category or tag

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "content": "The only way to do great work is to love what you do.",
  "author": "Steve Jobs",
  "tags": [
    "inspiration",
    "work"
  ]
}

Field Reference

_id Unique identifier for the quote.
content The full text of the quote.
author The name of the person attributed to the quote.
tags List of category tags associated with the quote, such as technology or wisdom.
length Character count of the quote content.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://api.quotable.io/random?tags=technology";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

404 Not Found for /quote (singular) The correct endpoint uses the plural form /quotes or /random, not /quote.
Use https://api.quotable.io/random for a single random quote.
Empty results array The tag or author you searched for does not exist in the database.
Check available tags at https://api.quotable.io/tags to use valid tag names.
Rate limit exceeded Too many requests sent in a short period.
Cache quote responses locally instead of fetching a new quote on every page load.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Personality
Difficulty Beginner
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →