> ## 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.

# Search by Hashtag

> Searches YouTube for content matching a specific hashtag and returns matching videos with title, URL, thumbnail, view count (views), publish date, duration, and channel info. Supports pagination via continuationToken and filtering to return all content types or only shorts.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `hashtag` | `string` | Yes | Hashtag to search for |
| `continuationToken` | `string` | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |
| `type` | `string` | No | Search for all types of content or only shorts |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "videos": [
    {
      "type": "video",
      "id": "jXMISgQq9MM",
      "url": "https://www.youtube.com/watch?v=jXMISgQq9MM",
      "title": "Epic fails 🤣🤣🤣 #shorts #funny #fails",
      "description": "",
      "thumbnail": "https://i.ytimg.com/vi/jXMISgQq9MM/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AG2CIACgA-KAgwIABABGGUgXyhVMA8=&rs=AOn4CLC1HXfxzLayoVBdicS5DIUQh9zGcQ",
      "channel": {
        "id": "UCvUzWu1Whyw1FWuLl9GOo_g",
        "title": "ZZang Funny",
        "thumbnail": "https://yt3.ggpht.com/rcZKcfewHTzkauGknat3NeC53rGBofYDbL8AjFkwvsk2fXzM1clht7OTn9-1IIPnmbeZkrNGdxI=s68-c-k-c0x00ffffff-no-rj"
      },
      "viewCountText": "22,668,056 views",
      "viewCountInt": 22668056,
      "publishedTimeText": "4 weeks ago",
      "publishedTime": "2025-01-04T23:12:42.919Z",
      "lengthText": "1:00",
      "lengthSeconds": 60,
      "badges": []
    }
  ],
  "continuationToken": "4qmFsgLtBRIJRkVoYX...."
}
}
```


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