shopIdstringrequerido
A unique shop identifier on JD.com (Shop ID).
https://api.sandbase.ai/v1/api/jd/shop/itemsList products from a JD.com shop by shop ID, page by page, to collect item IDs for follow-up lookups.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
This API returns a page of products from a JD.com shop. Each item has an ID, a product link, and a title. You send the shop ID in shopId and can add page to move through the list.
totalResults.curl -X POST "https://api.sandbase.ai/v1/api/jd/shop/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shopId": "1000278560"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
shopId | string | Yes | A unique shop identifier on JD.com (Shop ID). |
page | string | No | Page number for the paginated shop product list. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ItemList": [
{
"itemId": "100431386728",
"link": "https://item.jd.com/100431386728.html",
"title": "决色iPhone DUO蒙德里安·平衡"
}
],
"TotalPage": 24,
"shopId": "1000278560",
"shopName": "决色(DEFENSE)京东自营旗舰店",
"totalResults": 563,
"venderId": "1000278560"
}
| Field | Meaning |
|---|---|
ItemList[].itemId | JD.com item ID of the product. Use it as input for follow-up item lookups. |
ItemList[].link | Direct URL of the product page on item.jd.com. |
ItemList[].title | Product title as listed in the shop. The text is in Chinese. |
TotalPage | Total number of pages available for this shop's product list. |
totalResults | Total number of products in the shop's list. |
shopId / venderId | Identifiers of the shop. Both have the same value in this response. |
shopName | Display name of the shop. |
page as a string to read later pages. Use TotalPage to know where to stop.100431386728. Pass them to JD.com Product Details for full product data.$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/jd/shop/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"shopId": "1000278560"
}'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.
shopIdstringrequeridoA unique shop identifier on JD.com (Shop ID).
pagestringPage number for the paginated shop product list.
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 |
|---|---|---|
JD.com Shop ProductsEsta API JD.com | $0.028571 por llamada | JSON |
JD.com | $0.028571 por llamada | JSON |
JD.com | $0.021429 por llamada | JSON |
JD.com | $0.028571 por llamada | JSON |
JD.com | $0.021429 por llamada | JSON |
JD.com | $0.021429 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/jd/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. JD.com Shop 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 JD.com por separado.