Find an API

Search public APIs with auth details & Postman guides

← All APIs

TheTVDB API

api4.thetvdb.com · Media

Media Bearer Token Free Tier TV Movies Entertainment

Community-maintained TV and movie database — series info, episodes, cast, artwork, and translated content in 40+ languages. Free API key required.

Authentication

Bearer Token Free API key at thetvdb.com/dashboard. Exchange for JWT token via POST /login. Pass as Authorization: Bearer TOKEN.

Sample Requests

GET Search series

Search for TV series by name.

https://api4.thetvdb.com/v4/search?type=series&query=Breaking Bad

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
Authorization Bearer YOUR_JWT
curl -X GET "https://api4.thetvdb.com/v4/search?type=series&query=Breaking%20Bad" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
import requests
params = {
    "type": "series",
    "query": "Breaking Bad"
}
headers = {
    "Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
response = requests.get(
    "https://api4.thetvdb.com/v4/search",
    params=params,
    headers=headers,
)
print(response.json())
const url = new URL('https://api4.thetvdb.com/v4/search');
url.searchParams.set('type', 'series');
url.searchParams.set('query', 'Breaking Bad');

const response = await fetch(url, {
  headers: {
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
  },
}); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api4.thetvdb.com/v4/search")
	q := baseURL.Query()
	q.Set("type", "series")
	q.Set("query", "Breaking Bad")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)
	req.Header.Set("Authorization", "Bearer YOUR_ACCESS_TOKEN")

	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://api4.thetvdb.com/v4/search")
uri.query = URI.encode_www_form({
  "type" => "series",
  "query" => "Breaking Bad"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer YOUR_ACCESS_TOKEN"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api4.thetvdb.com/v4/search?" . http_build_query([
    "type" => "series",
    "query" => "Breaking Bad"
]);
$opts = ["http" => [
    "method" => "GET",
    "header" => implode("\r\n", [
        "Authorization: Bearer YOUR_ACCESS_TOKEN"
    ]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. Get free API key at thetvdb.com/dashboard
  2. POST /login with {"apikey":"YOUR_KEY"} to get JWT token
  3. Set Authorization: Bearer YOUR_JWT on all requests
  4. JWT expires — re-authenticate when needed
  5. Search: GET /search?query=game+of+thrones&type=series

Open documentation ↗