TheTVDB API v3
thetvdb · Media
API v3 targets v2 functionality with a few minor additions. The API is accessible via https://api.thetvdb.com and provides the following REST endpoints in JSON format. How to use this API documentation ---------------- You may browse the API routes without authentication, but if you wish to send requests to the API and see response data, then you must authenticate. 1. Obtain a JWT token by `POST`ing to the `/login` route in the `Authentication` section with your API key and credentials. 1.
Authentication
Sample Requests
All available languages. These language abbreviations can be used in the `Accept-Language` header for routes that return translation records.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/languages"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/languages",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/languages'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/languages"
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/thetvdb.com/3.0.0/languages")
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/thetvdb.com/3.0.0/languages";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns all movies ids updated since a given timestamp.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/movieupdates?since=example"
import requests
params = {
"since": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/movieupdates",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/movieupdates');
url.searchParams.set('since', 'example');
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/thetvdb.com/3.0.0/movieupdates")
q := baseURL.Query()
q.Set("since", "example")
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/thetvdb.com/3.0.0/movieupdates")
uri.query = URI.encode_www_form({
"since" => "example"
})
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/thetvdb.com/3.0.0/movieupdates?" . http_build_query([
"since" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Refreshes your current, valid JWT token and returns a new token. Hit this route so that you do not have to post to `/login` with your API key and credentials once you have already been authenticated.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/refresh_token"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/refresh_token",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/refresh_token'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/thetvdb.com/3.0.0/refresh_token"
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/thetvdb.com/3.0.0/refresh_token")
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/thetvdb.com/3.0.0/refresh_token";
$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 TheTVDB API v3?
TheTVDB API v3 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. TheTVDB API v3 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?