> ## 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 movies

> Get the newest movie ID.



## OpenAPI

````yaml api-reference/openapi.yaml get /3/movie/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/movie/latest:
    get:
      tags:
        - Movies
      summary: Get latest movies
      description: Get the newest movie ID.
      operationId: getLatestMovies
      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: Wed, 01 Jan 2025 22:39:05 GMT
            ETag:
              schema:
                type: string
                example: W/"1100202360ccfb751a9c54980e04e297"
            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 2a9c3dd5571ac00aa3d311336f781a62.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: 1qUq_16hTMv21UHFQbrTuTYelcumbH2MNHPVU4F56GkBwebCdOxIfw==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: CDG50-C1
            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: 8ce31d4810563febd72c1dedb3b74cce
          content:
            application/json:
              schema:
                type: object
                properties:
                  adult:
                    type: boolean
                    example: false
                  backdrop_path:
                    nullable: true
                    example: null
                  belongs_to_collection:
                    nullable: true
                    example: null
                  budget:
                    type: number
                    example: 0
                  genres:
                    type: array
                    items: {}
                    example: []
                  homepage:
                    type: string
                    example: ''
                  id:
                    type: number
                    example: 1410780
                  imdb_id:
                    nullable: true
                    example: null
                  origin_country:
                    type: array
                    items:
                      type: string
                      example: EG
                    example:
                      - EG
                  original_language:
                    type: string
                    example: ar
                  original_title:
                    type: string
                    example: جرانيتا
                  overview:
                    type: string
                    example: >-
                      A young Egyptian man travels with his family to Hurghada
                      on a work trip, where he works with foreign tourists.
                      There, he meets a woman with an Egyptian father and an
                      American mother. Despite his family's objections, he falls
                      in love and marries her after she becomes pregnant.
                      However, their marriage soon faces challenges as cultural
                      differences emerge—he is deeply rooted in Upper Egyptian
                      traditions, while she embraces a modern American
                      lifestyle.
                  popularity:
                    type: number
                    example: 0
                  poster_path:
                    nullable: true
                    example: null
                  production_companies:
                    type: array
                    items: {}
                    example: []
                  production_countries:
                    type: array
                    items: {}
                    example: []
                  release_date:
                    type: string
                    example: ''
                  revenue:
                    type: number
                    example: 0
                  runtime:
                    type: number
                    example: 99
                  spoken_languages:
                    type: array
                    items:
                      type: object
                      properties:
                        english_name:
                          type: string
                          example: Arabic
                        iso_639_1:
                          type: string
                          example: ar
                        name:
                          type: string
                          example: العربية
                    example:
                      - english_name: Arabic
                        iso_639_1: ar
                        name: العربية
                  status:
                    type: string
                    example: Released
                  tagline:
                    type: string
                    example: ''
                  title:
                    type: string
                    example: Granita
                  video:
                    type: boolean
                    example: false
                  vote_average:
                    type: number
                    example: 0
                  vote_count:
                    type: number
                    example: 0
              examples:
                New Request:
                  value:
                    adult: false
                    backdrop_path: null
                    belongs_to_collection: null
                    budget: 0
                    genres: []
                    homepage: ''
                    id: 1410780
                    imdb_id: null
                    origin_country:
                      - EG
                    original_language: ar
                    original_title: جرانيتا
                    overview: >-
                      A young Egyptian man travels with his family to Hurghada
                      on a work trip, where he works with foreign tourists.
                      There, he meets a woman with an Egyptian father and an
                      American mother. Despite his family's objections, he falls
                      in love and marries her after she becomes pregnant.
                      However, their marriage soon faces challenges as cultural
                      differences emerge—he is deeply rooted in Upper Egyptian
                      traditions, while she embraces a modern American
                      lifestyle.
                    popularity: 0
                    poster_path: null
                    production_companies: []
                    production_countries: []
                    release_date: ''
                    revenue: 0
                    runtime: 99
                    spoken_languages:
                      - english_name: Arabic
                        iso_639_1: ar
                        name: العربية
                    status: Released
                    tagline: ''
                    title: Granita
                    video: false
                    vote_average: 0
                    vote_count: 0
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````