> ## Documentation Index
> Fetch the complete documentation index at: https://sirjosh.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Latest

> This endpoint get the newest TV show ID.



## OpenAPI

````yaml api-reference/openapi3.json get /3/tv/latest
openapi: 3.0.3
info:
  title: The Movie Database
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: AUTHENTICATION
  - name: ACCOUNT
  - name: CERTIFICATIONS
  - name: CHANGES
  - name: COLLECTIONS
  - name: COMPANY
  - name: CONFIGURATION
  - name: CREDIT
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSIONS
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORKS
  - name: PEOPLE LIST
  - name: PEOPLE
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODE GROUP
  - name: WATCH PROVIDERS
paths:
  /3/tv/latest:
    get:
      tags:
        - TV SERIES
      summary: Latest
      description: This endpoint get the newest TV show ID.
      operationId: latest2
      responses:
        '200':
          description: latest
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=0
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Sun, 05 Jan 2025 22:20:01 GMT
            ETag:
              schema:
                type: string
                example: W/"b8c647e0ccf98244baf76426c1fcd2a6"
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 ffa4b37ccdc94a8c62bf6b6414725210.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: RhazrFBCGHjwuAwSaocZi4olyr20sAnEFusRl9AQ0ulLMRoJTNfzCQ==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: IAD89-C3
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: MISS
            x-memc-age:
              schema:
                type: string
                example: '0'
            x-memc-expires:
              schema:
                type: string
                example: '0'
            x-memc-key:
              schema:
                type: string
                example: 409cf93616f07a40b32b7847985b6452
          content:
            application/json:
              schema:
                type: object
                properties:
                  adult:
                    type: boolean
                    example: false
                  backdrop_path:
                    type: string
                    example: /7znzkZqpnFgStYsb7NJdJ0RfbHD.jpg
                  created_by:
                    type: array
                    items:
                      type: object
                      properties:
                        credit_id:
                          type: string
                          example: 677affb4816b2810d166fe5c
                        gender:
                          type: number
                          example: 0
                        id:
                          type: number
                          example: 4852413
                        name:
                          type: string
                          example: Ludovic Daxhelet
                        original_name:
                          type: string
                          example: Ludovic Daxhelet
                        profile_path:
                          type: string
                          example: /pZPAX2jRDyyCgi3m6bhoUGuFJy0.jpg
                    example:
                      - credit_id: 677affb4816b2810d166fe5c
                        gender: 0
                        id: 4852413
                        name: Ludovic Daxhelet
                        original_name: Ludovic Daxhelet
                        profile_path: /pZPAX2jRDyyCgi3m6bhoUGuFJy0.jpg
                  episode_run_time:
                    type: array
                    items:
                      type: number
                      example: 30
                    example:
                      - 30
                  first_air_date:
                    type: string
                    example: '2019-10-05'
                  genres:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                          example: 99
                        name:
                          type: string
                          example: Documentary
                    example:
                      - id: 99
                        name: Documentary
                      - id: 10751
                        name: Family
                  homepage:
                    type: string
                    example: >-
                      https://www.rtlplay.be/rtlplay/planete-zoo~d3a41ba7-2618-476e-84ca-c9e4777b9863/saison-5#episodes
                  id:
                    type: number
                    example: 281223
                  in_production:
                    type: boolean
                    example: true
                  languages:
                    type: array
                    items:
                      type: string
                      example: fr
                    example:
                      - fr
                  last_air_date:
                    type: string
                    example: '2023-03-19'
                  last_episode_to_air:
                    type: object
                    properties:
                      air_date:
                        type: string
                        example: '2023-03-19'
                      episode_number:
                        type: number
                        example: 3
                      episode_type:
                        type: string
                        example: standard
                      id:
                        type: number
                        example: 5879368
                      name:
                        type: string
                        example: Episode 3
                      overview:
                        type: string
                        example: ''
                      production_code:
                        type: string
                        example: ''
                      runtime:
                        nullable: true
                        example: null
                      season_number:
                        type: number
                        example: 5
                      show_id:
                        type: number
                        example: 281223
                      still_path:
                        nullable: true
                        example: null
                      vote_average:
                        type: number
                        example: 0
                      vote_count:
                        type: number
                        example: 0
                  name:
                    type: string
                    example: Planète Zoo
                  networks:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                          example: 1846
                        logo_path:
                          type: string
                          example: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name:
                          type: string
                          example: RTL-TVI
                        origin_country:
                          type: string
                          example: BE
                    example:
                      - id: 1846
                        logo_path: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name: RTL-TVI
                        origin_country: BE
                  next_episode_to_air:
                    nullable: true
                    example: null
                  number_of_episodes:
                    type: number
                    example: 4
                  number_of_seasons:
                    type: number
                    example: 5
                  origin_country:
                    type: array
                    items:
                      type: string
                      example: BE
                    example:
                      - BE
                  original_language:
                    type: string
                    example: fr
                  original_name:
                    type: string
                    example: Planète Zoo
                  overview:
                    type: string
                    example: ''
                  popularity:
                    type: number
                    example: 0
                  poster_path:
                    type: string
                    example: /r8dnSioXWg8kqAKpNVkSNuGCDZk.jpg
                  production_companies:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                          example: 2208
                        logo_path:
                          type: string
                          example: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name:
                          type: string
                          example: RTL-TVi
                        origin_country:
                          type: string
                          example: BE
                    example:
                      - id: 2208
                        logo_path: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name: RTL-TVi
                        origin_country: BE
                      - id: 202584
                        logo_path: /xzwuvF1SmLz0O1TunE2eMWq8Rdn.png
                        name: RTL Belgium
                        origin_country: BE
                  production_countries:
                    type: array
                    items:
                      type: object
                      properties:
                        iso_3166_1:
                          type: string
                          example: BE
                        name:
                          type: string
                          example: Belgium
                    example:
                      - iso_3166_1: BE
                        name: Belgium
                  seasons:
                    type: array
                    items:
                      type: object
                      properties:
                        air_date:
                          type: string
                          nullable: true
                          example: '2019-10-05'
                        episode_count:
                          type: number
                          example: 1
                        id:
                          type: number
                          example: 436477
                        name:
                          type: string
                          example: Season 1
                        overview:
                          type: string
                          example: ''
                        poster_path:
                          nullable: true
                          example: null
                        season_number:
                          type: number
                          example: 1
                        vote_average:
                          type: number
                          example: 0
                    example:
                      - air_date: '2019-10-05'
                        episode_count: 1
                        id: 436477
                        name: Season 1
                        overview: ''
                        poster_path: null
                        season_number: 1
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436478
                        name: Season 2
                        overview: ''
                        poster_path: null
                        season_number: 2
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436479
                        name: Season 3
                        overview: ''
                        poster_path: null
                        season_number: 3
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436480
                        name: Season 4
                        overview: ''
                        poster_path: null
                        season_number: 4
                        vote_average: 0
                      - air_date: '2023-03-05'
                        episode_count: 3
                        id: 436481
                        name: Season 5
                        overview: ''
                        poster_path: null
                        season_number: 5
                        vote_average: 0
                  spoken_languages:
                    type: array
                    items:
                      type: object
                      properties:
                        english_name:
                          type: string
                          example: French
                        iso_639_1:
                          type: string
                          example: fr
                        name:
                          type: string
                          example: Français
                    example:
                      - english_name: French
                        iso_639_1: fr
                        name: Français
                  status:
                    type: string
                    example: Returning Series
                  tagline:
                    type: string
                    example: ''
                  type:
                    type: string
                    example: Documentary
                  vote_average:
                    type: number
                    example: 0
                  vote_count:
                    type: number
                    example: 0
              examples:
                latest:
                  value:
                    adult: false
                    backdrop_path: /7znzkZqpnFgStYsb7NJdJ0RfbHD.jpg
                    created_by:
                      - credit_id: 677affb4816b2810d166fe5c
                        gender: 0
                        id: 4852413
                        name: Ludovic Daxhelet
                        original_name: Ludovic Daxhelet
                        profile_path: /pZPAX2jRDyyCgi3m6bhoUGuFJy0.jpg
                    episode_run_time:
                      - 30
                    first_air_date: '2019-10-05'
                    genres:
                      - id: 99
                        name: Documentary
                      - id: 10751
                        name: Family
                    homepage: >-
                      https://www.rtlplay.be/rtlplay/planete-zoo~d3a41ba7-2618-476e-84ca-c9e4777b9863/saison-5#episodes
                    id: 281223
                    in_production: true
                    languages:
                      - fr
                    last_air_date: '2023-03-19'
                    last_episode_to_air:
                      air_date: '2023-03-19'
                      episode_number: 3
                      episode_type: standard
                      id: 5879368
                      name: Episode 3
                      overview: ''
                      production_code: ''
                      runtime: null
                      season_number: 5
                      show_id: 281223
                      still_path: null
                      vote_average: 0
                      vote_count: 0
                    name: Planète Zoo
                    networks:
                      - id: 1846
                        logo_path: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name: RTL-TVI
                        origin_country: BE
                    next_episode_to_air: null
                    number_of_episodes: 4
                    number_of_seasons: 5
                    origin_country:
                      - BE
                    original_language: fr
                    original_name: Planète Zoo
                    overview: ''
                    popularity: 0
                    poster_path: /r8dnSioXWg8kqAKpNVkSNuGCDZk.jpg
                    production_companies:
                      - id: 2208
                        logo_path: /lyo2nqmPCpXBWvMIQhmVjvZvoHN.png
                        name: RTL-TVi
                        origin_country: BE
                      - id: 202584
                        logo_path: /xzwuvF1SmLz0O1TunE2eMWq8Rdn.png
                        name: RTL Belgium
                        origin_country: BE
                    production_countries:
                      - iso_3166_1: BE
                        name: Belgium
                    seasons:
                      - air_date: '2019-10-05'
                        episode_count: 1
                        id: 436477
                        name: Season 1
                        overview: ''
                        poster_path: null
                        season_number: 1
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436478
                        name: Season 2
                        overview: ''
                        poster_path: null
                        season_number: 2
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436479
                        name: Season 3
                        overview: ''
                        poster_path: null
                        season_number: 3
                        vote_average: 0
                      - air_date: null
                        episode_count: 0
                        id: 436480
                        name: Season 4
                        overview: ''
                        poster_path: null
                        season_number: 4
                        vote_average: 0
                      - air_date: '2023-03-05'
                        episode_count: 3
                        id: 436481
                        name: Season 5
                        overview: ''
                        poster_path: null
                        season_number: 5
                        vote_average: 0
                    spoken_languages:
                      - english_name: French
                        iso_639_1: fr
                        name: Français
                    status: Returning Series
                    tagline: ''
                    type: Documentary
                    vote_average: 0
                    vote_count: 0
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````