APIs / Sreality / Histogram

Sreality: Histogram

Histogram from Sreality as JSON. 1 credit per successful call.

GET /v1/sreality/histogram

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
property_typeintegerRequired1, 2, 3, 4, 5
deal_typeintegerRequired1, 2, 3, 4

Example request

Sreality
GET/v1/sreality/histogram?property_type=1&deal_type=1
{
  "success": true,
  "data": {
    "result": {
      "histogram": [
        {
          "advert_count": 2,
          "price_from": 16000,
          "price_to": 191740
        },
        {
          "advert_count": 3,
          "price_from": 191741,
          "price_to": 367481
        },
        {
          "advert_count": 1,
          "price_from": 367482,
          "price_to": 543222
        }
      ]
    }
  },
  "meta": {
    "endpoint_family": "facets",
    "retryable": false
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 1 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
resultobject