> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zilodata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Search the content of the platform, like search video, music etc.



## OpenAPI

````yaml api-reference/spotify-openapi.json get /api/v1/search
openapi: 3.1.0
info:
  title: Spotify APIs
  description: Spotify API Documentation
  version: 1.0.0
servers:
  - url: https://spotify-api31.p.rapidapi.com
security: []
paths:
  /api/v1/search:
    get:
      tags:
        - Explore
      summary: Search
      description: Search the content of the platform, like search video, music etc.
      operationId: getApiV1Search
      parameters:
        - in: query
          name: keyword
          schema:
            type: string
            description: Search keyword for tracks, artists, albums
            example: despacito
          required: true
        - in: query
          name: offset
          schema:
            type: number
            description: Offset for pagination
            example: 0
          required: false
        - in: query
          name: limit
          schema:
            type: number
            minimum: 1
            maximum: 100
            default: 20
            description: Number of results to return
            example: 20
          required: false
        - in: query
          name: filterBy
          schema:
            type: string
            enum:
              - song
              - playlist
              - album
              - artist
              - podcast_show
              - profile
              - genres_mood
            description: Type of search
            example: song
            default: song
          required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Success
                  statusCode:
                    type: number
                    example: 200
                  pagination:
                    type: object
                    properties:
                      total:
                        type: number
                        example: 100
                      hasMore:
                        type: boolean
                        example: true
                      continuation:
                        type:
                          - string
                          - 'null'
                        description: Continuation token for pagination
                        example: CDsQ8FsiEwje95_F1pmRAxXlsykDHUX
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Track ID
                          example: 6habFhsOp2NvshLv26DqMb
                        name:
                          type: string
                          description: Track name
                          example: Despacito
                        uri:
                          type: string
                          description: Spotify track URI
                          example: spotify:track:6habFhsOp2NvshLv26DqMb
                        duration:
                          type: number
                          description: Track duration in milliseconds
                          example: 229360
                        artists:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                                description: Artist name
                                example: Luis Fonsi
                              uri:
                                type: string
                                description: Spotify artist URI
                                example: spotify:artist:4V8Sr092TqfHkfAA5fXXqG
                            required:
                              - name
                              - uri
                          description: Array of artists for this track
                          example:
                            - name: Luis Fonsi
                              uri: spotify:artist:4V8Sr092TqfHkfAA5fXXqG
                            - name: Daddy Yankee
                              uri: spotify:artist:4VMYDCV2IEDYJArk749S6m
                        album:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Album ID
                              example: 5C0YLr4OoRGFDaqdMQmkeH
                            name:
                              type: string
                              description: Album name
                              example: VIDA
                            uri:
                              type: string
                              description: Spotify album URI
                              example: spotify:album:5C0YLr4OoRGFDaqdMQmkeH
                            coverArt:
                              type: array
                              items:
                                type: object
                                properties:
                                  url:
                                    type: string
                                    description: Album cover image URL
                                    example: >-
                                      https://i.scdn.co/image/ab67616d00001e02ef0d4234e1a645740f77d59c
                                  width:
                                    type: number
                                    description: Image width in pixels
                                    example: 300
                                  height:
                                    type: number
                                    description: Image height in pixels
                                    example: 300
                                required:
                                  - url
                                  - width
                                  - height
                              description: Array of album cover images in different sizes
                              example:
                                - url: >-
                                    https://i.scdn.co/image/ab67616d00001e02ef0d4234e1a645740f77d59c
                                  width: 300
                                  height: 300
                                - url: >-
                                    https://i.scdn.co/image/ab67616d00004851ef0d4234e1a645740f77d59c
                                  width: 64
                                  height: 64
                                - url: >-
                                    https://i.scdn.co/image/ab67616d0000b273ef0d4234e1a645740f77d59c
                                  width: 640
                                  height: 640
                          required:
                            - id
                            - name
                            - uri
                          description: Album information for this track
                        playability:
                          type: object
                          properties:
                            playable:
                              type: boolean
                              description: Whether the track is playable
                              example: true
                            reason:
                              type: string
                              description: Playability reason
                              example: PLAYABLE
                          required:
                            - playable
                            - reason
                          description: Track playability information
                        contentRating:
                          type: object
                          properties:
                            label:
                              type: string
                              description: Content rating label
                              example: NONE
                          required:
                            - label
                          description: Content rating information
                      required:
                        - id
                        - name
                        - uri
                        - duration
                        - artists
                    description: Array of track search results
                required:
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bad request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Invalid API key
        '403':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      You are not subscribed to this API, please subscribe
                      before using
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Internal Server Error
                  status_code:
                    type: number
                    example: 500
                  cost:
                    type: number
                    example: 0
                  explain:
                    type: string
                    example: Internal Server Error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: API Key

````