---
title: "Return aggregate quarterly market statistics by district"
method: GET
path: "/sreality/top-districts"
tags: ["Sreality"]
---

# Return aggregate quarterly market statistics by district

`GET /sreality/top-districts`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/sreality/top-districts`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `property_type` integer, nullable
- `deal_type` integer, nullable
- `type` 'all' | 'null', nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: No district report matched the supplied filters. Non-billable.
- `422`: A supplied market filter is invalid. Non-billable.
- `503`: District market data could not be returned. Non-billable.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/31329f110e7c?raw)
