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

# Пошук



## OpenAPI

````yaml GET /api/search
openapi: 3.0.3
info:
  title: UAFilms API
  description: >-
    API для агрегації українського контенту. Підтримує SSE для динамічного
    завантаження джерел.
  version: 1.1.4
servers:
  - url: https://bfilms.aartzz.pp.ua
    description: Production Server
security: []
paths:
  /api/search:
    get:
      summary: Пошук контенту
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: adult
          in: query
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: Результати пошуку
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/MovieShort'
                  total_pages:
                    type: integer
        '404':
          description: Помилка пошуку
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MovieShort:
      type: object
      properties:
        id:
          type: integer
        title:
          type: string
        poster_path:
          type: string
        vote_average:
          type: number
        release_date:
          type: string
    Error:
      type: object
      properties:
        error:
          type: string
          example: CAPTCHA token missing
        details:
          type: array
          items:
            type: string
          nullable: true

````