RapidAPI logo

Sign Up

Log In

Universal Inspirational Quotes

FREEMIUM
By HealThruWords
Updated 3 months ago
Other
8.3/10
Popularity Score
672ms
Latency
100%
Success Rate

Universal Inspirational Quotes API Documentation

Display on your website, widget or app Inspirational Images, Motivational Pictures, Healing Quotes and more.

View API Details
Quotes
GET/v1/quotes/
Topics
GET/v1/topics/
GET/v1/quotes/

Delivers Inspirational Quotes - if used without parameters, it will return one random quote (default behavior)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
idNUMBER
OPTIONALId of the quote - if specified a random quote will not be returned.
tSTRING
OPTIONALList of topics within which selection one or several quotes will be returned
maxRNUMBER
OPTIONALMax number of quotes returned - Default: 1
sizeSTRING
OPTIONALDefines the size of the image to be returned. Possible values: medium, thumbnail. Default value: thumbnail
Request Snippet
unirest.get("https://healthruwords.p.rapidapi.com/v1/quotes/?id=731&t=Wisdom&maxR=1&size=medium")
.header("X-RapidAPI-Host", "healthruwords.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://healthruwords.p.rapidapi.com/v1/quotes/?id=731&t=Wisdom&maxR=1&size=medium")
.header("X-RapidAPI-Host", "healthruwords.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