Unofficial TikTok Hashtag API — Hashtag Details
GET/api/v1/hashtag_info
Details of a hashtag — total views, number of videos, id and share link. Pass the hashtag name or its id.
| Parameter | Description | |
|---|---|---|
name | optional | Hashtag name, with or without #. Required unless id is given. |
id | optional | Hashtag id (e.g. hashtag_id from /search_hashtags). Used instead of name when given. |
format | optional | Omit for the raw ch_info object (default). clean for a trimmed subset. |
Returns
hashtag — the raw ch_info object, or trimmed with format=clean (name, hashtag_id, view_count, video_count, user_count, description, share_url).
Example Request
https://dev.omar-thing.site/api/v1/hashtag_info?name=mrbeast&format=clean&key=YOUR_API_KEY
Example Response
{
"data": {
"hashtag": {
"...": "format=clean shown; raw ch_info by default",
"description": "",
"hashtag_id": "18968654",
"is_commerce": false,
"name": "mrbeast",
"share_url": "https://www.tiktok.com/tag/mrbeast",
"user_count": 3558514,
"video_count": 3558514,
"view_count": 139030228367
}
},
"status": "success"
}Sends a live request using your API key above.
More Content endpoints
- Unofficial TikTok Posts API — List the videos a user has posted (one raw page per call, cursor-paginated).
- Unofficial TikTok Comments API — Fetch the comments on a video (id or URL).
- Unofficial TikTok Comment Replies API — All replies under one comment (one raw page per call, cursor-paginated). Get
comment_idfrom /comments. - Unofficial TikTok Stories API — Fetch a user's active stories.
- Unofficial TikTok Reposts API — List the videos a user has reposted (one raw page per call, cursor-paginated).
- Unofficial TikTok Story Highlights API — Get a user's highlights — all collections and the stories inside each.
- Unofficial TikTok Music API — Sound/music details + the videos that use it (one raw page per call, cursor-paginated). Pass a music id.
- Unofficial TikTok Hashtag Videos API — Videos posted under a hashtag (one page per call, cursor-paginated). Pass the hashtag name or its id.