RapidAPI logo

PaperQuotes

PAID
By shashitechno
Updated 11 hours ago
Entertainment
-/10
Popularity Score
-
Latency
-
Success Rate

PaperQuotes API Documentation

PaperQuotes is the collection of more than 2 million quotes for free! Quotes can be queried from any category and tags.

API also allows you to download an image from quotes, which can be posted to social networks.

View API Details
GET/quotes
GET/quotes

GET Quotes filtered by tags or category

Authorization:

Token needs to be passed along with request

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationHEADER
REQUIREDAuthorization Token
Code Snippet
unirest.get("https://paperquotes.p.rapidapi.com/quotes")
.header("X-RapidAPI-Host", "paperquotes.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://paperquotes.p.rapidapi.com/quotes
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://paperquotes.p.rapidapi.com/quotes")
.header("X-RapidAPI-Host", "paperquotes.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