Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

JD.com Shop Products

เอกสาร 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.

ราคา
$0.028571USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
A unique shop identifier on JD.com (Shop ID).
Page number for the paginated shop product list.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
JD.com$0.028571 ต่อการเรียกJSON
JD.com$0.028571 ต่อการเรียกJSON
JD.com$0.021429 ต่อการเรียกJSON
JD.com$0.028571 ต่อการเรียกJSON
JD.com$0.021429 ต่อการเรียกJSON
JD.com$0.021429 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ JD.com Shop Products API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/jd/shop/items โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

JD.com Shop Products API ราคาเท่าไร?

$0.028571 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

JD.com Shop Products API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: shopId (string). ตัวเลือก: page (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

JD.com Shop Products API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ JD.com ไหม?

ไม่จำเป็น JD.com Shop Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง JD.com API แยกต่างหาก