urlstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
urlstringobbligatorioTikTok 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.
Predefinito: "top"
Valori possibili: 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.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok Shop Store ProductsQuesta API TikTok Shop | Da $0.0012 per chiamata | JSON |
TikTok Shop | Da $0.0012 per chiamata | JSON |
TikTok Shop | Da $0.0055 per chiamata | JSON |
TikTok Shop | Da $0.0012 per chiamata | JSON |
TikTok Shop | Da $0.00095 per chiamata | JSON |
TikTok Shop | Da $0.00095 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok-shop/shop-products con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: url (string). Facoltativi: cursor (string), region (string), sortBy (uno tra top, new_releases) e requireFields (array). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. TikTok Shop Store Products funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok Shop.