urlstringआवश्यक
1688 product URL.
https://api.sandbase.ai/v1/api/1688/item/detail-by-urlGet 1688 product details from a product URL: prices by quantity, SKUs, MOQ and supplier, in the chosen language.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns details for one 1688 product, including tiered prices, SKUs with stock, MOQ, shipping data and shop info. It needs a 1688 product URL as url. Text can come back in one of ten languages set by language.
curl -X POST "https://api.sandbase.ai/v1/api/1688/item/detail-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://detail.1688.com/offer/857511694718.html"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | 1688 product URL. |
language | string | No | Output language. |
optimizeTitle | boolean | No | Optimize Chinese titles by removing non-core words. |
scene | string | No | Optional dropshipping pricing scene. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"category_id": 1042207,
"created_at": 1732704529000,
"currency": "CNY",
"delivery_info": {
"delivery_fee": 2.0,
"location": "广东省广州市",
"location_code": "13809818",
"template_id": "11544552",
"unit_weight": 0.04
},
"detail_url": "https://itemcdn.tmall.com/1688offer/icoss694521994b36ec8ef41ad9e",
"is_sold_out": false,
"item_id": 857511694718,
"main_imgs": [
"https://cbu01.alicdn.com/img/ibank/O1CN01EGEQPZ2MG03xYboHU_!!3534549799-0-cib.jp…"
],
"mixed_batch": {
"mix_amount": 5,
"mix_begin": 0,
"mix_num": 2
},
"moq": 1,
"offer_unit": "个",
"price_info": {
"discount_price": "",
"origin_price_max": "1.60",
"origin_price_min": "1.20",
"price": "1.20",
"price_max": "1.60",
"price_min": "1.20"
}
}
| Field | Meaning |
|---|---|
title | Product title. Its language follows the language parameter. |
item_id / product_url | Numeric 1688 product ID and the canonical product page URL. |
moq | Minimum order quantity for the product. |
tiered_price_info.prices[].beginAmount / tiered_price_info.prices[].price | Price per unit (in currency) that applies once the order reaches this quantity. In the sample, the price falls from 1.60 at 1 unit to 1.20 at 2000 units. |
price_info.price_min / price_info.price_max | Lowest and highest listed unit price for the product. |
skus[].props_names / skus[].skuid | Variant name (such as color and model) and the SKU ID for each variant. |
skus[].sale_price / skus[].stock | Unit price and stock count for that SKU. |
skus[].package_info | Length, width, height, weight and volume of the packaged SKU. |
sku_props[].prop_name / sku_props[].values[].name | Variant dimensions (such as color or model) and the option values listed under each. |
shop_info.shop_name / shop_info.shop_url | Supplier shop name and the link to its shop page. |
delivery_info.delivery_fee / delivery_info.location | Shipping fee and the dispatch location of the seller. |
sale_info.sale_quantity_year | Quantity sold over the year. sale_quantity_90days can be null. |
Need candidate listings first? Search by keyword, then manually inspect the product you intend to query. Follow the Python URL lookup example for this endpoint's url and optional language fields. This request is not interchangeable with Product Details by item ID.
url from a 1688 product page, in the form https://detail.1688.com/offer/<item_id>.html.created_at and the promotion start_time values are Unix timestamps in milliseconds.sku_price_range, sale_count and discount_price can be empty, so read tiered prices from tiered_price_info.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/1688/item/detail-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://detail.1688.com/offer/857511694718.html",
"language": "zh",
"optimizeTitle": false
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यक1688 product URL.
scenestringOptional dropshipping pricing scene.
संभावित मान: drop_shipping
optimizeTitlebooleanOptimize Chinese titles by removing non-core words.
डिफ़ॉल्ट: false
languagestringOutput language.
डिफ़ॉल्ट: "zh"
संभावित मान: en, zh, ru, th, pt, es, tr, vi, ja, ko
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/1688/item/detail-by-url पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string)। वैकल्पिक: scene (drop_shipping में से एक), optimizeTitle (boolean) और language (en, zh, ru, th, pt, es, tr, vi, ja, ko में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। 1688 Product Details by URL SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से 1688 API access के लिए आवेदन करने की आवश्यकता नहीं है।
इस endpoint को 1688 product page के लिए string url चाहिए, आम तौर पर https://detail.1688.com/offer/<item_id>.html। यह item ID द्वारा Product Details से अलग है। ID को URL के बजाय न भेजें और दूसरे endpoint के request fields को यहाँ copy न करें।
वैकल्पिक language parameter वर्तमान schema में सूचीबद्ध codes स्वीकार करता है, जैसे en और zh। यह output text को उसी भाषा में माँगता है; यह CNY prices को दूसरी currency में नहीं बदलता और न ही specification के translation को independently verify करता है। optimizeTitle एक अलग boolean input है। keyword-search filters reuse करने के बजाय इस endpoint के schema का पालन करें।
नहीं। संदर्भ listing-level prices, tier conditions और SKU data का वर्णन करता है, लेकिन fields missing या empty हो सकती हैं। intended SKU, order quantity, currency और current supplier terms की पुष्टि करें। listed price या shipping field पूर्ण international landed cost नहीं है, और details request order नहीं देता या supplier approve नहीं करता।