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

# Get trending movies, shows, or anime



## OpenAPI

````yaml /openapi.yaml get /api/public/v1/catalog/trending
openapi: 3.1.0
info:
  title: PunchPlay API
  version: 1.0.0-beta.3
  description: >-
    Complete beta contract for native and third-party clients, plus the stable
    read-only public profile API. OAuth access tokens use explicit per-operation
    scopes.
  summary: Platform and public API surface for PunchPlay developers.
servers:
  - url: https://punchplay.tv
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: Authentication
  - name: Profile
  - name: Titles
  - name: History
  - name: Ratings
  - name: Lists
  - name: Collection
  - name: Playback
  - name: Calendar
  - name: Community
  - name: Notifications
  - name: Trophies
  - name: Public Catalog
  - name: Public Users
paths:
  /api/public/v1/catalog/trending:
    get:
      tags:
        - Public Catalog
      summary: Get trending movies, shows, or anime
      operationId: getPublicCatalogTrending
      parameters:
        - in: query
          name: type
          required: true
          schema:
            type: string
            enum:
              - movie
              - show
              - anime
      responses:
        '200':
          $ref: '#/components/responses/CatalogSuccess'
        '400':
          $ref: '#/components/responses/ApiError'
        '429':
          $ref: '#/components/responses/ApiError'
      security: []
components:
  responses:
    CatalogSuccess:
      description: Public catalog title cards
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CatalogResponse'
    ApiError:
      description: API error
      headers:
        X-PunchPlay-Request-Id:
          schema:
            type: string
        X-RateLimit-Limit:
          schema:
            type: integer
          description: Ceiling of the most constraining bucket for this request.
        X-RateLimit-Remaining:
          schema:
            type: integer
          description: Requests remaining in the current window.
        X-RateLimit-Reset:
          schema:
            type: integer
          description: Unix time in seconds when the current window resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    CatalogResponse:
      type: object
      required:
        - items
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CatalogTitle'
      additionalProperties: false
    ApiError:
      type: object
      required:
        - error
        - message
        - request_id
      properties:
        error:
          type: string
        message:
          type: string
        request_id:
          type:
            - string
            - 'null'
        required_scope:
          type: string
      additionalProperties: true
    CatalogTitle:
      type: object
      required:
        - id
        - tmdbId
        - type
        - category
        - isAnime
        - name
        - year
        - overview
        - posterUrl
        - backdropUrl
        - communityRating
      properties:
        id:
          type: string
        tmdbId:
          type: integer
          minimum: 1
        type:
          type: string
          enum:
            - movie
            - show
          description: >-
            Routable title kind. Anime movies remain movie and anime series
            remain show.
        category:
          type: string
          enum:
            - movie
            - show
            - anime
        isAnime:
          type: boolean
        name:
          type: string
        year:
          type: integer
        releaseDate:
          type: string
        overview:
          type: string
        posterUrl:
          type: string
        backdropUrl:
          type: string
        posterPath:
          type:
            - string
            - 'null'
        backdropPath:
          type:
            - string
            - 'null'
        popularity:
          type:
            - number
            - 'null'
        communityRating:
          type: number
        runtimeMinutes:
          type: integer
        genres:
          type: array
          items:
            type: string
        ageRating:
          type: string
        originalLanguage:
          type: string
        posterColor:
          type: string
        posterColorIsDark:
          type: boolean
      additionalProperties: false

````