RapidAPI logo

Sign Up

Log In

PaperQuotes

PAID
By shashitechno
Updated 16 days ago
Entertainment
4.3/10
Popularity Score
313ms
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
Request 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
Log inSign up

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