RapidAPI logo

MovieQuotes

FREE
By juanroldan1989
Updated 5 months ago
Entertainment
8.5/10
Popularity Score
548ms
Latency
-
Success Rate

MovieQuotes API Documentation

Fetch well known quotes from more than 500 movies. Search through movie quotes by actors, characters, movies, genres, years and even pieces of quotes. Intuitive API interface navigation. Github repository: https://github.com/juanroldan1989/movie-quotes-api

View API Details
GETQuotes
GETQuotes

Fetch well known quotes from more than 500 movies.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationSTRING
OPTIONALAPI Key
Optional Parameters
yearSTRING
OPTIONALFilter quotes by year or years.
actorSTRING
OPTIONAL
characterSTRING
OPTIONAL
movieSTRING
OPTIONAL
categorySTRING
OPTIONALE.g.: "action", "crime", "drama", etc.
Code Snippet
unirest.get("https://juanroldan1989-moviequotes-v1.p.rapidapi.com/api/v1/quotes?actor=Al+Pacino")
.header("X-RapidAPI-Host", "juanroldan1989-moviequotes-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "Token token=yd8WzkWNEEzGtqMSgiZBrwtt")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://juanroldan1989-moviequotes-v1.p.rapidapi.com/api/v1/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://juanroldan1989-moviequotes-v1.p.rapidapi.com/api/v1/quotes?actor=Al+Pacino")
.header("X-RapidAPI-Host", "juanroldan1989-moviequotes-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "Token token=yd8WzkWNEEzGtqMSgiZBrwtt")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication