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

# Get latest series

> Get the newest TV show ID.



## OpenAPI

````yaml api-reference/openapi.yaml get /3/tv/latest
openapi: 3.0.3
info:
  title: Endpoints
  description: This section contains all the endpoints used in the documentation.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: This section contains all endpoints used for authentication
  - name: Accounts
    description: This section contains account-specific endpoints.
  - name: Favorites
    description: >-
      This section contains all endpoints that allow a TMDB account to add
      movies, TV Shows, episodes to favorites, and also to get a list of
      favorites for the account.
  - name: Movies
    description: >-
      This section contains an endpoint to add a movie to favorites, and another
      to get a list of favorite movies for a TMDB account.
  - name: TV shows
    description: >-
      This section contains an endpoint to get the favorite TV shows for an
      account.
  - name: Watchlist
    description: >-
      This section contains all endpoints that allow a TMDB account to add
      movies, TV Shows to watchlist, and also to get a list of watchlist for the
      account.
  - name: Movies1
    description: >-
      This section contains an endpoint that allows a TMDB account to add a
      movie to watchlist, and another to get the movies in a watchlist.
  - name: TV shows1
    description: >-
      This section contains an endpoint used to get TV shows in an account's
      watchlist.
  - name: Ratings
    description: >-
      This section contains endpoints used to get all movies, TV Shows, and
      episodes rated by a TMDB account.
  - name: Movies12
    description: >-
      This section contains an endpoint used to get a list of movies rated by a
      TMDB account.
  - name: TV shows12
    description: >-
      This section contains an endpoint used to get a list of TV shows rated by
      a TMDB account.
  - name: Episodes
    description: >-
      This section contains an endpoint used to get a list of episodes rated by
      a TMDB account.
  - name: Lists
    description: Endpoints for a TMDB account lists.
  - name: Guest sessions
    description: This section contains all endpoints accessible by a guest session.
  - name: Movies
    description: For movies.
  - name: TV episodes
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      episodes.
  - name: TV seasons
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      seasons.
  - name: TV series
    description: >-
      This section contains all endpoints used to retrieve data for all TV
      series.
  - name: TV series lists
    description: This section contains all endpoints used to list TV series.
  - name: TV episode groups
    description: This section contains an endpoint used to retrieve data for TV episodes.
  - name: Watch providers
    description: Get available regions.
  - name: People
    description: About people lists.
  - name: Companies
    description: >-
      This section contains all endpoints used to retrieve data for supported
      companies.
  - name: Discover
    description: This section contains all endpoints used to discover movies and TV shows.
  - name: Recent changes
    description: >-
      This section contains all endpoints used to get recent changes in the TMDB
      database.
  - name: Credit
    description: This section contains an endpoint used to retrieve movie credits.
  - name: Certifications
    description: >-
      This section contains all endpoints used to get certification for movies
      and TV shows.
  - name: Collections
    description: This section contains all endpoints used to retrieve data for collections
  - name: Configuration
    description: >-
      This section contains all endpoints used to retrieve data on TMDB's
      configurations.
  - name: Find
    description: >-
      This section contains an endpoint used to search the TMDB database by
      External ID.
  - name: Genres
    description: This section contains endpoints related to genres.
  - name: Keywords
    description: >-
      This section contains an endpoint used to get keywords in the database by
      an ID.
  - name: Movie lists
    description: >-
      This section contains all endpoints used to retrieve movies by multiple
      search filters.
  - name: Networks
    description: For network endpoints.
  - name: Reviews
    description: For reviews endpoints.
  - name: Search
    description: For search endpoints.
  - name: Trending
    description: For trending videos.
paths:
  /3/tv/latest:
    get:
      tags:
        - TV series
      summary: Get latest series
      description: Get the newest TV show ID.
      operationId: getLatestSeries
      responses:
        '200':
          description: New Request
          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: Sat, 04 Jan 2025 11:26:11 GMT
            ETag:
              schema:
                type: string
                example: W/"c813c9b32882e21e8179db0f30cc471f"
            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 dd11c9768f8b06d6759fe07ff69421ce.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: eedQxNHgv17OQSvk1LeWr4aMaY6u4gxkyICpXt6I-lK44BRUztGYDg==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            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:
                    nullable: true
                    example: null
                  created_by:
                    type: array
                    items: {}
                    example: []
                  episode_run_time:
                    type: array
                    items: {}
                    example: []
                  first_air_date:
                    type: string
                    example: '2024-12-18'
                  genres:
                    type: array
                    items: {}
                    example: []
                  homepage:
                    type: string
                    example: ''
                  id:
                    type: number
                    example: 281088
                  in_production:
                    type: boolean
                    example: true
                  languages:
                    type: array
                    items: {}
                    example: []
                  last_air_date:
                    type: string
                    example: '2024-12-18'
                  last_episode_to_air:
                    type: object
                    properties:
                      air_date:
                        type: string
                        example: '2024-12-18'
                      episode_number:
                        type: number
                        example: 1
                      episode_type:
                        type: string
                        example: standard
                      id:
                        type: number
                        example: 5876665
                      name:
                        type: string
                        example: Episode 1
                      overview:
                        type: string
                        example: ''
                      production_code:
                        type: string
                        example: ''
                      runtime:
                        nullable: true
                        example: null
                      season_number:
                        type: number
                        example: 1
                      show_id:
                        type: number
                        example: 281088
                      still_path:
                        nullable: true
                        example: null
                      vote_average:
                        type: number
                        example: 0
                      vote_count:
                        type: number
                        example: 0
                  name:
                    type: string
                    example: 실버벨이 울리면
                  networks:
                    type: array
                    items: {}
                    example: []
                  next_episode_to_air:
                    nullable: true
                    example: null
                  number_of_episodes:
                    type: number
                    example: 1
                  number_of_seasons:
                    type: number
                    example: 1
                  origin_country:
                    type: array
                    items:
                      type: string
                      example: KR
                    example:
                      - KR
                  original_language:
                    type: string
                    example: ko
                  original_name:
                    type: string
                    example: 실버벨이 울리면
                  overview:
                    type: string
                    example: ''
                  popularity:
                    type: number
                    example: 0
                  poster_path:
                    type: string
                    example: /3ojLpQ0IZkh4l3qb0NE1sqk0s6p.jpg
                  production_companies:
                    type: array
                    items: {}
                    example: []
                  production_countries:
                    type: array
                    items: {}
                    example: []
                  seasons:
                    type: array
                    items:
                      type: object
                      properties:
                        air_date:
                          type: string
                          example: '2024-12-18'
                        episode_count:
                          type: number
                          example: 1
                        id:
                          type: number
                          example: 436157
                        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: '2024-12-18'
                        episode_count: 1
                        id: 436157
                        name: Season 1
                        overview: ''
                        poster_path: null
                        season_number: 1
                        vote_average: 0
                  spoken_languages:
                    type: array
                    items: {}
                    example: []
                  status:
                    type: string
                    example: Returning Series
                  tagline:
                    type: string
                    example: ''
                  type:
                    type: string
                    example: Scripted
                  vote_average:
                    type: number
                    example: 0
                  vote_count:
                    type: number
                    example: 0
              examples:
                New Request:
                  value:
                    adult: false
                    backdrop_path: null
                    created_by: []
                    episode_run_time: []
                    first_air_date: '2024-12-18'
                    genres: []
                    homepage: ''
                    id: 281088
                    in_production: true
                    languages: []
                    last_air_date: '2024-12-18'
                    last_episode_to_air:
                      air_date: '2024-12-18'
                      episode_number: 1
                      episode_type: standard
                      id: 5876665
                      name: Episode 1
                      overview: ''
                      production_code: ''
                      runtime: null
                      season_number: 1
                      show_id: 281088
                      still_path: null
                      vote_average: 0
                      vote_count: 0
                    name: 실버벨이 울리면
                    networks: []
                    next_episode_to_air: null
                    number_of_episodes: 1
                    number_of_seasons: 1
                    origin_country:
                      - KR
                    original_language: ko
                    original_name: 실버벨이 울리면
                    overview: ''
                    popularity: 0
                    poster_path: /3ojLpQ0IZkh4l3qb0NE1sqk0s6p.jpg
                    production_companies: []
                    production_countries: []
                    seasons:
                      - air_date: '2024-12-18'
                        episode_count: 1
                        id: 436157
                        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
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````