Is there a way to search the api for a TV Show and return the actual web page for that show, for example search for the show Loki:-
https://api.themoviedb.org/3/search/tv?query=Loki
And in either the results or the details get the actual web page address of:-
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on July 19, 2025 at 2:01 PM
I don't know if it solves your problem.
The page URL works if you use only the item ID.
For example, the two below lead to the same page.
https://www.themoviedb.org/tv/84958-loki
https://www.themoviedb.org/tv/84958
Then you can search by name or title, get the ID, and build the URL by adding the ID to the base URL.
Reply by Roidy
on July 19, 2025 at 2:15 PM
Perfect, as you say once I search and retrieve the ID then the url is easy to make. I didn't know you could just use the ID.
Thanks