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

# Video/Short Details

> Fetches full details for a YouTube video or short, including title, description, thumbnail, view count (views), like count (likes), comment count, publish date, duration, genre, keywords, chapters, collaborators, and available caption tracks (subtitles/captions). Also returns related recommended videos in watchNextVideos and channel info for the uploader. Age-restricted videos return 403 with message: "This video is age restricted" because Posttu only uses the public logged-out YouTube source.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `url` | `string` | Yes | YouTube video or short URL |
| `language` | `string` | No | Preferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "id": "Y2Ah_DFr8cw",
  "thumbnail": "https://img.youtube.com/vi/Y2Ah_DFr8cw/maxresdefault.jpg",
  "url": "https://www.youtube.com/watch?v=Y2Ah_DFr8cw",
  "publishDate": "2019-02-22T03:19:54-08:00",
  "type": "video",
  "title": "Inside the NBA: Chuck Trolls Jussie Smollett \"Do not commit crimes with checks, use cash!\"",
  "description": null,
  "descriptionLinks": [],
  "commentCountText": "358",
  "commentCountInt": 358,
  "likeCountText": "4043",
  "likeCountInt": 4043,
  "viewCountText": "372,864",
  "viewCountInt": 372864,
  "publishDateText": "Feb 22, 2019",
  "collaborators": [],
  "channel": {
    "id": "UCWH3hing1Qb4LnkRfQdxsxQ",
    "url": "https://www.youtube.com/@afroballer8906",
    "handle": "afroballer8906",
    "title": "Afroballer"
  },
  "chapters": [],
  "watchNextVideos": [
    {
      "id": "lzDTK5kEdkM",
      "title": "Charles Barkley and Shaq FUNNIEST MOMENTS",
      "thumbnail": "https://i.ytimg.com/vi/lzDTK5kEdkM/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLAq_osvQnsGV3A7uz4L1CPTaLqppg",
      "channel": {
        "title": "SkyHooked",
        "url": "https://www.youtube.com/@SkyHooked",
        "handle": "SkyHooked",
        "id": "UCrX8GD5f_O-Cu5Y2vQuSSvw"
      },
      "publishedTimeText": "11 months ago",
      "publishedTime": "2025-02-16T19:25:39.493Z",
      "publishDateText": "11 months ago",
      "publishDate": "2025-02-16T19:25:39.493Z",
      "viewCountText": "1.8M views",
      "viewCountInt": 1800000,
      "lengthText": "18:01",
      "lengthInSeconds": 1081,
      "videoUrl": "https://www.youtube.com/watch?v=lzDTK5kEdkM"
    }
  ],
  "keywords": [],
  "genre": "People & Blogs",
  "durationMs": 348000,
  "durationFormatted": "00:05:48",
  "captionTracks": [
    {
      "baseUrl": "https://www.youtube.com/api/timedtext?v=Y2Ah_DFr8cw&ei=s5Bqab0gu8yS5w_pvOLIDw&caps=asr&opi=112496729&xoaf=5&xowf=1&hl=en&ip=0.0.0.0&ipbits=0&expire=1768616739&sparams=ip,ipbits,expire,v,ei,caps,opi,xoaf&signature=306A57ADE14FECC84B0DB13190761BCCC922AC9B.5C321C4FE7086F7AF851CA8463326E1869EE5255&key=yt8&kind=asr&lang=en",
      "name": {
        "simpleText": "English (auto-generated)"
      },
      "vssId": "a.en",
      "languageCode": "en",
      "kind": "asr",
      "isTranslatable": true,
      "trackName": ""
    }
  ]
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.