urlstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
urlstringbắt buộc1688 product URL.
scenestringOptional dropshipping pricing scene.
Giá trị có thể dùng: drop_shipping
optimizeTitlebooleanOptimize Chinese titles by removing non-core words.
Mặc định: false
languagestringOutput language.
Mặc định: "zh"
Giá trị có thể dùng: en, zh, ru, th, pt, es, tr, vi, ja, ko
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
1688 Product Details by URLAPI này 1688 | $0.014286 mỗi lần gọi | JSON |
1688 | $0.014286 mỗi lần gọi | JSON |
1688 | $0.014286 mỗi lần gọi | JSON |
1688 | $0.014286 mỗi lần gọi | JSON |
1688 | $0.014286 mỗi lần gọi | JSON |
1688 | $0.014286 mỗi lần gọi | JSON |
Hướng dẫn:Best 1688 API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/1688/item/detail-by-url với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: url (string). Tùy chọn: scene (một trong số drop_shipping), optimizeTitle (boolean) và language (một trong số en, zh, ru, th, pt, es, tr, vi, ja, ko). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. 1688 Product Details by URL chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của 1688.
Endpoint này yêu cầu string url cho trang sản phẩm 1688, thường là https://detail.1688.com/offer/<item_id>.html. Nó khác với Product Details theo item ID. Đừng gửi ID thay cho URL hoặc sao chép các trường yêu cầu của endpoint khác sang endpoint này.
Tham số language tùy chọn chấp nhận các mã được liệt kê trong schema hiện tại, như en và zh. Nó yêu cầu văn bản đầu ra bằng ngôn ngữ đó; nó không chuyển giá CNY sang loại tiền khác hoặc tự xác minh bản dịch của thông số kỹ thuật. optimizeTitle là một đầu vào boolean riêng. Hãy làm theo schema của endpoint này thay vì dùng lại các bộ lọc tìm kiếm theo từ khóa.
Không. Tài liệu tham chiếu mô tả giá ở cấp listing, điều kiện theo bậc và dữ liệu SKU, nhưng các trường có thể bị thiếu hoặc trống. Hãy xác nhận SKU dự định, số lượng đặt hàng, tiền tệ và điều khoản hiện tại của nhà cung cấp. Một giá niêm yết hoặc trường vận chuyển không phải là landed cost quốc tế đầy đủ, và một yêu cầu chi tiết không đặt hàng hay phê duyệt nhà cung cấp.