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

# Details

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



## OpenAPI

````yaml api-reference/openapi3.json get /3/credit/{credit_id}
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/credit/{credit_id}:
    get:
      tags:
        - CREDIT
      summary: Details
      description: This endpoint is  used get a movie or TV credit details by ID.
      operationId: details4
      parameters:
        - name: credit_id
          in: path
          required: true
          schema:
            type: string
            example: ''
      responses:
        '200':
          description: details
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=21799
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Mon, 30 Dec 2024 16:53:23 GMT
            ETag:
              schema:
                type: string
                example: W/"70c6c89c700023e2032bf5dd95941fcd"
            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 d4b41c13595dcfd327649d8cdea72ce8.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: iQs_kPPZxvsmqgF04KsX46fpfusJWgcah_WMu84id9yrS5iI-xKvbg==
            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: HIT
            x-memc-age:
              schema:
                type: string
                example: '17'
            x-memc-expires:
              schema:
                type: string
                example: '21799'
            x-memc-key:
              schema:
                type: string
                example: 23aad0d5dc8ac858b673222348ca9aec
          content:
            application/json:
              schema:
                type: object
                properties:
                  credit_type:
                    type: string
                    example: cast
                    description: >-
                      Indicates the type of credit associated with the person in
                      the media—here it is "cast," which means the person is an
                      actor in the production.
                  department:
                    type: string
                    example: Acting
                    description: >-
                      The department where the person worked; in this case,
                      "Acting" refers to the performing arts section of the
                      production team.
                  id:
                    type: string
                    example: 52fe4250c3a36847f80149f3
                    description: >-
                      The unique identifier associated with the credit entry
                      itself, which can be referenced separately within the
                      database; here it is a unique string.
                  job:
                    type: string
                    example: Actor
                    description: Specifies the role of the individual in the department.
                  media:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                        description: >-
                          A boolean indicating whether the movie is intended for
                          adults
                      backdrop_path:
                        type: string
                        example: /hZkgoQYus5vegHoetLkCJzb17zJ.jpg
                        description: >-
                          The URL path to the movie's backdrop image (used for
                          background displays).
                      character:
                        type: string
                        example: Narrator
                        description: >-
                          The name of the character portrayed by the person in
                          the media.
                      genre_ids:
                        type: array
                        items:
                          type: number
                          example: 18
                        example:
                          - 18
                        description: >-
                          An array of genre IDs that represent the types of
                          genres the movie falls under.
                      id:
                        type: number
                        example: 550
                        description: A unique identifier for the movie.
                      media_type:
                        type: string
                        example: movie
                        description: It refers the type of media involved.
                      original_language:
                        type: string
                        example: en
                        description: The original language in which the movie was produced.
                      original_title:
                        type: string
                        example: Fight Club
                        description: The original title of the movie as it was released
                      overview:
                        type: string
                        example: >-
                          A ticking-time-bomb insomniac and a slippery soap
                          salesman channel primal male aggression into a
                          shocking new form of therapy. Their concept catches
                          on, with underground "fight clubs" forming in every
                          town, until an eccentric gets in the way and ignites
                          an out-of-control spiral toward oblivion.
                        description: A brief summary of the movie's plot.
                      popularity:
                        type: number
                        example: 115.18
                        description: >-
                          A numerical value indicating the popularity of the
                          movie, often based on user interactions and ratings.
                      poster_path:
                        type: string
                        example: /pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg
                        description: >-
                          The URL path to the movie's poster image (used for
                          display purposes).
                      release_date:
                        type: string
                        example: '1999-10-15'
                        description: >-
                          The release date of the movie in the format
                          YYYY-MM-DD.
                      title:
                        type: string
                        example: Fight Club
                        description: The title of the movie as displayed to the audience.
                      video:
                        type: boolean
                        example: false
                        description: >-
                          A boolean value indicating whether there is an
                          associated video (such as a trailer) available for the
                          movie. true means there is a video, whereas false
                          indicates there is none.
                      vote_average:
                        type: number
                        example: 8.4
                        description: The average rating of the movie based on user votes.
                      vote_count:
                        type: number
                        example: 29575
                        description: The total number of votes cast for the movie.
                  media_type:
                    type: string
                    example: movie
                    description: It refers the type of media involved.
                  person:
                    type: object
                    properties:
                      adult:
                        type: boolean
                        example: false
                        description: >-
                          A boolean indicating whether the individual is
                          associated with adult content; "false" means they are
                          not involved in adult-oriented material.
                      gender:
                        type: number
                        example: 2
                        description: >-
                          Numeric representation of the person’s gender; "2"
                          usually signifies male (based on a typical
                          classification where 1 = female, 2 = male).
                      id:
                        type: number
                        example: 819
                        description: The unique identifier for the person in the database.
                      known_for_department:
                        type: string
                        example: Acting
                        description: >-
                          Indicates the branch of work the person is most
                          recognized.
                      media_type:
                        type: string
                        example: person
                        description: >-
                          Indicates the type of the person object, identified as
                          "person."
                      name:
                        type: string
                        example: Edward Norton
                        description: The name of the individual associated with the credit.
                      original_name:
                        type: string
                        example: Edward Norton
                        description: The original name of the individual.
                      popularity:
                        type: number
                        example: 23.946
                        description: >-
                          A numerical value representing the popularity of the
                          actor.
                      profile_path:
                        type: string
                        example: /8nytsqL59SFJTVYVrN72k6qkGgJ.jpg
                        description: >-
                          The path to the profile image of the person, which
                          visually represents the individual; it suggests where
                          the profile picture can be accessed.
              examples:
                details:
                  value:
                    credit_type: cast
                    department: Acting
                    id: 52fe4250c3a36847f80149f3
                    job: Actor
                    media:
                      adult: false
                      backdrop_path: /hZkgoQYus5vegHoetLkCJzb17zJ.jpg
                      character: Narrator
                      genre_ids:
                        - 18
                      id: 550
                      media_type: movie
                      original_language: en
                      original_title: Fight Club
                      overview: >-
                        A ticking-time-bomb insomniac and a slippery soap
                        salesman channel primal male aggression into a shocking
                        new form of therapy. Their concept catches on, with
                        underground "fight clubs" forming in every town, until
                        an eccentric gets in the way and ignites an
                        out-of-control spiral toward oblivion.
                      popularity: 115.18
                      poster_path: /pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg
                      release_date: '1999-10-15'
                      title: Fight Club
                      video: false
                      vote_average: 8.4
                      vote_count: 29575
                    media_type: movie
                    person:
                      adult: false
                      gender: 2
                      id: 819
                      known_for_department: Acting
                      media_type: person
                      name: Edward Norton
                      original_name: Edward Norton
                      popularity: 23.946
                      profile_path: /8nytsqL59SFJTVYVrN72k6qkGgJ.jpg
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````