Get data analysis by SKU
POST/openapi/2025-06/data-analysis/sku
Provides merchants with detailed insights into sales data, enabling data-driven decision-making by analyzing products by SKU.
Request
- application/json
- Body
- Example
Bodyrequired
variant_op_updated_at: Last updated time of the variantviews_count: Number of page viewsadd_to_cart_count: Number of add-to-cart actionsorder_count: Number of orderssales_total: Total sales amountnet_sales_total: Net sales amountadd_to_cart_rate: Add-to-cart rateadd_to_cart_conversion_rate: Add-to-cart conversion ratesales_count: Number of items soldviews_rate: Page view rateshopping_action: Google Shopping Actionshoplazza: Online storemocart: Mocartno_filter_crawler: do not filter; count all traffic (default)official_crawler: exclude known crawlers/bots
Start time, a Unix timestamp in seconds passed as a string, e.g. "1748736000"
End time, a Unix timestamp in seconds passed as a string, e.g. "1781481600". Should be greater than begin_time
Cursor for pagination
Page size for pagination
Possible values: >= 1 and <= 500
10Field to sort by. Supported values:
Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14
Sort order: asc (ascending), desc (descending)
Filter by collection ID
Sales channel filter. Supported values:
Keyword fuzzy search: title, ID, brief, SKU, SPU, tags, note
Filtering mode: base (default) or advanced. When set to advanced, the additional filter fields below take effect
Filter by collection name
Filter by product title
Filter by product tags
Filter by product category
Whether to include all sub-category levels in the search
Minimum cost price, e.g. "1.99"
Maximum cost price, e.g. "8.99"
Filter by product note / remark
Filter by vendor / supplier name
Minimum product creation time, e.g. "2026-04-01 00:00:00"
Maximum product creation time, e.g. "2026-04-04 00:00:00"
Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values:
{
"begin_time": "string",
"end_time": "string",
"cursor": "string",
"page_size": 10,
"sort_by": "string",
"time_zone": 0,
"sort_direction": "string",
"collection_id": "string",
"sales_platform": "string",
"keyword": "string",
"search_model": "string",
"collection_name": "string",
"title": "string",
"tag_list": "string",
"category": "string",
"sub_category": true,
"cost_price_min": "string",
"cost_price_max": "string",
"product_note": "string",
"vendor": "string",
"created_at_min_at": "string",
"created_at_max_at": "string",
"filter_crawler_type": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
Total number of matching records
Latest statistics update time, e.g. "2026-03-26 00:00:00"
Cursor for pagination
Whether there are more records
data object[]
List of variant-level sales data items
Product ID
Variant ID (SKU level)
Product title
Product subtitle / brief description
Variant title, e.g. size or color combination
Stock keeping unit code
Standard product unit code
Product image filename
SEO-friendly product URL path including variant parameter
Variant price in shop currency
Last operation update time of the variant, in ISO-8601 format
Number of items sold
Total sales amount
Net sales amount after deducting refunds
Number of orders containing this variant
Number of refund transactions
Product detail page view count, numeric value
Number of unique visitors to the product detail page
Add-to-cart event count, numeric value
Number of unique users who added this variant to cart
Conversion rate from visit to order, numeric value, e.g. 100 (represents 100%)
Conversion rate from add-to-cart to order, numeric value, e.g. 100 (represents 100%)
First publish time of the product, in ISO-8601 format
Total number of refunded items
Add-to-cart rate as a percentage of product page views, numeric value
Share of this variant's views among all product views, numeric value
Number of open / pending orders
Number of orders that have been fully refunded
Conversion rate from visit to order, formatted string, e.g. "100.00%"
Conversion rate from add-to-cart to order, formatted string, e.g. "100.00%"
Add-to-cart rate, formatted string, e.g. "100.00%"
Share of total product views, formatted string, e.g. "100.00%"
Product detail page views, formatted string, e.g. "1"
Add-to-cart count, formatted string, e.g. "1"
{
"code": "string",
"message": "string",
"data": {
"count": 0,
"last_updated_at": "string",
"cursor": "string",
"has_more": true,
"data": [
{
"product_id": "string",
"variant_id": "string",
"title": "string",
"brief": "string",
"variant_title": "string",
"sku": "string",
"spu": "string",
"image": "string",
"seo_url": "string",
"price": 0,
"variant_op_updated_at": "string",
"sales_count": 0,
"sales_total": 0,
"net_sales_total": 0,
"order_count": 0,
"refund_count": 0,
"views_count_original": 0,
"view_client_count": 0,
"add_to_cart_count_original": 0,
"add_cart_client_count": 0,
"transform_rate_original": 0,
"add_to_cart_conversion_rate_original": 0,
"published_at": "string",
"refund_quantity": 0,
"add_to_cart_rate_original": 0,
"views_rate_original": 0,
"opened_orders": 0,
"refund_orders": 0,
"transform_rate": "string",
"add_to_cart_conversion_rate": "string",
"add_to_cart_rate": "string",
"views_rate": "string",
"views_count": "string",
"add_to_cart_count": "string"
}
]
}
}