Skip to main content
POST
Shopping Metrics

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json

Request body for the shopping metrics endpoint

website_id
string<uuid>
required

The ID of the website to query shopping metrics for

Example:

"123e4567-e89b-12d3-a456-426614174000"

filters
object
required

Filters for the shopping metrics endpoint. Only the filters the Shopping Insights page applies are accepted; any other filter key is rejected with 400.

top_products_limit
integer
default:10

How many products to return in each of top_own_products and top_competitor_products

Required range: 1 <= x <= 50

Response

Successful response with shopping metrics

data
object
required

The Shopping Insights dashboard blocks. Rates are percentages 0-100; positions are 1-based (lower is better).