TikTok Shop store products by store URL
scrapecreators.x.v1-tiktok-shop-productsLists all products from a specific TikTok Shop store by its URL.
- Price
- $0.00188/callAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-products?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fstore%2Fgoli-nutrition%2F7495794203056835079Preview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
url | cadena | Obligatorio | The TikTok Shop store URL. | https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079 |
cursor | cadena | Opcional | Cursor parameter from the previous response to retrieve the next page of products. Omit for the first page. | |
region | cadena | Opcional | Region to get shop products from. Defaults to US if not provided. Non-US regions are not reliable right now and may return `not_found` or limited catalog data even when the shop appears in search. Sorry for the inconv... | US |
sort_by | cadena | Opcional | Sort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`. | top |
- Parámetros de consulta
urlcadenaObligatorioThe TikTok Shop store URL.
Ejemplo:
https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079cursorcadenaOpcionalCursor parameter from the previous response to retrieve the next page of products. Omit for the first page.
regioncadenaOpcionalRegion to get shop products from. Defaults to US if not provided. Non-US regions are not reliable right now and may return `not_found` or limited catalog data even when the shop appears in search. Sorry for the inconv...
Ejemplo:
USsort_bycadenaOpcionalSort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`.
Ejemplo:
top
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-products?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fstore%2Fgoli-nutrition%2F7495794203056835079' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-products?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fstore%2Fgoli-nutrition%2F7495794203056835079",
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-products?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fstore%2Fgoli-nutrition%2F7495794203056835079", {
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.