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/callPelo preço do provedor
- 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 onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| 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 | string | 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 | string | Obrigatório | 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.
Exemplo:
10regionstringOpcionalRegion 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.
Exemplo:
UShashtagstringObrigatórioHashtag to search for (without #)
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00188/call, incluindo a taxa de serviço.