Search TikTok Shop products by keyword
scrapecreators.x.v1-tiktok-shop-searchSearches TikTok Shop for products matching a keyword query.
- Price
- $0.00188/callPelo preço do provedor
- Success rate
- 100%Last 30 days · 1.039 calls
- Latency p50
- 3.7 sp95 5.4 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-search?query=shoesPreviewTry 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 | ||||
page | número | Opcional | Page number to retrieve | 1 |
query | string | Obrigatório | Term you want to search for | shoes |
region | string | Opcional | Region to search shop products in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent results. Sorry for the inconvenience. | US |
- Parâmetros de consulta
pagenúmeroOpcionalPage number to retrieve
Exemplo:
1querystringObrigatórioTerm you want to search for
Exemplo:
shoesregionstringOpcionalRegion to search shop products in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent results. Sorry for the inconvenience.
Exemplo:
US
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-shop-search?query=shoes' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-search?query=shoes",
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-shop-search?query=shoes", {
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.