Compare a listing price
GET
/api/v1/catalog/price-barometerPrice comparison against similar listings for sale.
Pass the price in whole PLN. An estimate of null means a comparison is unavailable, for example for an insufficient sample, rentals or parts.
Required scope listings:read
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
category | query | string | Yes | min. characters 1 · max. characters 80 |
make | query | string | Yes | min. characters 1 · max. characters 120 |
model | query | string | Yes | min. characters 1 · max. characters 120 |
price | query | integer | Yes | minimum 1 · maximum 999999999 |
generation | query | string | No | max. characters 160 |
condition | query | string | No | max. characters 80 |
offerMode | query | "sale" | "rent" | No | default sale · "sale" | "rent" |
Responses
200 Request completed successfully.application/jsonSchema PriceBarometerEstimate
| Name | Type | Required | Description |
|---|---|---|---|
estimate | object | null | Yes | — |
JSON Schema
{
"$ref": "#/components/schemas/PriceBarometerEstimate"
}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.403 The scope is missing or the production request does not use HTTPS.503 Access is closed or the service is temporarily unavailable. Check code.Related schemas
PriceBarometerEstimate
{
"type": "object",
"properties": {
"estimate": {
"anyOf": [
{
"type": "object",
"properties": {
"level": {
"type": "integer"
},
"sampleSize": {
"type": "integer"
},
"marketAvg": {
"type": "integer"
},
"marketMin": {
"type": "integer"
},
"marketMax": {
"type": "integer"
},
"scope": {
"type": "string",
"enum": [
"generation",
"model"
]
},
"status": {
"type": "string",
"enum": [
"below",
"avg",
"above"
]
},
"label": {
"type": "string"
},
"usedFactors": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
}
},
"required": [
"estimate"
]
}