Wsparcie The Movie Database

Hello,

This endpoint returns an empty result with the 60572 ID: https://api.themoviedb.org/3/tv/{series_id}/videos

I also tried using the developer page, but I get the same result: https://developer.themoviedb.org/reference/tv-series-videos

response status code 200

{
  "id": 60572,
  "results": []
}

The series ID is: Pokémon (1997) https://www.themoviedb.org/tv/60572

Other id: 22980 : doesnt work 456 : works

Can you help me? Thank you

6 odpowiedzi (strona 1 z 1)

Jump to last post

@tmdb1999 said:
TVshow api Videos return an empty result
Hello,
This endpoint returns an empty result with the 60572 ID:
https://api.themoviedb.org/3/tv/{series_id}/videos
I also tried using the developer page, but I get the same result:
https://developer.themoviedb.org/reference/tv-series-videos
response status code 200

{
  "id": 60572,  
  "results": []
}

The series ID is:
Pokémon (1997)
https://www.themoviedb.org/tv/60572

Other id:
22980 : doesnt work
456 : works

Can you help me?
Thank you

For me all the Requests worked correctly.
https://api.themoviedb.org/3/tv/60572?api_key=THE_KEY&language=pt-BR
https://api.themoviedb.org/3/tv/22980?api_key=THE_KEY&language=pt-BR
https://api.themoviedb.org/3/tv/456?api_key=THE_KEY&language=pt-BR
Try again and let me know if the problem persists.

Maybe I didn't understand how it works or the problem is with the language

Movie: Pokèmon TMDB 60572

It exists on the website:

https://www.themoviedb.org/search?language=it-IT&query=pok%C3%A9mon

but the developer API panel returns an empty result. However it works with the 'en-US' language

It works even with the IT language (this is not the developer API panel) https://api.themoviedb.org/3/tv/60572?api_key=api_key&language=it-IT

My endpoint in Python returns an empty result in IT:

https://api.themoviedb.org/3/tv/60572/videos {'api_key': 'api_key', 'language': 'it-IT', 'query': ''}

My endpoint in Python returns the correct result in US:

https://api.themoviedb.org/3/tv/60572/videos {'api_key': 'api_key', 'language': 'en-US', 'query': ''}

It does not work in the TMDB developer panel and in my Python script with IT language

Hi @tmdb1999,

Pokémon (id 60572) does not have any videos added to the it-IT translation. Compare these two requests:

https://www.themoviedb.org/tv/60572/videos?language=it-IT

vs.

https://www.themoviedb.org/tv/60572/videos?language=en-US

Here's the API request:

Request

curl -v "https://api.themoviedb.org/3/tv/60572/videos?api_key=###&language=en-US"

* Host api.themoviedb.org:443 was resolved.
* IPv6: 2600:9000:2784:cc00:c:174a:c400:93a1, 2600:9000:2784:8e00:c:174a:c400:93a1, 2600:9000:2784:ec00:c:174a:c400:93a1, 2600:9000:2784:a800:c:174a:c400:93a1, 2600:9000:2784:3e00:c:174a:c400:93a1, 2600:9000:2784:6800:c:174a:c400:93a1, 2600:9000:2784:4800:c:174a:c400:93a1, 2600:9000:2784:5600:c:174a:c400:93a1
* IPv4: 18.238.238.125, 18.238.238.127, 18.238.238.2, 18.238.238.6
*   Trying [2600:9000:2784:cc00:c:174a:c400:93a1]:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.themoviedb.org
*  start date: Jul 20 00:00:00 2024 GMT
*  expire date: Aug 17 23:59:59 2025 GMT
*  subjectAltName: host "api.themoviedb.org" matched cert's "*.themoviedb.org"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to api.themoviedb.org (2600:9000:2784:cc00:c:174a:c400:93a1) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://api.themoviedb.org/3/tv/60572/videos?api_key=###&language=en-US
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: api.themoviedb.org]
* [HTTP/2] [1] [:path: /3/tv/60572/videos?api_key=###&language=en-US]
* [HTTP/2] [1] [user-agent: curl/8.12.1]
* [HTTP/2] [1] [accept: */*]
> GET /3/tv/60572/videos?api_key=###&language=en-US HTTP/2
> Host: api.themoviedb.org
> User-Agent: curl/8.12.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< content-type: application/json;charset=utf-8
< content-length: 2882
< date: Fri, 04 Apr 2025 15:27:24 GMT
< server: openresty
< cache-control: public, max-age=11638
< x-memc: HIT
< x-memc-key: f548e16d782f6ab2295d77d37bbf8f8d
< x-memc-age: 13488
< x-memc-expires: 11638
< etag: W/"00e5d156818087b2702595b36de51f19"
< vary: Accept-Encoding,accept-encoding
< x-cache: Miss from cloudfront
< via: 1.1 e76eba87ee47517dc7f2053edfb921bc.cloudfront.net (CloudFront)
< x-amz-cf-pop: SEA900-P5
< alt-svc: h3=":443"; ma=86400
< x-amz-cf-id: P0DNL-t1digRnvqUsTO32aXdk5fdhgRdPy1CU1hOoXdZJCLttxn_qw==
< vary: Origin
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "id": 60572,
  "results": [
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "A Timeless Journey",
      "key": "dfDIHAZqfnc",
      "site": "YouTube",
      "size": 1080,
      "type": "Featurette",
      "official": true,
      "published_at": "2023-10-06T19:30:21.000Z",
      "id": "6520a7300cb33501387a9ec7"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Viz/Pioneer DVD & VHS Commercial",
      "key": "kfgfQPA6oPI",
      "site": "YouTube",
      "size": 1080,
      "type": "Trailer",
      "official": false,
      "published_at": "2022-04-19T22:00:36.000Z",
      "id": "6608aa53d5191f017e315285"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Opening 1 - \"Aim to Be a Pokémon Master\" - Rica Matsumoto [Pre-Porygon | Remastered w/ Subs]",
      "key": "TZMoQjvoICE",
      "site": "YouTube",
      "size": 720,
      "type": "Opening Credits",
      "official": false,
      "published_at": "2020-07-27T07:13:23.000Z",
      "id": "6753ab70df3ae97e1c2f3d8f"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Alola (Season 22)",
      "key": "LEZCmwCdn2w",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2019-03-16T16:59:58.000Z",
      "id": "5dbf28729d893900182ed5a3"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Alola (Seasons 20-21)",
      "key": "aKniN9oVe4Y",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-27T16:00:08.000Z",
      "id": "5dbf28329638640012e45b1b"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Kalos (Seasons 17-19)",
      "key": "LCNHc12volU",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-26T16:00:31.000Z",
      "id": "5dbf26709d893900132e93c9"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Unova (Seasons 14-16)",
      "key": "8t_NY-9r_IE",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-25T19:31:06.000Z",
      "id": "5dbf278e9638640016e48519"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Sinnoh (Seasons 10-13)",
      "key": "uBmMvGJ7uBE",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-24T20:48:27.000Z",
      "id": "5dbf27259638640012e45991"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Hoenn (Seasons 6-9)",
      "key": "x5UqwSOfeqI",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-23T17:18:21.000Z",
      "id": "5dbf26d899c964001490a896"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Johto (Seasons 3-5)",
      "key": "w7XdPcOz_4w",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-22T13:00:45.000Z",
      "id": "5dbf27727d2bc10011368c4e"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Kanto (Seasons 1-2)",
      "key": "hxooaOBJUjs",
      "site": "YouTube",
      "size": 1080,
      "type": "Opening Credits",
      "official": true,
      "published_at": "2018-04-21T13:00:02.000Z",
      "id": "5dbf2757efe37c001883b598"
    },
    {
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "name": "Catch 'Em All on VHS Advert (VHS Capture)",
      "key": "Dm74XaBx7js",
      "site": "YouTube",
      "size": 1080,
      "type": "Trailer",
      "official": false,
      "published_at": "2016-06-27T20:08:02.000Z",
      "id": "6608ab5e2faf4d017dca5587"
    }
  ]
}

Oh.. I misunderstood the term 'videos' as 'trailers'........... from https://api.themoviedb.org/3/tv/{series_id}/videos

I am trying to get information about this TV show based on its ID ( only the ID) What endpoint should I use?

Thank you

If all you want is the primary details, access the ID directly:

https://api.themoviedb.org/3/tv/{series_id}

Ie.

https://api.themoviedb.org/3/tv/60572

Very kind thank you

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj