TikTok Hashtag Videos API
List the posts made with a TikTok hashtag, by hashtag name, in the order TikTok shows them on the hashtag page. Page through results with the `cursor` from the previous response's `nextCursor`.
- Endpoint
- POST /tiktok/get-hashtag-videos
- Price
- 1 credit per result
- SDK
- client.tiktok.getHashtagVideos()
- MCP tool
- tiktok_get_hashtag_videos
curl -X POST "https://api.bridgly.app/tiktok/get-hashtag-videos" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "hashtag": "cooking", "count": 10}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/tiktok/get-hashtag-videos", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "hashtag": "cooking", "count": 10, },)data = response.json()const response = await fetch("https://api.bridgly.app/tiktok/get-hashtag-videos", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "hashtag": "cooking", "count": 10 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.tiktok.getHashtagVideos({ hashtag: "cooking", count: 10});if (res.type === "success") { console.log(res.data);}What does the TikTok Hashtag Videos API return?
Find TikTok posts using a hashtag, with captions, creators, views, likes, comments and sound details. Pass the hashtag name and paginate with a cursor. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
hashtagstringrequired- Hashtag name, with or without #, or the hashtag link, for example "cooking" or "https://www.tiktok.com/tag/cooking".
countinteger · 1–30 · default 30- Number of results to return (1–30). Defaults to 30.
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "nextCursor": "string", "videos": [ { "id": "string", "url": "string", "description": "string", "createTime": 0, "language": "string", "duration": 0, "width": 0, "height": 0, "coverUrl": "string", "animatedCoverUrl": "string", "images": [ "string" ], "subtitles": [ { "language": "string", "format": "string", "autoGenerated": true, "url": "string" } ], "stats": { "playCount": 0, "likeCount": 0, "commentCount": 0, "shareCount": 0, "saveCount": 0, "repostCount": 0 }, "author": { "id": "string", "uniqueId": "string", "nickname": "string", "avatarUrl": "string", "signature": "string", "verified": true, "secUid": "string", "privateAccount": true, "followerCount": 0, "followingCount": 0, "heartCount": 0, "videoCount": 0 }, "sound": { "id": "string", "title": "string", "authorName": "string", "original": true, "duration": 0, "coverUrl": "string", "playUrl": "string", "album": "string", "copyrighted": true, "videoCount": 0 }, "hashtags": [ "string" ], "mentions": [ "string" ], "location": { "id": "string", "name": "string", "address": "string", "city": "string", "category": "string" }, "playlistId": "string", "isAd": true, "duetEnabled": true, "stitchEnabled": true } ] }}What can you build with the TikTok Hashtag Videos API?
Monitor campaigns
Collect posts made with your branded hashtag.
Find creators
Discover accounts posting in a niche.
Research trends
See what kind of videos a trending hashtag attracts.
TikTok Hashtag Videos API questions
Are hashtag videos sorted by date?
No. They come in the order TikTok shows them on the hashtag page, which favors popular videos.
Should I send a hashtag name or a numeric challenge ID?
Send the hashtag text in hashtag, with or without a leading #, for example cooking. You do not need to resolve a numeric ID yourself. The separate Hashtag API returns the hashtag’s details and reported aggregate counts when you need context for the posts.
Can I use these results as a complete count of a campaign’s posts?
Treat them as the posts available through TikTok’s hashtag listing, not as an exhaustive campaign census. Save video IDs to deduplicate observations, and use each post’s caption and hashtags to check relevance. A hashtag’s aggregate count and the number of posts you collect describe different things.
How do I use the TikTok Hashtag Videos API?
Send a POST request to https://api.bridgly.app/tiktok/get-hashtag-videos with hashtag in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.tiktok.getHashtagVideos(). AI agents connected to Bridgly over MCP can call the tiktok_get_hashtag_videos tool.
How much does the TikTok Hashtag Videos API cost?
Costs 1 credit per result returned, with a minimum of 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.00 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More TikTok endpoints
The same API key works on every endpoint. See all TikTok API endpoints.
- TikTok Hashtag API→TikTok hashtag API: look up any TikTok hashtag by name and get its total views, number of videos, description and ID, as JSON.
- TikTok Video Search API→TikTok video search API: search TikTok videos by keyword, with caption, creator, views, likes, comments, shares, sound and hashtags of each result, as JSON.
- TikTok Video API→TikTok video API: get any public TikTok video or photo post by ID as JSON, with caption, views, likes, comments, shares, saves, creator, sound and subtitles.
- TikTok Sound Videos API→TikTok sound videos API: list the videos that use a TikTok sound or song, by sound ID, with caption, creator, views, likes and hashtags, as JSON.
Try the TikTok Hashtag Videos API
100 free credits on business email, no card. Your first call takes a minute.