TikTok Search hashtag API
Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
$1.20/1k req, pay per request, no subscription.
{"id": "7483012938467123901","caption": "5 minute garlic butter shrimp, no cap this is the easiest weeknight dinner #recipe","author": "marcochef","views": 4820000,"likes": 612000,"comments": 8420,"shares": 31200,"createdUtc": 1758844800,... 14 more fields}
Pricing and providers
TikTok Search hashtag API pricing: one API, 2 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
Try it
Get TikTok search hashtag in one request
This sample shows 21 of 27 fields. See every field
{
"found": true,
"data": {
"nextCursor": "MTc1ODkzMTIwMA",
"videos": [
{
"id": "7483012938467123901",
"caption": "5 minute garlic butter shrimp, no cap this is the easiest weeknight dinner #recipe",
"author": "marcochef",
"views": 4820000,
"likes": 612000,
"comments": 8420,
"shares": 31200,
"createdUtc": 1758844800,
"url": "https://www.tiktok.com/@marcochef/video/7483012938467123901",
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/recipe-hero-clean~tplv-obj.jpeg?x-signature=Kq3fN1p",
"videoUrl": "https://v16-webapp.tiktok.com/8f2a1c9e0b3d4e5f6a7b8c9d0e1f2a3b/tiktok/video.mp4?x-expires=1759344000&x-signature=Kq3fN1p",
"durationSeconds": 42,
"saves": 94300,
"authorName": "Marco Delgado",
"authorUserId": "6801238450918273920",
"authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/marcochef-avatar~tplv-obj.jpeg?x-signature=Rf8pQ2m",
"authorVerified": false
},
{
"id": "7482977213904456782",
"caption": "one pan chicken and rice that tastes like your grandma made it #recipe",
"author": "sundaykitchen",
"views": 1930000,
"likes": 248000,
"comments": 3110,
"shares": 9800,
"createdUtc": 1758758400,
"url": "https://www.tiktok.com/@sundaykitchen/video/7482977213904456782",
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/recipe-second-clean~tplv-obj.jpeg?x-signature=Lm4hR2v",
"durationSeconds": 58,
"saves": 41200,
"authorName": "Priya Anand",
"authorUserId": "6712398450918204561",
"authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/sundaykitchen-avatar~tplv-obj.jpeg?x-signature=Tg9wE3n",
"authorVerified": true
},
{
"id": "7482801122938467892",
"caption": "budget meal prep for the week, $22 total #recipe #mealprep",
"author": "budgetbites",
"views": 862000,
"likes": 91400,
"comments": 1560,
"shares": 4200,
"createdUtc": 1758672000,
"url": "https://www.tiktok.com/@budgetbites/video/7482801122938467892",
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/recipe-third-clean~tplv-obj.jpeg?x-signature=Xp2qZ8k",
"durationSeconds": 71,
"saves": 18700,
"authorName": "Jasmine Cole",
"authorUserId": "6623409851029384712",
"authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/budgetbites-avatar~tplv-obj.jpeg?x-signature=Vn7yC1s",
"authorVerified": false
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-11-01 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- querystring
recipe
Hashtag or keyword to search for (without the leading #).
- cursorstring
Pagination cursor from a previous response.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle` or `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
Response
JSON, one example value per field.
- nextCursorstring
MTc1ODkzMTIwMA
Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- authorstring
marcochef
Populated whenever the provider has data for the entity.
- authorImagestring
https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/marcochef-avatar~tplv-obj.jpeg?x-signature=Rf8pQ2m
Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact.
- authorNamestring
Marco Delgado
Author's display name.
- authorUserIdstring
6801238450918273920
Author's numeric TikTok user id.
- authorVerifiedboolean
false
Whether the author's account carries a TikTok verification badge.
- captionstring
5 minute garlic butter shrimp, no cap this is the easiest weeknight dinner #recipe
Populated whenever the provider has data for the entity.
- commentsinteger
8420
- createdUtcnumber
1758844800
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- durationSecondsnumber
42
Video duration in seconds.
- hashtagsstring[]
Hashtags carried in the caption, without the leading #. Empty when the post uses none; @-mentions are excluded. Populated whenever the provider has data for the entity.
- idstring
7483012938467123901
Populated whenever the provider has data for the entity.
- imagestring
https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/recipe-hero-clean~tplv-obj.jpeg?x-signature=Kq3fN1p
URL of the video's cover image. Signed and short-lived, so the query string is load-bearing and kept intact.
- likesinteger
612000
- locationNamestringcan require
Name of the place the video is tagged at, or null when it has no location tag or the serving source does not report it.
- savesinteger
94300
Save count.
- sharesinteger
31200
- soundAuthorstringcan require
Credited author of the sound. Null when the serving source does not report it.
- soundClipIdstring
Id of the sound the video uses. Pass it to tiktok.song or tiktok.song_videos as clipId. Populated whenever the provider has data for the entity.
- soundTitlestringcan require
Name of the sound. "original sound" means the creator's own audio rather than a licensed track. Null when the serving source does not report it.
- urlstring
https://www.tiktok.com/@marcochef/video/7483012938467123901
Canonical TikTok URL of the video.
- videoUrlstring
https://v16-webapp.tiktok.com/8f2a1c9e0b3d4e5f6a7b8c9d0e1f2a3b/tiktok/video.mp4?x-expires=1759344000&x-signature=Kq3fN1p
Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
- viewsinteger
4820000
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the TikTok Search hashtag API
The AnyAPI TikTok Search hashtag API returns TikTok search hashtag data as normalized JSON from one POST call to /v1/run/tiktok.search_hashtag. Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of TikTok search hashtag calls through AnyAPI succeeded, with a median response time of 4.8 seconds across 2,174 measured calls.