Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

JD.com Shop Products

Documentación de la API
https://api.sandbase.ai/v1/api/jd/shop/items

List products from a JD.com shop by shop ID, page by page, to collect item IDs for follow-up lookups.

Precio
$0.028571USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
A unique shop identifier on JD.com (Shop ID).
Page number for the paginated shop product list.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

JD.com Shop Products API

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.

Use cases

  • Collect every item ID in a competitor's JD.com shop for catalog tracking.
  • Build a product list for one brand's flagship store to feed later detail lookups.
  • Count how many products a shop lists by reading totalResults.
  • Match shop product titles against your own catalog to find overlapping items.

Request

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.

Parameters

NameTypeRequiredDescription
shopIdstringYesA unique shop identifier on JD.com (Shop ID).
pagestringNoPage number for the paginated shop product list.

Example response

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"
}

Response fields

FieldMeaning
ItemList[].itemIdJD.com item ID of the product. Use it as input for follow-up item lookups.
ItemList[].linkDirect URL of the product page on item.jd.com.
ItemList[].titleProduct title as listed in the shop. The text is in Chinese.
TotalPageTotal number of pages available for this shop's product list.
totalResultsTotal number of products in the shop's list.
shopId / venderIdIdentifiers of the shop. Both have the same value in this response.
shopNameDisplay name of the shop.

Notes

  • Pass page as a string to read later pages. Use TotalPage to know where to stop.
  • Item IDs are numeric strings such as 100431386728. Pass them to JD.com Product Details for full product data.
  • Call JD.com Product Comments with an item ID to read reviews for a product.

Pricing

$0.028571 per successful call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
JD.com$0.028571 por llamadaJSON
JD.com$0.028571 por llamadaJSON
JD.com$0.021429 por llamadaJSON
JD.com$0.028571 por llamadaJSON
JD.com$0.021429 por llamadaJSON
JD.com$0.021429 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de JD.com Shop Products?

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.

¿Cuánto cuesta la API de JD.com Shop Products?

$0.028571 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de JD.com Shop Products?

Requeridos: shopId (string). Opcionales: page (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de JD.com Shop Products?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de JD.com?

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.