APIs / Sreality / Geometries

Sreality: Geometries

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

GET /v1/sreality/geometries

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
entity_typestringRequiredregion, district, ward, municipality, quarter
entity_idintegerRequiredAny
no_childrenbooleanOptionalAny

Example request

Sreality
GET/v1/sreality/geometries?entity_type=municipality&entity_id=5740&no_children=1
{
  "success": true,
  "data": {
    "result": [
      {
        "bounding_box": {
          "lat_max": 49.2943708618185,
          "lat_min": 49.10987956319651,
          "lon_max": 16.727834506635354,
          "lon_min": 16.427990321112482
        },
        "entity_id": 5740,
        "entity_type": "municipality",
        "geometry": [
          []
        ],
        "geometry_type": "multipolygon"
      }
    ]
  },
  "meta": {
    "endpoint_family": "locations",
    "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

Each item in data.result has these 5 fields, read from a recorded call that returned 1 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
bounding_boxobject
entity_idinteger
entity_typestring
geometryobject[]
geometry_typestring