Quotify API Documentation

Complete documentation and real-time examples for using the Quotify API

Getting Started

Quotify API provides free access to a large collection of quotes without requiring registration or an API key. Our API is designed to be simple and intuitive to use.

Base URL

https://api.quotify.top

Get Random Quote(s)

API Configuration

Endpoint

GET /random

Description

Fetches one or more random quotes with their author and tags. The quantity parameter allows you to specify how many quotes to retrieve (between 1 and 10).

Parameters
(optional, default: 1)

Code Examples

Python
JavaScript
import requests

# Get a single random quote
response = requests.get('https://api.quotify.top/random')
quote = response.json()
print(f"\"{quote['text']}\" - {quote['author']}")

# Get multiple random quotes
response = requests.get('https://api.quotify.top/random?quantity=3')
quotes = response.json()
for quote in quotes:
    print(f"\"{quote['text']}\" - {quote['author']}")
// Get a single random quote
fetch('https://api.quotify.top/random')
  .then(response => response.json())
  .then(quote => {
    console.log(`"${quote.text}" - ${quote.author}`);
  })
  .catch(error => console.error('Error:', error));

// Get multiple random quotes
fetch('https://api.quotify.top/random?quantity=3')
  .then(response => response.json())
  .then(quotes => {
    quotes.forEach(quote => {
      console.log(`"${quote.text}" - ${quote.author}`);
    });
  })
  .catch(error => console.error('Error:', error));

Live Request

cURL
# Click 'Send Request' to generate a cURL command.

Live Response

{
    "message": "Click 'Send Request' to see a live response."
}

Search Quotes

API Configuration

Endpoint

GET /search

Description

Search for quotes by keyword. The keyword will be searched in quote text, author names, and tags. Returns up to 10 results by default.

Parameters
(required)
(optional, default: 10)

Code Examples

Python
JavaScript

Live Request

cURL

Live Response