curl --request GET \
--url https://api.themoviedb.org/3/tv/latest \
--header 'Authorization: Bearer <token>'
{
"adult": false,
"backdrop_path": null,
"created_by": [],
"episode_run_time": [],
"first_air_date": "2012-09-29",
"genres": [],
"homepage": "",
"id": 281816,
"in_production": true,
"languages": [],
"last_air_date": "2012-09-29",
"last_episode_to_air": {
"air_date": "2013-03-23",
"episode_number": 13,
"episode_type": "standard",
"id": 5895501,
"name": "Willie Cook Jr & Deondra Dawson",
"overview": "",
"production_code": "",
"runtime": null,
"season_number": 1,
"show_id": 281816,
"still_path": null,
"vote_average": 0,
"vote_count": 0
},
"name": "Crime Stoppers Case Files: Chicago",
"networks": [],
"next_episode_to_air": null,
"number_of_episodes": 1,
"number_of_seasons": 1,
"origin_country": [
"US"
],
"original_language": "en",
"original_name": "Crime Stoppers Case Files: Chicago",
"overview": "Case Files: Chicago profiles real, recent, and unsolved homicides around the city in an attempt to find the killers and decrease violent crime in Chicago. It airs at 11pm on The CW in the greater Chicagoland area every Saturday.",
"popularity": 0,
"poster_path": null,
"production_companies": [],
"production_countries": [],
"seasons": [
{
"air_date": "2012-09-29",
"episode_count": 13,
"id": 437590,
"name": "Season 1",
"overview": "",
"poster_path": null,
"season_number": 1,
"vote_average": 0
}
],
"spoken_languages": [],
"status": "Returning Series",
"tagline": "",
"type": "Scripted",
"vote_average": 0,
"vote_count": 0
}
This endpoint gets the newest TV show ID.
curl --request GET \
--url https://api.themoviedb.org/3/tv/latest \
--header 'Authorization: Bearer <token>'
{
"adult": false,
"backdrop_path": null,
"created_by": [],
"episode_run_time": [],
"first_air_date": "2012-09-29",
"genres": [],
"homepage": "",
"id": 281816,
"in_production": true,
"languages": [],
"last_air_date": "2012-09-29",
"last_episode_to_air": {
"air_date": "2013-03-23",
"episode_number": 13,
"episode_type": "standard",
"id": 5895501,
"name": "Willie Cook Jr & Deondra Dawson",
"overview": "",
"production_code": "",
"runtime": null,
"season_number": 1,
"show_id": 281816,
"still_path": null,
"vote_average": 0,
"vote_count": 0
},
"name": "Crime Stoppers Case Files: Chicago",
"networks": [],
"next_episode_to_air": null,
"number_of_episodes": 1,
"number_of_seasons": 1,
"origin_country": [
"US"
],
"original_language": "en",
"original_name": "Crime Stoppers Case Files: Chicago",
"overview": "Case Files: Chicago profiles real, recent, and unsolved homicides around the city in an attempt to find the killers and decrease violent crime in Chicago. It airs at 11pm on The CW in the greater Chicagoland area every Saturday.",
"popularity": 0,
"poster_path": null,
"production_companies": [],
"production_countries": [],
"seasons": [
{
"air_date": "2012-09-29",
"episode_count": 13,
"id": 437590,
"name": "Season 1",
"overview": "",
"poster_path": null,
"season_number": 1,
"vote_average": 0
}
],
"spoken_languages": [],
"status": "Returning Series",
"tagline": "",
"type": "Scripted",
"vote_average": 0,
"vote_count": 0
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Latest Example
The response is of type object
.