Quotes and Proverbs

FREEMIUM
By maxime.maisonneuve
Updated 5 months ago
Education
3.2/10
Popularity Score
1029ms
Latency
100%
Success Rate

Quotes and Proverbs API Documentation

30,000 quotations and proverbs from more than 6500 authors

View API Details
GETRandom + Search
GETRandom
GETSearch
GETAuthors list
GETAuthor quotes
GETRandom + Search

Random quotation by keyword or author

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
keywordSTRING
REQUIREDKeyword or Author (Min. 3 characters, Max. 4 words)
Code Snippet
unirest.get("https://quotes-and-proverbs.p.rapidapi.com/rapidapiquotes?r={keyword}")
.header("X-RapidAPI-Host", "quotes-and-proverbs.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://quotes-and-proverbs.p.rapidapi.com/rapidapiquotes?r={keyword}
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://quotes-and-proverbs.p.rapidapi.com/rapidapiquotes?r={keyword}")
.header("X-RapidAPI-Host", "quotes-and-proverbs.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication