urlstringrequerido
TikTok Shop store URL (e.g. https://www.tiktok.com/shop/store/...).
https://api.sandbase.ai/v1/api/tiktok-shop/shop-productsList every product of a TikTok Shop store by URL (title, price, sales, and rating per product plus shop-level stats) with cursor pagination.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
This API returns the products of a TikTok Shop store, with title, price, sold count, and rating for each product. It also returns shop-level stats such as the shop name, shop rating, and total units sold. It needs a TikTok Shop store URL.
price against originalPrice.sortBy to new_releases.curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/shop-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | TikTok Shop store URL (e.g. https://www.tiktok.com/shop/store/...). |
cursor | string | No | Opaque pagination cursor from a previous response's nextCursor. |
region | string | No | Two-letter country code of the store's market (e.g. US). |
requireFields | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example shopRating, and it is served only by a source that returns every one |
sortBy | string | No | Product ordering within the store. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"hasMore": true,
"nextCursor": "cur_up8aGtbgaWa2lUhcuYJUcQ",
"productCount": 53,
"products": [
{
"currency": "USD",
"discountPct": 21,
"image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/2bc69aa…",
"originalPrice": 24.7,
"price": 19.47,
"productId": "1729527313880355335",
"rating": 4.5,
"reviewCount": 94624,
"sellerId": "7495794203056835079",
"soldCount": 1306640,
"title": "Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, No…",
"url": "https://www.tiktok.com/shop/pdp/1729527313880355335"
}
],
"shopName": "Goli Nutrition",
"shopRating": 4.6,
"soldCount": 5815669
},
"found": true
}
| Field | Meaning |
|---|---|
data.shopName | Display name of the store. |
data.shopRating | Average rating of the whole shop. |
data.soldCount | Total units sold by the shop, as a shop-level figure. |
data.productCount | Number of products the store lists. |
data.products[].title / data.products[].url | Product title and the link to its TikTok Shop product page. |
data.products[].price / data.products[].originalPrice | Current price and the price before discount, in the currency given in currency. |
data.products[].discountPct | Discount as a percentage off originalPrice. |
data.products[].rating / data.products[].reviewCount | Average rating of the product and the number of reviews behind it. |
data.products[].soldCount | Units sold for this product. |
data.products[].productId / data.products[].sellerId | Product ID and the ID of the store that sells it. |
sellerId in the products.data.hasMore is true, pass data.nextCursor as cursor in the next request to get the next page.sortBy accepts top (default) or new_releases.productId or url to TikTok Shop Product, or read its reviews with TikTok Shop Product Reviews.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/shop-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079",
"sortBy": "top"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
urlstringrequeridoTikTok Shop store URL (e.g. https://www.tiktok.com/shop/store/...).
cursorstringOpaque pagination cursor from a previous response's nextCursor.
regionstringTwo-letter country code of the store's market (e.g. US).
sortBystringProduct ordering within the store.
Valor predeterminado: "top"
Valores posibles: top, new_releases
requireFieldsarrayOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `shopRating`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a store that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
TikTok Shop Store ProductsEsta API TikTok Shop | Desde $0.0012 por llamada | JSON |
TikTok Shop | Desde $0.0012 por llamada | JSON |
TikTok Shop | Desde $0.0055 por llamada | JSON |
TikTok Shop | Desde $0.0012 por llamada | JSON |
TikTok Shop | Desde $0.00095 por llamada | JSON |
TikTok Shop | Desde $0.00095 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok-shop/shop-products con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: url (string). Opcionales: cursor (string), region (string), sortBy (una de top, new_releases) y requireFields (array). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. TikTok Shop Store Products funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok Shop por separado.