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/callAu prix du fournisseur
- 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 onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
trim | booléen | Facultatif | Set to true to get a trimmed response | |
cursor | nombre | Facultatif | Cursor to get more videos. Get 'cursor' from previous response. | 10 |
region | chaîne | Facultatif | 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 | chaîne | Obligatoire | Hashtag to search for (without #) | |
- Paramètres de requête
trimbooléenFacultatifSet to true to get a trimmed response
cursornombreFacultatifCursor to get more videos. Get 'cursor' from previous response.
Exemple :
10regionchaîneFacultatifRegion 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.
Exemple :
UShashtagchaîneObligatoireHashtag to search for (without #)
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00188/call, frais de service inclus.