Search TikTok videos by hashtag
scrapecreators.x.v1-tiktok-search-hashtagSearches for TikTok videos under a specific hashtag — useful for finding content by topic or trend.
- Price
- $0.00188/callAt provider cost
- Success rate
- 99.3%Last 30 days · 3,024 calls
- Latency p50
- 4.6 sp95 9.1 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-search-hashtag?region=USPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
trim | boolean | Optional | Set to true to get a trimmed response | |
cursor | number | Optional | Cursor to get more videos. Get 'cursor' from previous response. | 10 |
region | string | Optional | Region the proxy will be set to. Note: this isn't going to grab you all tiktoks from this region, you're just setting the proxy there. | US |
hashtag | string | Required | Hashtag to search for (without #) | |
- Query parameters
trimbooleanOptionalSet to true to get a trimmed response
cursornumberOptionalCursor to get more videos. Get 'cursor' from previous response.
Example:
10regionstringOptionalRegion the proxy will be set to. Note: this isn't going to grab you all tiktoks from this region, you're just setting the proxy there.
Example:
UShashtagstringRequiredHashtag to search for (without #)
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-search-hashtag?region=US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-search-hashtag?region=US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-search-hashtag?region=US", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.