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

# Keyword

> This endpoint is used to get a keyword_id.



## OpenAPI

````yaml api-reference/openapi3.json get /3/search/keyword
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/search/keyword:
    get:
      tags:
        - KEYWORDS
      summary: Keyword
      description: This endpoint is used to get a keyword_id.
      operationId: keyword
      parameters:
        - name: query
          in: query
          description: This is the keyword we want to search for in the database.
          required: true
          schema:
            type: string
            example: fight
        - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: keyword
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=21402
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Thu, 02 Jan 2025 17:57:20 GMT
            ETag:
              schema:
                type: string
                example: W/"0794c42bb74fb6b87b1275e4a627657c"
            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 2f66aa06710fece8ed203ab0ea81eb56.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: p8-fHQpl720_SOrtUE1wKT-f2v6k8HCUSu5HoQ6JGcJNgaJqOfkZQQ==
            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: '596'
            x-memc-expires:
              schema:
                type: string
                example: '21402'
            x-memc-key:
              schema:
                type: string
                example: 179ccf78479debb49bec7c9ebd2be137
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: number
                    example: 1
                    description: >-
                      The current page number of the results returned by the
                      API.
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                          example: 1721
                        name:
                          type: string
                          example: fight
                          description: This is a unique identifier for each entry.
                    example:
                      - id: 1721
                        name: fight
                      - id: 4678
                        name: stick fighting
                      - id: 5380
                        name: virtual fight
                      - id: 14696
                        name: bloody fight
                      - id: 17977
                        name: underground fighting
                      - id: 18109
                        name: knife fight
                      - id: 68643
                        name: food fight
                      - id: 155464
                        name: over-the-hill fighter
                      - id: 155701
                        name: cock fighting
                      - id: 217041
                        name: fight night
                      - id: 217367
                        name: tavern fight
                      - id: 252315
                        name: fight against the rich
                      - id: 221838
                        name: women fighters
                      - id: 223071
                        name: foo fighters
                      - id: 168593
                        name: fake fight
                      - id: 256306
                        name: fight for the fallen
                      - id: 170703
                        name: snowball fight
                      - id: 224692
                        name: fighting games
                      - id: 225356
                        name: epic fights
                      - id: 174375
                        name: resistance fighter
                    description: >-
                      This is an array of objects where each object represents a
                      unique entry related to the search query.
                  total_pages:
                    type: number
                    example: 7
                    description: >-
                      This field indicates the total number of pages available
                      for the results.
                  total_results:
                    type: number
                    example: 130
                    description: >-
                      This field shows the total count of results obtained from
                      the search query.
              examples:
                keyword:
                  value:
                    page: 1
                    results:
                      - id: 1721
                        name: fight
                      - id: 4678
                        name: stick fighting
                      - id: 5380
                        name: virtual fight
                      - id: 14696
                        name: bloody fight
                      - id: 17977
                        name: underground fighting
                      - id: 18109
                        name: knife fight
                      - id: 68643
                        name: food fight
                      - id: 155464
                        name: over-the-hill fighter
                      - id: 155701
                        name: cock fighting
                      - id: 217041
                        name: fight night
                      - id: 217367
                        name: tavern fight
                      - id: 252315
                        name: fight against the rich
                      - id: 221838
                        name: women fighters
                      - id: 223071
                        name: foo fighters
                      - id: 168593
                        name: fake fight
                      - id: 256306
                        name: fight for the fallen
                      - id: 170703
                        name: snowball fight
                      - id: 224692
                        name: fighting games
                      - id: 225356
                        name: epic fights
                      - id: 174375
                        name: resistance fighter
                    total_pages: 7
                    total_results: 130
components:
  parameters:
    page:
      name: page
      in: query
      description: >-
        Indicates which page of results to return. Default is the first page
        (1).
      schema:
        type: integer
        example: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````