urlstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
urlstringwymagane1688 product URL.
scenestringOptional dropshipping pricing scene.
Możliwe wartości: drop_shipping
optimizeTitlebooleanOptimize Chinese titles by removing non-core words.
Domyślnie: false
languagestringOutput language.
Domyślnie: "zh"
Możliwe wartości: en, zh, ru, th, pt, es, tr, vi, ja, ko
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
1688 | $0.014286 za wywołanie | JSON |
1688 | $0.014286 za wywołanie | JSON |
1688 | $0.014286 za wywołanie | JSON |
1688 | $0.014286 za wywołanie | JSON |
1688 | $0.014286 za wywołanie | JSON |
1688 | $0.014286 za wywołanie | JSON |
Przewodniki:Best 1688 API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/1688/item/detail-by-url z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.014286 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: url (string). Opcjonalne: scene (jedna z opcji: drop_shipping), optimizeTitle (boolean) i language (jedna z opcji: en, zh, ru, th, pt, es, tr, vi, ja, ko). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. 1688 Product Details by URL działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API 1688.
Ten endpoint wymaga ciągu url dla strony produktu 1688, zwykle https://detail.1688.com/offer/<item_id>.html. Jest on odrębny od Product Details według item ID. Nie wysyłaj ID zamiast URL ani nie kopiuj pól żądania z innego endpointu do tego.
Opcjonalny parametr language akceptuje kody wymienione w bieżącym schemacie, takie jak en i zh. Określa on język tekstu wyjściowego; nie zmienia cen CNY na inną walutę ani samodzielnie nie weryfikuje tłumaczenia specyfikacji. optimizeTitle to osobny parametr logiczny. Przestrzegaj schematu tego endpointu zamiast ponownie używać filtrów wyszukiwania po słowach kluczowych.
Nie. Referencja opisuje ceny na poziomie oferty, warunki progowe i dane SKU, ale pola mogą być brakujące lub puste. Potwierdź docelowe SKU, ilość zamówienia, walutę i aktualne warunki dostawcy. Podana cena lub pole dostawy nie stanowią pełnego międzynarodowego kosztu końcowego, a żądanie szczegółów nie składa zamówienia ani nie zatwierdza dostawcy.