shopIdstringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
shopIdstringzorunluA unique shop identifier on JD.com (Shop ID).
pagestringPage number for the paginated shop product list.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
JD.com Shop ProductsBu API JD.com | $0.028571 çağrı başına | JSON |
JD.com | $0.028571 çağrı başına | JSON |
JD.com | $0.021429 çağrı başına | JSON |
JD.com | $0.028571 çağrı başına | JSON |
JD.com | $0.021429 çağrı başına | JSON |
JD.com | $0.021429 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/jd/shop/items adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.028571, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: shopId (string). İsteğe bağlı: page (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. JD.com Shop Products, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. JD.com API erişimi için ayrıca başvuru yapmanız gerekmez.