itemIdsstringआवश्यक
Between 1 and 10 numeric JD.com item IDs, separated by commas without spaces.
https://api.sandbase.ai/v1/api/jd/item/priceGet current JD.com prices for up to 10 product IDs in one call; pass the IDs comma-separated. One call costs the same for 1 or 10 IDs.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Get current JD.com prices for up to 10 product IDs in one call; pass the IDs comma-separated. One call costs the same for 1 or 10 IDs.
The result is returned in outputs[0].data in the platform's original structure.
curl -X POST "https://api.sandbase.ai/v1/api/jd/item/price" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemIds": "100012043978,100207440191"}'
| Name | Type | Required | Description |
|---|---|---|---|
itemIds | string | Yes | Between 1 and 10 numeric JD.com item IDs, separated by commas without spaces. |
Flat price per call. Failed calls and empty results are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/jd/item/price" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemIds": "100012043978,100207440191"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
itemIdsstringआवश्यकBetween 1 and 10 numeric JD.com item IDs, separated by commas without spaces.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
JD.com Product Priceयह API JD.com | $0.021429 प्रति कॉल | JSON |
JD.com | $0.028571 प्रति कॉल | JSON |
JD.com | $0.021429 प्रति कॉल | JSON |
JD.com | $0.028571 प्रति कॉल | JSON |
JD.com | $0.021429 प्रति कॉल | JSON |
JD.com | $0.028571 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/jd/item/price पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: itemIds (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। JD.com Product Price SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से JD.com API access के लिए आवेदन करने की आवश्यकता नहीं है।