Best Sellers

This API provides top 100 best selling products, for the given hierarchy, merchant and date combination.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Sample Response

{
    "success": true,
    "message": "",
    "errorCode": "",
    "result": {
        "data": [
            {
                "subCategory": "maternal",
                "merchantDivision": "babies & toys",
                "offerPrice": 19.9,
                "productId": null,
                "salePrice": 23.9,
                "merchant": "shopee",
                "productCodeTitle": null,
                "trendingRank": 1,
                "productImage": "",
                "merchantProductId": "301166302",
                "productCode": null,
                "articleType": null,
                "reviewCount": 52,
                "ratingsCount": "50",
                "category": "milk formula & baby food",
                "brand": "anmum",
                "title": "Anmum Materna Milk Powder Plain Milk Powder",
                "avgRating": "4.84",
                "skuInfo": [
                    {
                        "offerPrice": "19.90",
                        "salePrice": "23.90",
                        "skuId": "301166302_SGAMZ-527278139"
                    }
                ],
                "selfBrand": true,
                "previousRank": 7,
                "rankChange": 2
            }
        ],
        "total": 1,
        "type": "trendingProducts",
        "date": "2021-05-02",
        "comparedWithDate": "2021-04-26"
    }
}

Response Fields

successIndicates if API response is success or not.bool
messageResponse message. Typically populated in error scenarios.string
errorCodeError code.string
merchantMerchant name.string
productCodeTitleTitle at EAN level.string
titleTitle as seen at merchant site.string
offerPricePrice after discount.number
salePriceM.R.P.number
merchantDivisionMerchant division name.string
categoryCategory name.string
subCategorySub category name.string
articleTypeArticle type name.string
productIdShopalyst productId of the product.string
productCodeEAN.string
trendingRankBest seller rank.number
productImageImage link.string
merchantProductIdMerchant productId of the product.string
brandBrand name.string
skuInfoProduct sku level info.list
selfBrandIndicates whether its a given brand or competitor in the request.bool
errorNodesList of category nodes that had any error while fetching data from the merchant site.list
previousRankBest seller rank for the given hierarchy on the compared date. This field won’t be available if the product is not in top 100 list on the compared date.number
rankChangeAbsolute change between trendingRank and previousRank as on compared with date. This field won’t be available if previousRank is unavailable.number
reviewCountTotal review count. For products with no review count the field may be missing.number
ratingsCountTotal rating count. For products with no rating count the field may be missing.number
avgRatingAverage rating. For products with no ratings the field may be missing.number
totalNumber of products in the response.number
dateDate.string
comparedWithDateDate, that used to compare(date - 6).string

Exceptions and Error Conditions

The Bestsellers trending products API will look for matching data based on the filters applied. However, there are a few scenarios where the API may not be able to return a valid response. For example.

  • Data request for a future date.
  • Data requested for invalid merchant/merchant division combination.

In all the above scenarios, the best sellers trending products API would return with an error response.
Example:

{
  "success": false,
  "message": "You can not request for future date",
  "errorCode": "INVALID_DATE",
  "result": ""
}
Query Params
string
required

Country code (e.g. us (USA), in (India), my (Malaysia)).

string
required
Defaults to shopee

Merchant name.

string
required
Defaults to baby & toys

Merchant division name.

string

Category name (e.g. formula & food).

string

Sub category name (e.g. maternal milk).

string

Article type name (e.g. maternal milk).

string

Brand name.

string

Competitor brand name.

date
required
Defaults to 2021-05-02

Date in yyyy-mm-dd format.

Headers
string
required
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!