Product Search

Search products on supported marketplaces (Taobao, 1688) with pagination.

POSThttps://open.hiobuy.com/api/client/third-purchase/search

If your deployment uses a different base URL, replace `https://open.hiobuy.com` accordingly.

Request headers

NameRequiredTypeDescription
X-UuidYesstringMerchant UUID assigned to your account
LanguageNostringLocale for product titles and attributes. Default: `zh_CN`. See supported locales.

Supported locales

MarketplaceCodeLocale
Taobaozh_CNChinese
Taobaoen_USEnglish
Taobaovi_VNVietnamese
1688zh_CNChinese
1688en_USEnglish
1688ko_KRKorean
1688jaJapanese
1688ru_RURussian
1688vi_VNVietnamese
1688es_ESSpanish
1688arArabic

Request body

NameRequiredTypeDescription
keywordYesstringSearch keyword
platformYesstringMarketplace code: `taobao` (Taobao), `1688` (1688.com)
pageNostringPage index, starting at `1`. Default: `1`
page_sizeNostringPage size. Default: `20`
use_platformNostringWhether to use 1688 platform-native response fields. `0` = off, `1` = on. 1688 only. See 1688 API reference.
sortNostringSort: `bid2` price descending; `bid` price ascending; `sale2` sales descending; `sale` sales ascending
priceStartNostringMinimum price (inclusive)
priceEndNostringMaximum price (inclusive)
filterNoarraySearch filters (1688 only). See 1688 filter reference.

Example request

{
  "keyword": "handbag",
  "platform": "1688",
  "page": "1",
  "page_size": "20",
  "sort": "sale2",
  "priceStart": "100",
  "priceEnd": "800"
}

Sample response

{
  "ret": 1,
  "msg": "Success",
  "data": {
    "api_type": "taobao",
    "items": {
      "item": [
        {
          "detail_url": "https://item.taobao.com/item.htm?id=877698299628",
          "num_iid": 877698299628,
          "pic_url": "https://img.alicdn.com/imgextra/i3/2635590370/O1CN019Q9JFb1EbVZzd609G_!!4611686018427382498-0-item_pic.jpg",
          "price": "680.00",
          "sales": 0,
          "title_cn": "On My Level 女士小款手袋丨lululemon丨LW9FNDS",
          "title": "On My Level Women's Small Handbag丨Lululemon丨Lw9Fnds",
          "seller_nick": "lululemon官方旗舰店",
          "tags": [],
          "quantity": 200
        }
      ],
      "total_results": 1000
    }
  }
}

Response fields

Top level

NameTypeDescription
retnumberStatus code. `1` indicates success
msgstringStatus message
dataobjectResponse body

data.items.item[]

NameTypeDescription
detail_urlstringProduct detail page URL
num_iidintegerMarketplace product ID
pic_urlstringMain image URL
pricestringUnit price
salesintegerUnits sold (cumulative)
title_cnstringChinese title
titlestringLocalized title (per `Language` header)
seller_nickstringSeller shop name (image search may return a trace ID; use shop-nick when you have `shop_id`)
tagsarrayProduct tags
quantityintegerAvailable stock

Pagination

NameTypeDescription
data.items.total_resultsintegerTotal number of matched products

Related endpoints