Skip to main content
GET
Public Sales Trends (Aggregate)

Authorizations

X-Api-Key
string
header
required

Query Parameters

interval
enum<string>
required

Bucket size for aggregation: 1d — daily, 1w — weekly (ISO week), 1m — monthly.

Available options:
1d,
1w,
1m
Example:

"1m"

from
string
required

Sale-date window start (inclusive). Accepts ISO 8601 string or Unix timestamp (sec/ms).

Example:

"2024-01-01T00:00:00.000Z"

to
string

Sale-date window end (inclusive). Accepts ISO 8601 string or Unix timestamp (sec/ms). Bare YYYY-MM-DD is coerced to end-of-day UTC. Defaults to now.

Example:

"2024-12-31T23:59:59.999Z"

Response

data
object[]
required
status
object
required