shopUrlstring필수
1688 shop homepage URL.
https://api.sandbase.ai/v1/api/1688/shop/items-by-urlList a 1688 shop's products from its homepage URL, with sort, page size and category filters.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns a page of products from a 1688 shop, including title, image, category, unit and sales counts for each item. It needs the shop homepage URL as shopUrl.
sort set to sales to find its best sellers.time_down and reading created_time.orders_count_30days is 0.curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/items-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shopUrl": "https://winport.m.1688.com/page/index.html?memberId=b2b-35345497994841a"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
shopUrl | string | Yes | 1688 shop homepage URL. |
cat | string | No | Optional category ID filter. |
catType | string | No | Optional category mode: 0 or 1. |
page | integer | No | Page number, starting at 1. |
pageSize | integer | No | Number of items requested per page. The returned count may differ. |
sort | string | No | Shop product sort order. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"has_next_page": true,
"items": [
{
"category_name": "手机保护套",
"created_time": "2025-10-20T14:58:00+0800",
"img": "https://cbu01.alicdn.com/img/ibank/O1CN01cj5gcs2MG09GeflrL_!!3534549799-0-cib.31…",
"item_id": 986450227729,
"price": "3.5",
"price_info": {
"drop_ship_price": "3.5",
"wholesale_price": "3.5"
},
"sale_info": {
"orders_count_30days": 965,
"sale_quantity": 5412
},
"title": "精孔肤感磁吸简约适用iphone16手机壳苹果18PROMAX透黑防摔保护套",
"unit": "个"
}
],
"max_count": 3000,
"page": 1,
"page_size": 20,
"price_end": null,
"price_start": null,
"shop_cat_id": "",
"sort": "default",
"total_count": 1063
}
| Field | Meaning |
|---|---|
items[].item_id | Numeric ID of the product. Use it to look up the product in other 1688 APIs. |
items[].title | Product title as listed in the shop, in Chinese. |
items[].sale_info.orders_count_30days / items[].sale_info.sale_quantity | Order count for the last 30 days and the total sold quantity. The 30-day count can be 0 while the total is high. |
items[].category_name | Name of the shop category the product belongs to. |
items[].created_time | Listing time as an ISO 8601 style timestamp with a +0800 offset. |
items[].img / items[].unit | Product image URL and the selling unit, such as 个. |
has_next_page | true when more pages are available after the current one. |
total_count / max_count / page / page_size | total_count is the number of products reported for the shop. max_count is returned alongside it. page and page_size echo the current page number and page size. |
shopUrl. The example uses a memberId query value in a winport.m.1688.com URL.page while has_next_page is true to read the full list. The returned count per page may differ from pageSize.sort. Use sales for best sellers or time_down for newest listings.cat filter, call 1688 Shop Categories. To read one product in full, call 1688 Product Details with item_id.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/items-by-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"shopUrl": "https://winport.m.1688.com/page/index.html?memberId=b2b-35345497994841a",
"pageSize": 20
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
shopUrlstring필수1688 shop homepage URL.
pageintegerPage number, starting at 1.
기본값: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
기본값: 20
sortstringShop product sort order.
기본값: "default"
가능한 값: default, sales, price_up, price_down, time_up, time_down
catstringOptional category ID filter.
catTypestringOptional category mode: 0 or 1.
가능한 값: 0, 1
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/1688/shop/items-by-url에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.014286, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: shopUrl (string). 선택: page (integer), pageSize (integer), sort(default, sales, price_up, price_down, time_up, time_down 중 하나), cat (string) 및 catType(0, 1 중 하나). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. 1688 Shop Products by URL은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. 1688 API 액세스를 별도로 신청할 필요는 없습니다.