Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

JD.com Shop Products

Docs 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.

Prix
$0.028571USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs

Bac à sable

Entrée
A unique shop identifier on JD.com (Shop ID).
Page number for the paginated shop product list.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
JD.com$0.028571 par appelJSON
JD.com$0.028571 par appelJSON
JD.com$0.021429 par appelJSON
JD.com$0.028571 par appelJSON
JD.com$0.021429 par appelJSON
JD.com$0.021429 par appelJSON

Questions

FAQ

Comment utiliser l’API JD.com Shop Products ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/jd/shop/items avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API JD.com Shop Products ?

$0.028571 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API JD.com Shop Products accepte-t-elle ?

Obligatoire : shopId (string). Facultatif : page (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API JD.com Shop Products ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API JD.com ?

Non. JD.com Shop Products fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API JD.com séparément.