API reference

Production access is closed · 37 operations

Compare a listing price

GET/api/v1/catalog/price-barometer

Price 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

Jump to the example

Parameters

NameLocationTypeRequiredDescription
categoryquerystringYesmin. characters 1 · max. characters 80
makequerystringYesmin. characters 1 · max. characters 120
modelquerystringYesmin. characters 1 · max. characters 120
pricequeryintegerYesminimum 1 · maximum 999999999
generationquerystringNomax. characters 160
conditionquerystringNomax. characters 80
offerModequery"sale" | "rent"Nodefault sale · "sale" | "rent"

Responses

200 Request completed successfully.
application/json
Schema PriceBarometerEstimate
NameTypeRequiredDescription
estimateobject | nullYes—
JSON Schema
{
  "$ref": "#/components/schemas/PriceBarometerEstimate"
}
429 Request processing error.
application/json
Schema object
NameTypeRequiredDescription
codestringYes—
messagestringYes—
requestIdstringYes—
issuesobject[]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/json
Schema object
NameTypeRequiredDescription
codestringYes—
messagestringYes—
requestIdstringYes—
issuesobject[]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.

Handle errors and rate limits ↗

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"
  ]
}