Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

JD.com Shop Products

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

Cena
$0.028571USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
A unique shop identifier on JD.com (Shop ID).
Page number for the paginated shop product list.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
JD.com$0.028571 za wywołanieJSON
JD.com$0.028571 za wywołanieJSON
JD.com$0.021429 za wywołanieJSON
JD.com$0.028571 za wywołanieJSON
JD.com$0.021429 za wywołanieJSON
JD.com$0.021429 za wywołanieJSON

Pytania

FAQ

Jak używać API JD.com Shop Products?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/jd/shop/items z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API JD.com Shop Products?

$0.028571 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API JD.com Shop Products?

Wymagane: shopId (string). Opcjonalne: page (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API JD.com Shop Products?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego JD.com lub klucza API?

Nie. JD.com Shop Products działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API JD.com.