Get seller statistics
POST
/api/v1/statistics/listingsSummary and one page of the owner’s statistics.
Required scope statistics:read
Request body
Schema StatisticsQuery
| Name | Type | Required | Description |
|---|---|---|---|
range | object | No | — |
filters | object | No | — |
page | integer | No | minimum 1 |
limit | integer | No | minimum 5 · maximum 100 |
sort | "views" | "contacts" | "conversion" | "quality" | "price" | "updated" | "action" | No | "views" | "contacts" | "conversion" | "quality" | "price" | "updated" | "action" |
direction | "asc" | "desc" | No | "asc" | "desc" |
JSON Schema
{
"$ref": "#/components/schemas/StatisticsQuery"
}Responses
200 Request completed successfully.application/jsonSchema StatisticsPage
| Name | Type | Required | Description |
|---|---|---|---|
range | object | No | — |
generatedAt | string | No | format date-time |
accountType | "private" | "dealer" | No | "private" | "dealer" |
summary | object | No | — |
items | object[] | No | — |
meta | object | No | — |
JSON Schema
{
"$ref": "#/components/schemas/StatisticsPage"
}403 Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}429 Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}Other API errors Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}401 A valid API key is required.503 Access is closed or the service is temporarily unavailable. Check code.Related schemas
StatisticsQuery
{
"type": "object",
"properties": {
"range": {
"type": "object",
"properties": {
"preset": {
"type": "string",
"enum": [
"7",
"30",
"90",
"365",
"custom"
]
},
"from": {
"type": "string",
"format": "date"
},
"to": {
"type": "string",
"format": "date"
}
}
},
"filters": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"active",
"ended",
"all",
"draft",
"expired",
"sold"
]
},
"category": {
"type": "string"
},
"make": {
"type": "string"
},
"model": {
"type": "string"
},
"generation": {
"type": "string"
},
"fuelType": {
"type": "string"
},
"gearbox": {
"type": "string"
},
"location": {
"type": "string"
},
"voivodeship": {
"type": "string"
},
"packageTier": {
"type": "string"
},
"priceFrom": {
"type": "integer",
"minimum": 0
},
"priceTo": {
"type": "integer",
"minimum": 0
},
"mileageFrom": {
"type": "integer",
"minimum": 0
},
"mileageTo": {
"type": "integer",
"minimum": 0
},
"yearFrom": {
"type": "integer",
"minimum": 0
},
"yearTo": {
"type": "integer",
"minimum": 0
},
"onlyActionRequired": {
"type": "boolean"
}
}
},
"page": {
"type": "integer",
"minimum": 1
},
"limit": {
"type": "integer",
"minimum": 5,
"maximum": 100
},
"sort": {
"type": "string",
"enum": [
"views",
"contacts",
"conversion",
"quality",
"price",
"updated",
"action"
]
},
"direction": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
}
}StatisticsPage
{
"type": "object",
"properties": {
"range": {
"type": "object"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"accountType": {
"type": "string",
"enum": [
"private",
"dealer"
]
},
"summary": {
"type": "object"
},
"items": {
"type": "array",
"items": {
"type": "object"
}
},
"meta": {
"type": "object",
"properties": {
"page": {
"type": "integer"
},
"limit": {
"type": "integer"
},
"total": {
"type": "integer"
},
"pages": {
"type": "integer"
}
}
}
}
}