TikTok Hashtag API
Look up a TikTok hashtag by name and get its ID, description, number of videos and total views.
- Endpoint
- POST /tiktok/get-hashtag
- Price
- 1 credit per request
- SDK
- client.tiktok.getHashtag()
- MCP tool
- tiktok_get_hashtag
curl -X POST "https://api.bridgly.app/tiktok/get-hashtag" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "hashtag": "cooking"}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/tiktok/get-hashtag", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "hashtag": "cooking", },)data = response.json()const response = await fetch("https://api.bridgly.app/tiktok/get-hashtag", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "hashtag": "cooking" }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.tiktok.getHashtag({ hashtag: "cooking"});if (res.type === "success") { console.log(res.data);}What does the TikTok Hashtag API return?
TikTok hashtag API: look up any TikTok hashtag by name and get its total views, number of videos, description and ID, as JSON. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
hashtagstringrequired- Hashtag name, with or without #, or the hashtag link, for example "cooking" or "https://www.tiktok.com/tag/cooking".
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "id": "string", "name": "string", "description": "string", "coverUrl": "string", "videoCount": 0, "viewCount": 0, "commerce": true }}What can you build with the TikTok Hashtag API?
Size a trend
See how many videos and views a hashtag has.
Pick hashtags
Compare candidate hashtags before a campaign.
Track growth
Record a hashtag’s view count over time.
TikTok Hashtag API questions
How do I see how many views a TikTok hashtag has?
Send the hashtag name, with or without the #. The response has its total views and number of videos.
How do hashtag details differ from the posts using that hashtag?
This response describes the hashtag itself, including its ID, description and reported video and view counts when available. It does not contain the individual posts. Use Hashtag Videos with the same hashtag name to inspect captions, creators and engagement on the posts TikTok lists for it.
How do I use the TikTok Hashtag API?
Send a POST request to https://api.bridgly.app/tiktok/get-hashtag with hashtag in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.tiktok.getHashtag(). AI agents connected to Bridgly over MCP can call the tiktok_get_hashtag tool.
How much does the TikTok Hashtag API cost?
Costs 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 Videos API→Find TikTok posts using a hashtag, with captions, creators, views, likes, comments and sound details. Pass the hashtag name and paginate with a cursor.
- 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 API→TikTok sound API: get a TikTok sound or song by ID, with title, artist, duration, cover, audio link and how many videos use it, as JSON.
Try the TikTok Hashtag API
100 free credits on business email, no card. Your first call takes a minute.