Taobao APIs require an active paid subscription. The 7-day free trial includes 1688 and Weidian only. Calls without the required subscription return HTTP 403 with PAID_SUBSCRIPTION_REQUIRED. Upgrade in the developer center and continue using the same API key.

Product keyword search API

Compatibility: GET /v1/products/search still exists but is deprecated in the production handler. It uses query parameter q instead of keyword and returns standard results. New integrations use the POST JSON contract below; the legacy GET route does not support currency or the POST response_format switch.

POST /v1/products/search — keyword search returning a paginated product list.

Related: Product detail · Product response models

Request body

FieldRequiredDescription
channelYes1688 | taobao
keywordYesSearch term
page / page_sizeNoPagination (Taobao max 20 per page)
rating_startNoOptional 1688 current-page minimum trade_score; JSON number ≥ 0. Standard format only. See 1688 rating filtering for pagination, missing scores, and examples.
languageNoDefault en
filter / sortNo1688 filters (see OpenAPI)

Example

POST /v1/products/search
{
  "channel": "1688",
  "keyword": "phone case",
  "page": 1,
  "page_size": 20,
  "language": "en"
}

Response

StandardProductList — summary cards in items[]. items[].id is Taobao mi_id or 1688 offerId; pass it to product detail as id.

Taobao id / mi_id rotates periodically. Do not cache listings long-term; stale ids fail on detail, similar, and orders.

1688 ratings: current-page filtering

For POST /v1/products/search and POST /v1/products/seller/search with channel=1688, standard results include items[].trade_score, mapped from the upstream search field tradeScore as a numeric string. Missing or invalid scores are null; a real "0" is not missing. No extra product-detail calls are made.

Optional rating_start must be a finite, non-negative JSON number (for example 4.0). It keeps products with trade_score >= rating_start within the current upstream page only and excludes missing or invalid scores. Omit it to keep the full page. It requires channel=1688 and response_format=standard (the default); other channels or upstream with this parameter return HTTP 400 after authentication and access checks. Weidian is unchanged.

This is not marketplace-wide filtering or rating sorting. The upstream order is preserved; no additional pages are fetched to fill a page. experience_score_level is a separate upstream filter and is not equivalent to rating_start.

page, page_size, and total retain their unfiltered upstream meaning (total falls back to the original page count if the upstream total is absent). rating_filter.source_count is the current page count before filtering; returned_count is the count after filtering. rating_filter.scope is always current_page. The metadata is present only when filtering is requested.

A response can have fewer items or even an empty items array while more pages exist. has_next, when available, uses unfiltered upstream pagination. If it is absent, pagination is unknown; do not infer the end from the filtered item count. Continue paging with a bounded client-side page limit.

Keyword search example

POST /v1/products/search
{
  "channel": "1688",
  "keyword": "phone case",
  "page": 1,
  "page_size": 20,
  "rating_start": 4.0,
  "response_format": "standard"
}

Seller search example

POST /v1/products/seller/search
{
  "channel": "1688",
  "seller_open_id": "YOUR_1688_SELLER_OPEN_ID",
  "page": 1,
  "page_size": 20,
  "rating_start": 4.0
}

Illustrative filtered response

{
  "request_id": "req_example_rating",
  "channel": "1688",
  "keyword": "phone case",
  "page": 1,
  "page_size": 20,
  "total": 120,
  "has_next": true,
  "items": [
    {
      "id": "1234567890",
      "channel": "1688",
      "source_product_id": "1234567890",
      "source_url": "https://detail.1688.com/offer/1234567890.html",
      "title": {
        "original": "手机壳",
        "translated": "Phone case",
        "language": "en"
      },
      "price": {
        "original_currency": "CNY",
        "original_amount": 5.45,
        "display_currency": "CNY",
        "display_amount": 5.45
      },
      "image": "https://example.com/product.jpg",
      "seller": {
        "name": "Example seller"
      },
      "trade_score": "4.8"
    }
  ],
  "rating_filter": {
    "rating_start": 4,
    "scope": "current_page",
    "source_count": 20,
    "returned_count": 1
  }
}

Get Support

Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days

Email support