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/callAl precio del proveedor
- Success rate
- 99,3 %Last 30 days · 3024 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 onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
trim | booleano | Opcional | Set to true to get a trimmed response | |
cursor | número | Opcional | Cursor to get more videos. Get 'cursor' from previous response. | 10 |
region | cadena | Opcional | 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 | cadena | Obligatorio | Hashtag to search for (without #) | |
- Parámetros de consulta
trimbooleanoOpcionalSet to true to get a trimmed response
cursornúmeroOpcionalCursor to get more videos. Get 'cursor' from previous response.
Ejemplo:
10regioncadenaOpcionalRegion 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.
Ejemplo:
UShashtagcadenaObligatorioHashtag to search for (without #)
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00188/call, incluida la tarifa de servicio.