shopIdstringrequerido
The unique ID of the shop on Douyin E-commerce.
https://api.sandbase.ai/v1/api/douyin/ec/shop-itemsList the products of a Douyin shop by shop ID, page by page, with price and sales for each item.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns one page of products listed by a Douyin shop. Each item has a title, price, monthly sales, cover image and ID. The only required input is the shop ID in shopId.
month_sales across its products.product_id values to feed into item detail, SKU or comment lookups.curl -X POST "https://api.sandbase.ai/v1/api/douyin/ec/shop-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shopId": "42853938"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
shopId | string | Yes | The unique ID of the shop on Douyin E-commerce. |
page | string | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"page": 1,
"products": [
{
"cover": "https://lf26-cm.ecombdstatic.com/obj/ecom-shop-material/jpeg_m_64c6f372c524bd699…",
"month_sales": 705482,
"price": 39.9,
"product_id": "3680294078299373976",
"product_tags": [
"运费险"
],
"promotion_id": "3680296553450441933",
"title": "娇婵美白补水修颜隔离防晒乳SPF50+PA++++防紫外线补水"
}
],
"shop_id": "42853938",
"total": 81,
"total_pages": 9
}
| Field | Meaning |
|---|---|
products[].product_id | ID of the product. Use it to look up the item in other Douyin shop APIs. |
products[].title | Product title as shown in the shop, in Chinese. |
products[].price | Listed price of the product as a number, for example 39.9. |
products[].month_sales | Sales count for the product, named as a monthly figure. |
products[].cover | URL of the product cover image. |
products[].product_tags | List of tags shown on the product, such as shipping insurance and return policy labels. |
products[].promotion_id | ID of the promotion linked to the product. |
page / total_pages | Current page number and the total number of pages for this shop. |
total | Total number of products found for the shop. |
shop_id | ID of the shop that was queried. |
page. The first request without page returns page 1. Stop when page reaches total_pages.product_id is a long numeric string. Keep it as a string to avoid rounding.product_id for full item data, or Douyin Shop Item SKUs for its variants.$0.028571 per successful call. 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/douyin/ec/shop-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"shopId": "42853938"
}'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.
shopIdstringrequeridoThe unique ID of the shop on Douyin E-commerce.
pagestringPage number for pagination.
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 |
|---|---|---|
Douyin Shop ItemsEsta API Douyin | $0.028571 por llamada | JSON |
Douyin | $0.025714 por llamada | JSON |
Douyin | $0.025714 por llamada | JSON |
Douyin | $0.035714 por llamada | JSON |
Douyin | $0.035714 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/ec/shop-items 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.
$0.028571 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: shopId (string). Opcionales: page (string). 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. Douyin Shop Items 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 Douyin por separado.