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

# Get video by hash

`GET /videos/{hash}`

## Request

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

## Path parameters

- `hash` string, required

## Response `200`

Video metadata

- object
  - `data` Video
    - `avatar_url` string, uri: Creator avatar
    - `comments` integer
    - `content_rating` 'adult' | 'general': Site-level maturity rating ('adult' or 'general')
    - `cover_url` string, uri: Cover image JPG
    - `created_at` string, date-time
    - `description` string: Video caption including hashtags
    - `duration` number: Duration in seconds
    - `hash` string: Unique video identifier (hex)
    - `is_ai` boolean: AI-generated content flag
    - `likes` integer
    - `preview_url` string, uri: Thumbnail/preview JPG
    - `saves` integer
    - `shares` integer
    - `slug_url` string: SEO-friendly site URL path
    - `tags` string[]: Hashtag names
    - `username` string: Creator username
    - `video_url` string, uri: Direct MP4 URL
    - `views` integer

## Other responses

- `404`: Video not found or not public

---

[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)
