RapidAPI logo

Sign Up

Log In

TVMaze

FREE
By tvjan
Updated 3 months ago
Entertainment
9.2/10
Popularity Score
27ms
Latency
99%
Success Rate

TVMaze API Documentation

Add TV information to your website or app with our easy to use REST API. The TVMaze API uses JSON and conforms to the HATEOAS / HAL principles.

View API Details
GET/shows/{id}
GET/people/{id}
GET/search/shows?q={query}
GET/search/people?q={query}
GET/schedule
GET/shows/{id}

Get show information

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
idNUMBER
REQUIRED
Request Snippet
unirest.get("https://tvjan-tvmaze-v1.p.rapidapi.com/shows/{id}")
.header("X-RapidAPI-Host", "tvjan-tvmaze-v1.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://tvjan-tvmaze-v1.p.rapidapi.com/shows/{id}")
.header("X-RapidAPI-Host", "tvjan-tvmaze-v1.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