---
title: "Return decoded locality boundary geometry"
method: GET
path: "/sreality/geometries"
tags: ["Sreality"]
---

# Return decoded locality boundary geometry

`GET /sreality/geometries`

## Request

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

## Query parameters

- `entity_type` 'region' | 'district' | 'ward' | 'municipality' | 'quarter', required
- `entity_id` integer, required
- `no_children` boolean, nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested locality geometry was not found. Non-billable.
- `422`: Both entity_type and entity_id are required. Non-billable.
- `503`: Locality geometry 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/2f4af6143d10?raw)
