---
title: "Get comments for a video"
method: GET
path: "/videos/{hash}/comments"
tags: ["videos"]
---

# Get comments for a video

`GET /videos/{hash}/comments`

## Request

- Base URL: `https://desaira.com/api/v1`
- URL: `https://desaira.com/api/v1/videos/{hash}/comments`
- Auth: none declared

## Path parameters

- `hash` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Comments

- object
  - `data` object
    - `comments` Comment[]
      - `content` string
      - `created_at` string, date-time
      - `id` integer
      - `liked` boolean
      - `likes` integer
      - `parent_id` integer, nullable
      - `pinned` boolean
      - `replies` Comment[]
      - `replies_count` integer
      - `user` User
        - `avatar_url` string, uri
        - `bio` string
        - `followers` integer
        - `following` integer
        - `likes` integer: Total likes received
        - `name` string
        - `username` string
        - `videos` integer: Public video count
      - `user_id` integer
      - `video_id` integer
    - `has_more` boolean

---

[API](https://skmtc.dev/desaira/apis/desaira-api.md) · [All operations](https://skmtc.dev/desaira/apis/desaira-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desaira/apis/desaira-api/revisions/e605cc477079?raw)
