Category Top Products
Returns list of top products in a category, ranked by selected metrics.
Variants:
- Time-series (this endpoint):
GET /v5/shopper-sales/categories/top-products— data broken down by date for trend analysis. - Aggregated:
GET /v5/shopper-sales/categories/top-products/aggregated— a single summary across the entire date range.
Both variants accept the same input parameters. The time-series response includes a date field per record; the aggregated response omits it and returns one consolidated row.
Possible output fields:
date: Date of the data point (time-series only) (time-series only)asin: Amazon Standard Identification Number of the productname: Product namebrand: Brand name of the productcategory_id: Category ID the product belongs tocategory_name: Category name the product belongs toviews: Number of product page viewsunits_sold: Number of units soldrevenue: Revenue generated (local currency)revenue_in_usd: Revenue generated (USD)price: Product price as a stringprice_value: Product price as a numeric valueprice_last_scraped_date: Date when the price was last recordedaverage_unit_price: Average selling price per unitrating: Product rating scorereviews: Number of customer reviewsthumbnail: URL of the product thumbnail imagebest_seller_rank: Product's best seller rankbest_seller_category_id: Category ID in which the product is a best sellerbest_seller_category_name: Category name in which the product is a best sellerprime: Whether the product is available with Amazon Primeamazon_brand: Whether the product is an Amazon private label brandamazon_exclusive: Whether the product is exclusive to Amazonamazons_choice_keyword: Keyword for which this product has the "Amazon's Choice" badgesmall_business: Whether the product is from a small business sellerclimate_pledge_friendly: Whether the product has the Climate Pledge Friendly badge
Constraints:
domainandcategoryare requiredgranularitysupportsmonthlyorweekly- Supports pagination (
limit,offset,sort,asc)
This endpoint uses data credits. See the data credits guide to estimate costs.
Request
Endpoint: GET /v5/shopper-sales/categories/top-products
Query parameters
domain(string, required): Amazon domain. Supported domains: amazon.com, amazon.co.uk, amazon.it, amazon.fr, amazon.de, amazon.ca. All category IDs, brands, and ASINs are domain-specific and must match the selected domaingranularity(string): Time granularity for the returned values Allowed:monthly,weekly.start_date(string): Start date in 'YYYY-MM' or 'YYYY-MM-DD' format. For weekly granularity, automatically adjusted to the first Sunday of the specified month.end_date(string): End date in 'YYYY-MM' or 'YYYY-MM-DD' format. For weekly granularity with MTD=true, automatically set to the latest available Saturday. For weekly granularity with MTD=false, automatically adjusted to the last Saturday of the specified month.metrics(array): Comma-separated list of metrics: amazon_brand, amazon_exclusive, amazons_choice_keyword, asin, average_unit_price, best_seller_category_id, best_seller_category_name, best_seller_rank, brand, category_id, category_name, climate_pledge_friendly, name, price, price_value, price_last_scraped_date, prime, rating, revenue, revenue_in_usd, reviews, small_business, thumbnail, units_sold, views Allowed:amazon_brand,amazon_exclusive,amazons_choice_keyword,asin,average_unit_price,best_seller_category_id,best_seller_category_name,best_seller_rank,brand,category_id,category_name,climate_pledge_friendly,name,price,price_value,price_last_scraped_date,prime,rating,revenue,revenue_in_usd,reviews,small_business,thumbnail,units_sold,views.mtd(boolean): When true with weekly granularity, end_date is set to the latest available Saturday. NOT supported for monthly granularity.category(string, required): Amazon category ID (numeric string, e.g., '679182011'). Category IDs are domain-specific and cannot be used across different Amazon domains. Use the category search endpoint to find valid IDs for your domainformat(string): Format in which the reply should be returned Allowed:json,xml.limit(integer): Sets how many results to return.offset(integer): Defines the number of results to skipasc(boolean): Orders the results by ascending or descendingsort(string): Selects a specific metric to order results by
Header: api-key (string) — your API key.
Example request
curl --location 'https://api.similarweb.com/v5/shopper-sales/categories/top-products?domain=YOUR_VALUE&category=YOUR_VALUE' --header 'api-key: YOUR_API_KEY'
Response — 200
Returns a data array, each item with:
date: Date of the requested data in 'YYYY-MM' or 'YYYY-MM-DD' formatamazon_brand: Amazon brand nameamazon_exclusive: Whether the product is Amazon exclusiveamazons_choice_keyword: Amazon's Choice keywordasin: Amazon Standard Identification Numberaverage_unit_price: Average unit pricebest_seller_category_id: Best seller category IDbest_seller_category_name: Best seller category namebest_seller_rank: Best seller rankbrand: Product brand namecategory_id: Amazon category IDcategory_name: Category nameclimate_pledge_friendly: Whether the product is Climate Pledge Friendlyname: Product nameprice: Product price, snapshot taken at price_last_scraped_date (formatted with currency symbol).price_value: Product price, snapshot taken at price_last_scraped_date (numeric value without currency symbol).price_last_scraped_date: The specific timestamp when the price and price_value fields were captured.prime: Whether the product is Prime eligiblerating: Average product rating (out of 5)revenue: Sum of revenue over the requested time period.revenue_in_usd: Revenue in USDreviews: Total accumulated review count for the product (snapshot).small_business: Whether the product is from a small businessthumbnail: Product thumbnail image URLunits_sold: Sum of units sold over the requested time period.views: Total product page views
Response
200
Object
OK
Response Attributes
metaobject
Show child attributes
dataarray | null
Show child attributes
Was this section helpful?
GET
/
Select
1
Response
Was this section helpful?