> ## 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 a credit by ID

> This endpoint is used to get a movie or TV credit details by its ID.



## OpenAPI

````yaml api-reference/openapi.yaml get /3/credit/6024a814c0ae36003d59cc3c
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/credit/6024a814c0ae36003d59cc3c:
    get:
      tags:
        - Credit
      summary: Get a credit by ID
      description: This endpoint is used to get a movie or TV credit details by its ID.
      operationId: getACreditById
      responses:
        '200':
          description: Get movie credit
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=24263
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Sun, 08 Dec 2024 12:16:20 GMT
            ETag:
              schema:
                type: string
                example: W/"1db0c8ed90aab4737a77c5323cdc629d"
            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 9dd6e31c18688721d37b84c527ff8fda.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: AuyuboqUoHVAIgvmZt7R06TiMeIRQHDgN4TRLcNGv--MYDgl82JGgQ==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: JNB51-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            x-memc:
              schema:
                type: string
                example: HIT
            x-memc-age:
              schema:
                type: string
                example: '377'
            x-memc-expires:
              schema:
                type: string
                example: '24263'
            x-memc-key:
              schema:
                type: string
                example: 5634932bd896699b1f8087feded7557b
          content:
            application/json:
              schema:
                type: object
                properties:
                  credit_type:
                    type: string
                    example: cast
                  department:
                    type: string
                    example: Acting
                  id:
                    type: string
                    example: 6024a814c0ae36003d59cc3c
                  job:
                    type: string
                    example: Actor
                  media:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                      backdrop_path:
                        type: string
                        example: /lY2DhbA7Hy44fAKddr06UrXWWaQ.jpg
                      character:
                        type: string
                        example: Joel Miller
                      episodes:
                        type: array
                        items: {}
                        example: []
                      first_air_date:
                        type: string
                        example: '2023-01-15'
                      genre_ids:
                        type: array
                        items:
                          type: number
                          example: 18
                        example:
                          - 18
                      id:
                        type: number
                        example: 100088
                      media_type:
                        type: string
                        example: tv
                      name:
                        type: string
                        example: The Last of Us
                      origin_country:
                        type: array
                        items:
                          type: string
                          example: US
                        example:
                          - US
                      original_language:
                        type: string
                        example: en
                      original_name:
                        type: string
                        example: The Last of Us
                      overview:
                        type: string
                        example: >-
                          Twenty years after modern civilization has been
                          destroyed, Joel, a hardened survivor, is hired to
                          smuggle Ellie, a 14-year-old girl, out of an
                          oppressive quarantine zone. What starts as a small job
                          soon becomes a brutal, heartbreaking journey, as they
                          both must traverse the United States and depend on
                          each other for survival.
                      popularity:
                        type: number
                        example: 143.839
                      poster_path:
                        type: string
                        example: /uKvVjHNqB5VmOrdxqAt2F7J78ED.jpg
                      seasons:
                        type: array
                        items:
                          type: object
                          properties:
                            air_date:
                              type: string
                              nullable: true
                              example: null
                            episode_count:
                              type: number
                              example: 2
                            id:
                              type: number
                              example: 405376
                            media_type:
                              type: string
                              example: tv_season
                            name:
                              type: string
                              example: Season 2
                            overview:
                              type: string
                              example: >-
                                After five years of peace following the events
                                of the first season, Joel and Ellie's collective
                                past catches up to them, drawing them into
                                conflict with each other and a world even more
                                dangerous and unpredictable than the one they
                                left behind.
                            poster_path:
                              type: string
                              example: /5J8173tQf88hm6oCAxe0AlTVzy4.jpg
                            season_number:
                              type: number
                              example: 2
                            show_id:
                              type: number
                              example: 100088
                            vote_average:
                              type: number
                              example: 0
                        example:
                          - air_date: null
                            episode_count: 2
                            id: 405376
                            media_type: tv_season
                            name: Season 2
                            overview: >-
                              After five years of peace following the events of
                              the first season, Joel and Ellie's collective past
                              catches up to them, drawing them into conflict
                              with each other and a world even more dangerous
                              and unpredictable than the one they left behind.
                            poster_path: /5J8173tQf88hm6oCAxe0AlTVzy4.jpg
                            season_number: 2
                            show_id: 100088
                            vote_average: 0
                          - air_date: '2023-01-15'
                            episode_count: 9
                            id: 144593
                            media_type: tv_season
                            name: Season 1
                            overview: >-
                              After a global pandemic destroys civilization, a
                              hardened survivor takes charge of a 14-year-old
                              girl who may be humanity's last hope.
                            poster_path: /pMfG5XIlmvCL9bQQiJKdTvmF2FW.jpg
                            season_number: 1
                            show_id: 100088
                            vote_average: 7.9
                      vote_average:
                        type: number
                        example: 8.6
                      vote_count:
                        type: number
                        example: 5162
                  media_type:
                    type: string
                    example: tv
                  person:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                      gender:
                        type: number
                        example: 2
                      id:
                        type: number
                        example: 1253360
                      known_for_department:
                        type: string
                        example: Acting
                      media_type:
                        type: string
                        example: person
                      name:
                        type: string
                        example: Pedro Pascal
                      original_name:
                        type: string
                        example: Pedro Pascal
                      popularity:
                        type: number
                        example: 102.201
                      profile_path:
                        type: string
                        example: /9VYK7oxcqhjd5LAH6ZFJ3XzOlID.jpg
              examples:
                Get movie credit:
                  value:
                    credit_type: cast
                    department: Acting
                    id: 6024a814c0ae36003d59cc3c
                    job: Actor
                    media:
                      adult: false
                      backdrop_path: /lY2DhbA7Hy44fAKddr06UrXWWaQ.jpg
                      character: Joel Miller
                      episodes: []
                      first_air_date: '2023-01-15'
                      genre_ids:
                        - 18
                      id: 100088
                      media_type: tv
                      name: The Last of Us
                      origin_country:
                        - US
                      original_language: en
                      original_name: The Last of Us
                      overview: >-
                        Twenty years after modern civilization has been
                        destroyed, Joel, a hardened survivor, is hired to
                        smuggle Ellie, a 14-year-old girl, out of an oppressive
                        quarantine zone. What starts as a small job soon becomes
                        a brutal, heartbreaking journey, as they both must
                        traverse the United States and depend on each other for
                        survival.
                      popularity: 143.839
                      poster_path: /uKvVjHNqB5VmOrdxqAt2F7J78ED.jpg
                      seasons:
                        - air_date: null
                          episode_count: 2
                          id: 405376
                          media_type: tv_season
                          name: Season 2
                          overview: >-
                            After five years of peace following the events of
                            the first season, Joel and Ellie's collective past
                            catches up to them, drawing them into conflict with
                            each other and a world even more dangerous and
                            unpredictable than the one they left behind.
                          poster_path: /5J8173tQf88hm6oCAxe0AlTVzy4.jpg
                          season_number: 2
                          show_id: 100088
                          vote_average: 0
                        - air_date: '2023-01-15'
                          episode_count: 9
                          id: 144593
                          media_type: tv_season
                          name: Season 1
                          overview: >-
                            After a global pandemic destroys civilization, a
                            hardened survivor takes charge of a 14-year-old girl
                            who may be humanity's last hope.
                          poster_path: /pMfG5XIlmvCL9bQQiJKdTvmF2FW.jpg
                          season_number: 1
                          show_id: 100088
                          vote_average: 7.9
                      vote_average: 8.6
                      vote_count: 5162
                    media_type: tv
                    person:
                      adult: false
                      gender: 2
                      id: 1253360
                      known_for_department: Acting
                      media_type: person
                      name: Pedro Pascal
                      original_name: Pedro Pascal
                      popularity: 102.201
                      profile_path: /9VYK7oxcqhjd5LAH6ZFJ3XzOlID.jpg
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````