TikTok Hashtag Search API
Search TikTok programmatically and get structured, ranked results.
GET request to /v1/tiktok/hashtag-search that responds with clean JSON, costs 14 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.What is the TikTok Hashtag Search API?
The TikTok Hashtag Search API lets you search and return matching results from TikTok with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.
What you get
- Ranked, structured result list
- Title, URL, author, and thumbnail per result
- Engagement metrics where available
- Configurable result limit
Try it
Fill in the parameters below and copy a ready-to-run request in your language of choice.
Parameters
curl "https://api.captapi.com/v1/tiktok/hashtag-search?q=skincare" \
-H "Authorization: Bearer capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"query": "skincare",
"totalReturned": 3,
"results": [
{
"platform": "tiktok",
"url": "https://www.tiktok.com/@kiyokobeauty/video/7653529024362237205",
"id": "7653529024362237205",
"caption": "Not all skincare ingredients play well together 👀\n\nMixing the wrong actives can lead to irritation, dryness, and breakouts—even when the ingredients themselves are great.\n\n✨ In this reel:\n✔️ Vitamin C + Niacinamide = yes\n✔️ Retinol + Niacinamide = yes\n✔️ Hyaluronic Acid + everything = yes\n⚠️ Vitamin C + Retinol = use separately\n⚠️ Retinol + BHA = alternate nights\n\nSometimes it's not that your skincare isn't working—it's that you're layering it wrong.\n\nSave this for your next skincare routine check, and send it to a friend who's mixing all the actives 💌\n\n#kbeauty #serum #serumviral #retinol",
"description": "Not all skincare ingredients play well together 👀\n\nMixing the wrong actives can lead to irritation, dryness, and breakouts—even when the ingredients themselves are great.\n\n✨ In this reel:\n✔️ Vitamin C + Niacinamide = yes\n✔️ Retinol + Niacinamide = yes\n✔️ Hyaluronic Acid + everything = yes\n⚠️ Vitamin C + Retinol = use separately\n⚠️ Retinol + BHA = alternate nights\n\nSometimes it's not that your skincare isn't working—it's that you're layering it wrong.\n\nSave this for your next skincare routine check, and send it to a friend who's mixing all the actives 💌\n\n#kbeauty #serum #serumviral #retinol",
"publishedAt": "2026-06-20T17:21:36.000Z",
"durationSeconds": 46,
"thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/o84EbWFABZ1GTe6fAAAjD9egIoDLtmIUAIgQoz~tplv-tiktokx-origin.image?dr=9636&x-expires=1783267200&x-signature=X5LtS2EYdm6766uGn77A1pxHweg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5",
"videoUrl": null,
"author": {
"username": "kiyokobeauty",
"displayName": "Kiyoko Beauty",
"url": "https://www.tiktok.com/@kiyokobeauty",
"followers": 197400,
"verified": false,
"profileImage": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/a5295edb170033395d63b8582a0c2b18~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=24d9f8a7&x-expires=1783267200&x-signature=kIZECYZ2vIovzwy5wUSklbelCkg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5"
},
"engagement": {
"views": 207700,
"likes": 14100,
"comments": 96,
"shares": 904,
"saves": 7196
},
"hashtags": [
"kbeauty",
"serum",
"serumviral",
"retinol"
],
"musicName": "original sound"
},
{
"platform": "tiktok",
"url": "https://www.tiktok.com/@itsedonna/video/7647568358941953301",
"id": "7647568358941953301",
"caption": "My skin after 7 days of targeting dark spots #inaweek #glassskin #darkspots #skintransformation #tipsskincare @Redence",
"description": "My skin after 7 days of targeting dark spots #inaweek #glassskin #darkspots #skintransformation #tipsskincare @Redence",
"publishedAt": "2026-06-04T15:51:11.000Z",
"durationSeconds": 19,
"thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oIRC7FB3A4tfAfInuqdIAIUhNAEEIATNDZnXEg~tplv-tiktokx-origin.image?dr=9636&x-expires=1783267200&x-signature=W2r3YLMUxz1dtIMVCxkWs97SdAw%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5",
"videoUrl": null,
"author": {
"username": "itsedonna",
"displayName": "Itsedonna | Skincare",
"url": "https://www.tiktok.com/@itsedonna",
"followers": 163600,
"verified": false,
"profileImage": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/cc0a588649800a2c61ca8dba4a383f3f~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=8e5cdd97&x-expires=1783267200&x-signature=TrRI44hlANqwthHul0wDsh7w8lM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5"
},
"engagement": {
"views": 1300000,
"likes": 40600,
"comments": 269,
"shares": 4245,
"saves": 17070
},
"hashtags": [
"inaweek",
"glassskin",
"darkspots",
"skintransformation",
"tipsskincare",
""
],
"musicName": "Originalton"
},
{
"platform": "tiktok",
"url": "https://www.tiktok.com/@sasainseoul/video/7657573710349569300",
"id": "7657573710349569300",
"caption": "3 skincare tips for July\n\nThis is not sponsored my real recommendation\n\nSunscreen @VT Cosmetics US \nToner @Blanc Nature US Store \nSerum @TORRIDEN US @PURITO SEOUL \nCream @mixsoon global \nCleanser @ISNTREE US @beplain 비플레인 \n\n#glowup #skincare #koreanskincare #kbeauty #glowuptips",
"description": "3 skincare tips for July\n\nThis is not sponsored my real recommendation\n\nSunscreen @VT Cosmetics US \nToner @Blanc Nature US Store \nSerum @TORRIDEN US @PURITO SEOUL \nCream @mixsoon global \nCleanser @ISNTREE US @beplain 비플레인 \n\n#glowup #skincare #koreanskincare #kbeauty #glowuptips",
"publishedAt": "2026-07-01T14:57:01.000Z",
"durationSeconds": 152,
"thumbnailUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/o0BqEUEDA8fBf4jAKqSFEPqIrAFd9RARP4CrBg~tplv-tiktokx-origin.image?dr=9636&x-expires=1783267200&x-signature=aBLZpW6POTethlq%2Bzcfngt14Lwg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5",
"videoUrl": null,
"author": {
"username": "sasainseoul",
"displayName": "sasa",
"url": "https://www.tiktok.com/@sasainseoul",
"followers": 1300000,
"verified": false,
"profileImage": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/165a20a765f3563b98bd486203099cd1~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=187ef417&x-expires=1783267200&x-signature=SgL9SrOe7MFBw4idP3k7wGYxVcQ%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5"
},
"engagement": {
"views": 425600,
"likes": 63200,
"comments": 732,
"shares": 1725,
"saves": 18106
},
"hashtags": [
"",
"",
"",
"",
"",
"",
"",
"glowup",
"skincare",
"koreanskincare",
"kbeauty",
"glowuptips"
],
"musicName": "Idyllic jazz bossa nova with piano and guitar(1298871)"
}
]
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
queryThe search query you sent.totalReturnedNumber of items returned in this response.
Results
Each item in results contains:
platformPlatform identifier (e.g. youtube, instagram).urlCanonical URL of the item.idStable platform ID for the item.captionPost caption.descriptionDescription text.publishedAtPublish date (ISO 8601).durationSecondsLength in seconds.thumbnailUrlThumbnail image URL.videoUrlDirect video file URL (CDN link).authorObject with username, displayName, url, followers, verified, profileImage.engagementObject with views, likes, comments, shares, saves.hashtagsHashtags extracted from the text.musicNameName of the soundtrack used.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Hashtag with or without the # (min 2 characters). |
| limit | integer | No | Max items to return (default 20, max 200). Billed per result. |
| cache | boolean | No | Responses are cached for 24 hours by default. Set false to bypass the cache and always fetch fresh data (default true). |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 14 credits — billed per result, so the exact amount scales with how many items you request. Repeat calls for the same request are served from cache for free (metrics refresh within ~1 hour).
tiktok_hashtag_search via @captapi/mcp. Set it up →How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/tiktok/hashtag-searchand parse the JSON response.
Use cases
Trend Discovery
Find trending content by keyword or hashtag.
Content Sourcing
Build feeds and playlists programmatically.
Monitoring
Track topics, brands, and competitors.
Research
Sample large sets of content for analysis.
Frequently asked questions
What does the TikTok Hashtag Search API do?+
The TikTok Hashtag Search API lets you search and return matching results from a public TikTok query using one GET request to /v1/tiktok/hashtag-search. It returns clean JSON — no OAuth or scraping setup required.
How many credits does the TikTok Hashtag Search API cost?+
Each successful call costs 14 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.
Do I need a TikTok API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.
Is the TikTok Hashtag Search API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.
More TikTok APIs
Ready to use the TikTok Hashtag Search API?
Sign up, grab your key, and make your first call in 60 seconds.