TVMaze API
Returns TV show search results, show details, seasons, episodes and cast information from TVMaze.
View as Markdown| GET | /tvmaze/searchShows | Shows that match a search, best match first. TVMaze returns one page of about ten. |
| GET | /tvmaze/show | One show, with its number of seasons. |
| GET | /tvmaze/episodes | Episodes of one show in airing order, 100 per page. |
| GET | /tvmaze/episode | One episode: its season, number, air date, runtime and summary image. |
| GET | /tvmaze/seasons | The seasons of one show with their premiere and end dates and episode counts. |
| GET | /tvmaze/cast | The cast of one show: the people, the characters they play and whether they voice or play themselves. |
| GET | /tvmaze/person | One person of TV (actor, director, writer): birthday, country and photo. |
| GET | /tvmaze/schedule | Episodes airing on one day in one country, 100 per page. |
| GET | /tvmaze/showIndex | Every show TVMaze knows, by id, 250 per page. The cursor is the page number, starting at 0. |
| GET | /tvmaze/singleSearch | The one show that best matches a title, with its full details. |
| GET | /tvmaze/showAkas | The other titles of one show, by country (the translated and alternative names). |
| GET | /tvmaze/episodeByNumber | One episode of a show by its season and number in that season. |
| GET | /tvmaze/previousEpisode | The last episode a show has aired before today, from the show's embedded data. |
| GET | /tvmaze/showCrew | The crew of one show (producers, writers, directors...), not the cast. |
| GET | /tvmaze/showImages | The posters, backgrounds and banners of one show, the main one flagged. |
| GET | /tvmaze/searchPeople | People (actors and crew) that match a name, best match first. TVMaze returns one page of about ten. |
| GET | /tvmaze/personCastCredits | The roles one person has played in shows (voice roles included), with each show. |
| GET | /tvmaze/lookupShow | The TVMaze show with an IMDb, TheTVDB or TVRage id, such as tt0944947 for Game of Thrones on IMDb. |
| GET | /tvmaze/nextEpisode | The next episode a running show has scheduled, from the show's embedded data. Not found when none is announced. |
| GET | /tvmaze/webSchedule | Web episodes (streaming and online-only shows) airing on one day, 100 per page. |
| GET | /tvmaze/seasonEpisodes | Episodes of one season by the season's TVMaze id, in order. Season ids come from seasons. |
searchShows
/v1/tvmaze/searchShowsShows that match a search, best match first. TVMaze returns one page of about ten.
Parameters
querystring required | Search terms. e.g. friends |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
17 fields
score | number (double) |
show | Show |
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
status | string |
summary | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/searchShows?query=friends" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/searchShows?query=friends", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/searchShows?query=friends", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "score": 0.889544, "show": { "averageRuntime": 30, "ended": "2004-05-06", "genres": [ "Comedy", "Romance" ], "id": "431", "image": "https://static.tvmaze.com/uploads/images/original_untouched/41/104565.jpg", "imdbId": "tt0108778", "language": "English", "name": "Friends", "network": "NBC", "premiered": "1994-09-22", "rating": 8.5, "status": "Ended", "summary": "Six young (20-something) people from New York City (Manhattan), on their own and struggling to survive in the real world, find the companion…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/431/friends" } }, { "score": 0.8642496, "show": { "averageRuntime": 65, "ended": "2002-02-05", "genres": [ "Drama", "Romance" ], "id": "30774", "image": "https://static.tvmaze.com/uploads/images/original_untouched/532/1330900.jpg", "imdbId": "tt0315608", "language": "Japanese", "name": "Friends", "network": "TBS", "premiered": "2002-02-04", "rating": 0, "status": "Ended", "summary": "Left alone on a trip to Hong Kong, Tomoko finds herself the victim of a purse-snatching. The police arrest the man she points out, but it tu…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/30774/friends" } } ], "meta": { "cached": false, "endpoint": "searchShows", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
show
/v1/tvmaze/showOne show, with its number of seasons.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
16 fields
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
seasonCount | integer (int64) |
status | string |
summary | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/show?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/show?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/show?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "averageRuntime": 30, "ended": "2004-05-06", "genres": [ "Comedy", "Romance" ], "id": "431", "image": "https://static.tvmaze.com/uploads/images/original_untouched/41/104565.jpg", "imdbId": "tt0108778", "language": "English", "name": "Friends", "network": "NBC", "premiered": "1994-09-22", "rating": 8.5, "seasonCount": 10, "status": "Ended", "summary": "Six young (20-something) people from New York City (Manhattan), on their own and struggling to survive in the real world, find the companion…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/431/friends" }, "meta": { "cached": false, "endpoint": "show", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
episodes
/v1/tvmaze/episodesEpisodes of one show in airing order, 100 per page.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/episodes?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/episodes?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/episodes?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "airdate": "1994-09-22", "airstamp": "1994-09-23T00:00:00+00:00", "id": "40646", "name": "The One Where Monica Gets a Roommate", "number": 1, "rating": 8.2, "runtime": 30, "season": 1, "type": "regular", "url": "https://www.tvmaze.com/episodes/40646/friends-1x01-the-one-where-monica-gets-a-roommate" }, { "airdate": "1994-09-29", "airstamp": "1994-09-30T00:00:00+00:00", "id": "40647", "name": "The One With the Sonogram at the End", "number": 2, "rating": 8.2, "runtime": 30, "season": 1, "type": "regular", "url": "https://www.tvmaze.com/episodes/40647/friends-1x02-the-one-with-the-sonogram-at-the-end" } ], "meta": { "cached": false, "endpoint": "episodes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
episode
/v1/tvmaze/episodeOne episode: its season, number, air date, runtime and summary image.
Parameters
idstring required | TVMaze episode id or tvmaze.com episode URL. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/episode?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/episode?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/episode?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "airdate": "2013-06-24", "airstamp": "2013-06-25T02:00:00+00:00", "id": "1", "name": "Pilot", "number": 1, "rating": 7, "runtime": 60, "season": 1, "type": "regular", "url": "https://www.tvmaze.com/episodes/1/under-the-dome-1x01-pilot" }, "meta": { "cached": false, "endpoint": "episode", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
seasons
/v1/tvmaze/seasonsThe seasons of one show with their premiere and end dates and episode counts.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
endDate | string |
episodeCount | integer (int64) |
id | string |
imageUrl | string |
name | string |
network | string |
number | integer (int64) |
premiereDate | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/seasons?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/seasons?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/seasons?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "endDate": "1995-05-18", "episodeCount": 24, "id": "1716", "imageUrl": "https://static.tvmaze.com/uploads/images/original_untouched/229/572675.jpg", "name": "", "network": "NBC", "number": 1, "premiereDate": "1994-09-22", "url": "https://www.tvmaze.com/seasons/1716/friends-season-1" }, { "endDate": "1996-05-16", "episodeCount": 24, "id": "1717", "imageUrl": "https://static.tvmaze.com/uploads/images/original_untouched/229/572676.jpg", "name": "", "network": "NBC", "number": 2, "premiereDate": "1995-09-21", "url": "https://www.tvmaze.com/seasons/1717/friends-season-2" } ], "meta": { "cached": false, "endpoint": "seasons", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
cast
/v1/tvmaze/castThe cast of one show: the people, the characters they play and whether they voice or play themselves.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
character | string |
characterId | string |
person | PersonRef |
id | string |
image | string |
name | string |
url | string |
self | boolean |
voice | boolean |
curl "https://api.hoshime.com/v1/tvmaze/cast?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/cast?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/cast?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "character": "Rachel Green", "characterId": "78218", "person": { "id": "24483", "image": "https://static.tvmaze.com/uploads/images/original_untouched/325/813328.jpg", "name": "Jennifer Aniston", "url": "https://www.tvmaze.com/people/24483/jennifer-aniston" }, "self": false, "voice": false }, { "character": "Monica Geller", "characterId": "78219", "person": { "id": "36167", "image": "https://static.tvmaze.com/uploads/images/original_untouched/152/380106.jpg", "name": "Courteney Cox", "url": "https://www.tvmaze.com/people/36167/courteney-cox" }, "self": false, "voice": false } ], "meta": { "cached": false, "endpoint": "cast", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
person
/v1/tvmaze/personOne person of TV (actor, director, writer): birthday, country and photo.
Parameters
idstring required | TVMaze person id or tvmaze.com people URL. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
birthday | string |
country | string |
deathday | string |
gender | string |
id | string |
image | string |
name | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/person?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/person?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/person?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "birthday": "1979-07-17", "country": "United States", "deathday": "", "gender": "Male", "id": "1", "image": "https://static.tvmaze.com/uploads/images/original_untouched/0/1815.jpg", "name": "Mike Vogel", "url": "https://www.tvmaze.com/people/1/mike-vogel" }, "meta": { "cached": false, "endpoint": "person", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
schedule
/v1/tvmaze/scheduleEpisodes airing on one day in one country, 100 per page.
Parameters
countrystring | Two-letter country code, such as US or GB. default US |
datestring required | Day as YYYY-MM-DD. e.g. 2024-01-01 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
runtime | integer (int64) |
season | integer (int64) |
show | ShowRef |
id | string |
name | string |
url | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/schedule?date=2024-01-01" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/schedule?date=2024-01-01", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/schedule?date=2024-01-01", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "airdate": "2023-12-31", "airstamp": "2024-01-01T05:30:00+00:00", "id": "2718362", "name": "New Year's Eve Live with Sara Sidner and Cari Champion", "number": 2, "runtime": 150, "season": 2023, "show": { "id": "11017", "name": "New Year's Eve Live with Anderson Cooper and Andy Cohen", "url": "https://www.tvmaze.com/shows/11017/new-years-eve-live-with-anderson-cooper-and-andy-cohen" }, "url": "https://www.tvmaze.com/episodes/2718362/new-years-eve-live-with-anderson-cooper-and-andy-cohen-2023-12-31-new-years-eve-live-with-sara-sidne…" }, { "airdate": "2024-01-01", "airstamp": "2024-01-01T10:00:00+00:00", "id": "2928802", "name": "Episode 1", "number": 1, "runtime": 120, "season": 2024, "show": { "id": "67843", "name": "CNN This Morning", "url": "https://www.tvmaze.com/shows/67843/cnn-this-morning" }, "url": "https://www.tvmaze.com/episodes/2928802/cnn-this-morning-2024-01-01-episode-1" } ], "meta": { "cached": false, "endpoint": "schedule", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
showIndex
/v1/tvmaze/showIndexEvery show TVMaze knows, by id, 250 per page. The cursor is the page number, starting at 0.
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
status | string |
summary | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/showIndex" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/showIndex", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/showIndex", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "averageRuntime": 60, "ended": "2015-09-10", "genres": [ "Drama", "Science-Fiction" ], "id": "1", "image": "https://static.tvmaze.com/uploads/images/original_untouched/610/1525272.jpg", "imdbId": "tt1553656", "language": "English", "name": "Under the Dome", "network": "CBS", "premiered": "2013-06-24", "rating": 6.6, "status": "Ended", "summary": "Under the Dome is the story of a small town that is suddenly and inexplicably sealed off from the rest of the world by an enormous transpare…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/1/under-the-dome" }, { "averageRuntime": 60, "ended": "2016-06-21", "genres": [ "Action", "Crime" ], "id": "2", "image": "https://static.tvmaze.com/uploads/images/original_untouched/163/407679.jpg", "imdbId": "tt1839578", "language": "English", "name": "Person of Interest", "network": "CBS", "premiered": "2011-09-22", "rating": 8.8, "status": "Ended", "summary": "You are being watched. The government has a secret system, a machine that spies on you every hour of every day. I know because I built it. I…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/2/person-of-interest" } ], "meta": { "cached": false, "endpoint": "showIndex", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
singleSearch
/v1/tvmaze/singleSearchThe one show that best matches a title, with its full details.
Parameters
querystring required | Title of the show. e.g. Breaking Bad |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
status | string |
summary | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/singleSearch?query=Breaking+Bad" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/singleSearch?query=Breaking+Bad", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/singleSearch?query=Breaking+Bad", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "averageRuntime": 60, "ended": "2019-10-11", "genres": [ "Drama", "Crime" ], "id": "169", "image": "https://static.tvmaze.com/uploads/images/original_untouched/501/1253519.jpg", "imdbId": "tt0903747", "language": "English", "name": "Breaking Bad", "network": "AMC", "premiered": "2008-01-20", "rating": 9.2, "status": "Ended", "summary": "Breaking Bad follows protagonist Walter White, a chemistry teacher who lives in New Mexico with his wife and teenage son who has cerebral pa…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/169/breaking-bad" }, "meta": { "cached": false, "endpoint": "singleSearch", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
showAkas
/v1/tvmaze/showAkasThe other titles of one show, by country (the translated and alternative names).
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
country | string |
countryCode | string |
name | string |
curl "https://api.hoshime.com/v1/tvmaze/showAkas?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/showAkas?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/showAkas?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "country": "Russian Federation", "countryCode": "RU", "name": "Друзья" }, { "country": "Bulgaria", "countryCode": "BG", "name": "Приятели" } ], "meta": { "cached": false, "endpoint": "showAkas", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
episodeByNumber
/v1/tvmaze/episodeByNumberOne episode of a show by its season and number in that season.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
seasoninteger required | Season number, from 1 to 1000. e.g. 1 |
numberinteger required | Episode number within the season, from 1 to 10000. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/episodeByNumber?id=431&season=1&number=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/episodeByNumber?id=431&season=1&number=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/episodeByNumber?id=431&season=1&number=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "airdate": "1994-09-22", "airstamp": "1994-09-23T00:00:00+00:00", "id": "40646", "name": "The One Where Monica Gets a Roommate", "number": 1, "rating": 8.2, "runtime": 30, "season": 1, "type": "regular", "url": "https://www.tvmaze.com/episodes/40646/friends-1x01-the-one-where-monica-gets-a-roommate" }, "meta": { "cached": false, "endpoint": "episodeByNumber", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
previousEpisode
/v1/tvmaze/previousEpisodeThe last episode a show has aired before today, from the show's embedded data.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/previousEpisode?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/previousEpisode?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/previousEpisode?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "airdate": "2004-05-06", "airstamp": "2004-05-07T01:30:00+00:00", "id": "40881", "name": "The Last One, Part 2", "number": 18, "rating": 8.9, "runtime": 30, "season": 10, "type": "regular", "url": "https://www.tvmaze.com/episodes/40881/friends-10x18-the-last-one-part-2" }, "meta": { "cached": false, "endpoint": "previousEpisode", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
showCrew
/v1/tvmaze/showCrewThe crew of one show (producers, writers, directors...), not the cast.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
person | PersonRef |
id | string |
image | string |
name | string |
url | string |
type | string |
curl "https://api.hoshime.com/v1/tvmaze/showCrew?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/showCrew?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/showCrew?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "person": { "id": "26716", "image": "", "name": "Greg Malins", "url": "https://www.tvmaze.com/people/26716/greg-malins" }, "type": "Executive Producer" }, { "person": { "id": "27940", "image": "https://static.tvmaze.com/uploads/images/original_untouched/128/320252.jpg", "name": "David Crane", "url": "https://www.tvmaze.com/people/27940/david-crane" }, "type": "Creator" } ], "meta": { "cached": false, "endpoint": "showCrew", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
showImages
/v1/tvmaze/showImagesThe posters, backgrounds and banners of one show, the main one flagged.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 431 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
height | integer (int64) |
id | string |
main | boolean |
thumbnail | string |
type | string |
url | string |
width | integer (int64) |
curl "https://api.hoshime.com/v1/tvmaze/showImages?id=431" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/showImages?id=431", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/showImages?id=431", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "height": 1000, "id": "103453", "main": false, "thumbnail": "https://static.tvmaze.com/uploads/images/medium_portrait/41/104549.jpg", "type": "poster", "url": "https://static.tvmaze.com/uploads/images/original_untouched/41/104549.jpg", "width": 680 }, { "height": 1000, "id": "103454", "main": false, "thumbnail": "https://static.tvmaze.com/uploads/images/medium_portrait/41/104550.jpg", "type": "poster", "url": "https://static.tvmaze.com/uploads/images/original_untouched/41/104550.jpg", "width": 680 } ], "meta": { "cached": false, "endpoint": "showImages", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchPeople
/v1/tvmaze/searchPeoplePeople (actors and crew) that match a name, best match first. TVMaze returns one page of about ten.
Parameters
querystring required | Name to search for. e.g. Mike Vogel |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
person | Person |
birthday | string |
country | string |
deathday | string |
gender | string |
id | string |
image | string |
name | string |
url | string |
score | number (double) |
curl "https://api.hoshime.com/v1/tvmaze/searchPeople?query=Mike+Vogel" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/searchPeople?query=Mike+Vogel", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/searchPeople?query=Mike+Vogel", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "person": { "birthday": "1979-07-17", "country": "United States", "deathday": "", "gender": "Male", "id": "1", "image": "https://static.tvmaze.com/uploads/images/original_untouched/0/1815.jpg", "name": "Mike Vogel", "url": "https://www.tvmaze.com/people/1/mike-vogel" }, "score": 1 }, { "person": { "birthday": "1954-04-10", "country": "Belgium", "deathday": "", "gender": "Female", "id": "443574", "image": "https://static.tvmaze.com/uploads/images/original_untouched/644/1612225.jpg", "name": "Mieke Vogels", "url": "https://www.tvmaze.com/people/443574/mieke-vogels" }, "score": 0.31 } ], "meta": { "cached": false, "endpoint": "searchPeople", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
personCastCredits
/v1/tvmaze/personCastCreditsThe roles one person has played in shows (voice roles included), with each show.
Parameters
idstring required | TVMaze person id or tvmaze.com people URL. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
19 fields
character | string |
self | boolean |
show | Show |
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
status | string |
summary | string |
type | string |
url | string |
voice | boolean |
curl "https://api.hoshime.com/v1/tvmaze/personCastCredits?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/personCastCredits?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/personCastCredits?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "character": "Dale \"Barbie\" Barbara", "self": false, "show": { "averageRuntime": 60, "ended": "2015-09-10", "genres": [ "Drama", "Science-Fiction" ], "id": "1", "image": "https://static.tvmaze.com/uploads/images/original_untouched/610/1525272.jpg", "imdbId": "tt1553656", "language": "English", "name": "Under the Dome", "network": "CBS", "premiered": "2013-06-24", "rating": 6.6, "status": "Ended", "summary": "Under the Dome is the story of a small town that is suddenly and inexplicably sealed off from the rest of the world by an enormous transpare…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/1/under-the-dome" }, "voice": false }, { "character": "Dean Lowrey", "self": false, "show": { "averageRuntime": 60, "ended": "2012-02-19", "genres": [ "Drama", "Thriller" ], "id": "942", "image": "https://static.tvmaze.com/uploads/images/original_untouched/6/16205.jpg", "imdbId": "tt1826805", "language": "English", "name": "Pan Am", "network": "ABC", "premiered": "2011-09-25", "rating": 7.2, "status": "Ended", "summary": "Passion, jealousy, espionage. They do it all and they do it at 30,000 feet. Mad Men's style meets Grey's Anatomy's entanglements in this thr…", "type": "Scripted", "url": "https://www.tvmaze.com/shows/942/pan-am" }, "voice": false } ], "meta": { "cached": false, "endpoint": "personCastCredits", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
lookupShow
/v1/tvmaze/lookupShowThe TVMaze show with an IMDb, TheTVDB or TVRage id, such as tt0944947 for Game of Thrones on IMDb.
Parameters
sourcestring required | Which site the id comes from: imdb, thetvdb or tvrage.imdbthetvdbtvragee.g. imdb |
idstring required | The id on that site: tt0944947 for imdb, a number for thetvdb or tvrage. e.g. tt0944947 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
averageRuntime | integer (int64) |
ended | string |
genres | string[] |
id | string |
image | string |
imdbId | string |
language | string |
name | string |
network | string |
premiered | string |
rating | number (double) |
status | string |
summary | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/lookupShow?source=imdb&id=tt0944947" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/lookupShow?source=imdb&id=tt0944947", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/lookupShow?source=imdb&id=tt0944947", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "averageRuntime": 0, "ended": "…", "genres": [ "…" ], "id": "abc123", "image": "…", "imdbId": "abc123", "language": "…", "name": "…", "network": "…", "premiered": "…", "rating": 0, "status": "…", "summary": "…", "type": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "lookupShow", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
nextEpisode
/v1/tvmaze/nextEpisodeThe next episode a running show has scheduled, from the show's embedded data. Not found when none is announced.
Parameters
idstring required | TVMaze show id or tvmaze.com show URL. e.g. 83 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/nextEpisode?id=83" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/nextEpisode?id=83", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/nextEpisode?id=83", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "airdate": "…", "airstamp": "…", "id": "abc123", "name": "…", "number": 0, "rating": 0, "runtime": 0, "season": 0, "type": "…", "url": "https://…" }, "meta": { "cached": false, "endpoint": "nextEpisode", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
webSchedule
/v1/tvmaze/webScheduleWeb episodes (streaming and online-only shows) airing on one day, 100 per page.
Parameters
datestring required | Day as YYYY-MM-DD. e.g. 2024-01-01 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
runtime | integer (int64) |
season | integer (int64) |
show | ShowRef |
id | string |
name | string |
url | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/webSchedule?date=2024-01-01" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/webSchedule?date=2024-01-01", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/webSchedule?date=2024-01-01", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "airdate": "…", "airstamp": "…", "id": "abc123", "name": "…", "number": 0, "runtime": 0, "season": 0, "show": { "id": "abc123", "name": "…", "url": "https://…" }, "url": "https://…" } ], "meta": { "cached": false, "endpoint": "webSchedule", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }
seasonEpisodes
/v1/tvmaze/seasonEpisodesEpisodes of one season by the season's TVMaze id, in order. Season ids come from seasons.
Parameters
idstring required | TVMaze season id or tvmaze.com season URL. e.g. 1 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
airdate | string |
airstamp | string |
id | string |
name | string |
number | integer (int64) |
rating | number (double) |
runtime | integer (int64) |
season | integer (int64) |
type | string |
url | string |
curl "https://api.hoshime.com/v1/tvmaze/seasonEpisodes?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tvmaze/seasonEpisodes?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tvmaze/seasonEpisodes?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "airdate": "…", "airstamp": "…", "id": "abc123", "name": "…", "number": 0, "rating": 0, "runtime": 0, "season": 0, "type": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "seasonEpisodes", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tvmaze", "requestId": "req_2Xb9kQ…", "units": 1 } }