Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

1688 Shop Products by URL

Tài liệu API
https://api.sandbase.ai/v1/api/1688/shop/items-by-url

List a 1688 shop's products from its homepage URL, with sort, page size and category filters.

Giá
$0.014286USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
1688 shop homepage URL.
Page number, starting at 1.
Number of items requested per page. The returned count may differ.
Shop product sort order.
Optional category ID filter.
Optional category mode: 0 or 1.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

1688 Shop Products by URL API

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.

Use cases

  • Build a catalog snapshot of a supplier's shop to compare its range against other suppliers.
  • Rank a shop's products with sort set to sales to find its best sellers.
  • Track new listings by sorting with time_down and reading created_time.
  • Spot items with no recent orders by checking where orders_count_30days is 0.

Request

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.

Parameters

NameTypeRequiredDescription
shopUrlstringYes1688 shop homepage URL.
catstringNoOptional category ID filter.
catTypestringNoOptional category mode: 0 or 1.
pageintegerNoPage number, starting at 1.
pageSizeintegerNoNumber of items requested per page. The returned count may differ.
sortstringNoShop product sort order.

Example response

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
}

Response fields

FieldMeaning
items[].item_idNumeric ID of the product. Use it to look up the product in other 1688 APIs.
items[].titleProduct title as listed in the shop, in Chinese.
items[].sale_info.orders_count_30days / items[].sale_info.sale_quantityOrder 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_nameName of the shop category the product belongs to.
items[].created_timeListing time as an ISO 8601 style timestamp with a +0800 offset.
items[].img / items[].unitProduct image URL and the selling unit, such as 个.
has_next_pagetrue when more pages are available after the current one.
total_count / max_count / page / page_sizetotal_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.

Notes

  • Pass the shop homepage URL as shopUrl. The example uses a memberId query value in a winport.m.1688.com URL.
  • Increase page while has_next_page is true to read the full list. The returned count per page may differ from pageSize.
  • The response echoes the chosen sort order in sort. Use sales for best sellers or time_down for newest listings.
  • To get category IDs for the cat filter, call 1688 Shop Categories. To read one product in full, call 1688 Product Details with item_id.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
1688$0.014286 mỗi lần gọiJSON
1688$0.014286 mỗi lần gọiJSON
1688$0.014286 mỗi lần gọiJSON
1688$0.014286 mỗi lần gọiJSON
1688$0.014286 mỗi lần gọiJSON
1688$0.014286 mỗi lần gọiJSON

Hướng dẫn:Best 1688 API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API 1688 Shop Products by URL?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/1688/shop/items-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.

API 1688 Shop Products by URL có giá bao nhiêu?

$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ý.

API 1688 Shop Products by URL chấp nhận những tham số nào?

Bắt buộc: shopUrl (string). Tùy chọn: page (integer), pageSize (integer), sort (một trong số default, sales, price_up, price_down, time_up, time_down), cat (string) và catType (một trong số 0, 1). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API 1688 Shop Products by URL trả về gì?

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.

Tôi có cần tài khoản nhà phát triển hoặc API key của 1688 không?

Không. 1688 Shop Products 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.