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

# Latest

> This endpoint is used to get the newest TV show ID.



## OpenAPI

````yaml api-reference/TMDB.json get /3/tv/latest
openapi: 3.0.3
info:
  title: The Movie Database
  description: "# About\n\nThe Movie Database (TMDB) is a _community built_ movie and TV database. Every piece of data has been added by our amazing community dating back to 2008. TMDB's strong _international focus_ and breadth of data is largely unmatched and something we're incredibly proud of\n\nAlong with extensive metadata for movies, TV shows and people, we also offer one of the best selections of high resolution posters and backdrops. On average, over 1,000 images are added every single day.\n\n# Getting Started\n\nWelcome to version 3 (v3) of Ihe Movie Database(TMDB)API. This documentation serves as a guide to kick- start your experience with the world's largest movie database,\_Operating under the REST architecture. this API has become familiar to developers over the years, owing to its resemblance to the well-known web request and response pattern and its utillization of JSON as the preferred syntax for delivering responses.\n\nHere, you'll find information on all your favorite movies, including ratings, release dates, and much more. However, before you begin, be sure to explore the introductory pages, which include the Authentication page and the Errors & status code page.\_\n\n# Authentication \n\nBefore you can use the TMBD API, you need to generate your API Key - which is how you authenticate with the API.\nTo get an API key, you need to sign up at the officlal TMDB homepage. To do sign up, follow the steps below\_\n\n1. Navigate to the TMBD sign up page.\n\n2. After submitting your requested details, verify your account to  login.\n3. Once you are logged in, you can now access your profile page containing information such as your most watched genres, and other recent activities.\n4. At the right corner of your profile page, navigate to your profile  avatar and select the Settings options.\n5. On the settings page, navigate to the API option at the left corner menu.\n6. From the following options, chose the plan that suits you, The options include Developer and Professional. Both plans have their advantages listed below them.\n7.\_Once you select a plan, you'll fill out the form which would collect information about the API usage. information requested would include name of applicaton, it's url, etc.\n8. Once completed, you would be redirected to a new page where you'll  see your generated API Key, Or check the notification icon for an instant message delivering your API key with additional informatian on the next steps to take."
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - apikey: []
tags:
  - name: Getting Started
  - name: Account
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Authentication
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Certifications
  - name: Changes
  - name: Collections
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Companies
  - name: Configuration
  - name: Credits
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Discover
  - name: Find
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Genres
  - name: Keywords
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Lists
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Movie Lists
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Movies
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Networks
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: People Lists
  - name: People
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Reviews
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Search
  - name: Trending
  - name: TV Series Lists
  - name: TV Series
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: TV Seasons
  - name: TV Episodes
  - name: TV Episode Groups
    description: >-
      [A guide to getting required parameters.
      ](https://docs.google.com/document/d/1nfEEA8uv1vq5trPMhXfp7PPh97u77NUgMi_6NCslnLo/edit?usp=sharing)
  - name: Watch Provider
paths:
  /3/tv/latest:
    get:
      tags:
        - TV Series
      summary: Latest
      description: This endpoint is used to get the newest TV show ID.
      operationId: latest2
      responses:
        '200':
          description: OK
          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: Wed, 18 Dec 2024 15:26:14 GMT
            ETag:
              schema:
                type: string
                example: W/"2fe9dd60f32e635398cb0a5ac1c3b186"
            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 e89d95d090c0c86ecc7b8930e434625c.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: oyJ7x0zZk-dtISCPXSk92V5SorbWy5YeSZpOI1mII3zYEPkZsgyDDA==
            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:
                    nullable: true
                    example: null
                  created_by:
                    type: array
                    items: {}
                    example: []
                  episode_run_time:
                    type: array
                    items: {}
                    example: []
                  first_air_date:
                    type: string
                    example: '2016-06-26'
                  genres:
                    type: array
                    items: {}
                    example: []
                  homepage:
                    type: string
                    example: ''
                  id:
                    type: number
                    example: 279824
                  in_production:
                    type: boolean
                    example: true
                  languages:
                    type: array
                    items: {}
                    example: []
                  last_air_date:
                    type: string
                    example: '2016-06-26'
                  last_episode_to_air:
                    type: object
                    properties:
                      air_date:
                        type: string
                        example: '2018-02-04'
                      episode_number:
                        type: number
                        example: 2
                      episode_type:
                        type: string
                        example: standard
                      id:
                        type: number
                        example: 5843361
                      name:
                        type: string
                        example: Episode 2
                      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: 279824
                      still_path:
                        nullable: true
                        example: null
                      vote_average:
                        type: number
                        example: 0
                      vote_count:
                        type: number
                        example: 0
                  name:
                    type: string
                    example: Csokis Répa
                  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: HU
                    example:
                      - HU
                  original_language:
                    type: string
                    example: hu
                  original_name:
                    type: string
                    example: Csokis Répa
                  overview:
                    type: string
                    example: ''
                  popularity:
                    type: number
                    example: 0
                  poster_path:
                    nullable: true
                    example: null
                  production_companies:
                    type: array
                    items: {}
                    example: []
                  production_countries:
                    type: array
                    items: {}
                    example: []
                  seasons:
                    type: array
                    items:
                      type: object
                      properties:
                        air_date:
                          type: string
                          example: '2016-06-26'
                        episode_count:
                          type: number
                          example: 2
                        id:
                          type: number
                          example: 433817
                        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: '2016-06-26'
                        episode_count: 2
                        id: 433817
                        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:
                OK:
                  value:
                    adult: false
                    backdrop_path: null
                    created_by: []
                    episode_run_time: []
                    first_air_date: '2016-06-26'
                    genres: []
                    homepage: ''
                    id: 279824
                    in_production: true
                    languages: []
                    last_air_date: '2016-06-26'
                    last_episode_to_air:
                      air_date: '2018-02-04'
                      episode_number: 2
                      episode_type: standard
                      id: 5843361
                      name: Episode 2
                      overview: ''
                      production_code: ''
                      runtime: null
                      season_number: 1
                      show_id: 279824
                      still_path: null
                      vote_average: 0
                      vote_count: 0
                    name: Csokis Répa
                    networks: []
                    next_episode_to_air: null
                    number_of_episodes: 1
                    number_of_seasons: 1
                    origin_country:
                      - HU
                    original_language: hu
                    original_name: Csokis Répa
                    overview: ''
                    popularity: 0
                    poster_path: null
                    production_companies: []
                    production_countries: []
                    seasons:
                      - air_date: '2016-06-26'
                        episode_count: 2
                        id: 433817
                        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:
    apikey:
      type: apiKey
      name: '{{key}}'
      in: query

````