TVmaze user API
tvmaze · Media
Access to the user API is only possible for users with a [premium](http://www.tvmaze.com/premium) account. A user can only access their own user data. Authentication uses HTTP Basic. Use the TVmaze username as authentication username, and the TVmaze API key as authentication password. Your API key can be found on your [dashboard](http://www.tvmaze.com/dashboard). To try out these API calls from this page, click the "Authorize" button on top and input your credentials.
Authentication
Sample Requests
List the marked episodes
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes?show_id=1"
import requests
params = {
"show_id": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes');
url.searchParams.set('show_id', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes")
q := baseURL.Query()
q.Set("show_id", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes")
uri.query = URI.encode_www_form({
"show_id" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/episodes?" . http_build_query([
"show_id" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List the followed networks
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks?embed=network"
import requests
params = {
"embed": "network"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks');
url.searchParams.set('embed', 'network');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks")
q := baseURL.Query()
q.Set("embed", "network")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks")
uri.query = URI.encode_www_form({
"embed" => "network"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/networks?" . http_build_query([
"embed" => "network"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List the followed people
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people?embed=person"
import requests
params = {
"embed": "person"
}
response = requests.get(
"https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people');
url.searchParams.set('embed', 'person');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people")
q := baseURL.Query()
q.Set("embed", "person")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people")
uri.query = URI.encode_www_form({
"embed" => "person"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/tvmaze.com/1.0/user/follows/people?" . http_build_query([
"embed" => "person"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with TVmaze user API?
TVmaze user API is a Media API. Developers commonly use media APIs for:
- storing and delivering images, video, and audio
- building digital asset management and media libraries
- transcoding and optimising media for the web
- adding video streaming and playback to your app
- automating content tagging and metadata extraction
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. TVmaze user API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?