Skip to main content
GET
/
v1
/
alarms
/
geometries
/
neighbourhoods
/
{districtId}
List neighbourhoods
curl --request GET \
  --url https://api.iklim.co/v1/alarms/geometries/neighbourhoods/{districtId}
[
  {
    "id": 55766,
    "name": "Beytepe",
    "polygon": {
      "coordinates": [
        {
          "lng": 32.857358,
          "lat": 39.93504
        },
        {
          "lng": 32.858,
          "lat": 39.9355
        }
      ]
    },
    "district": {
      "id": 557,
      "name": "Çankaya",
      "polygon": {
        "coordinates": [
          {
            "lng": 32.857358,
            "lat": 39.93504
          },
          {
            "lng": 32.858,
            "lat": 39.9355
          }
        ]
      },
      "city": {
        "id": 6,
        "name": "Ankara",
        "licensePlateCode": 6,
        "polygon": {
          "coordinates": [
            {
              "lng": 32.857358,
              "lat": 39.93504
            },
            {
              "lng": 32.858,
              "lat": 39.9355
            }
          ]
        }
      }
    }
  }
]

Path Parameters

districtId
string
required

District ID

Response

OK

id
integer

Neighbourhood ID

Example:

55766

name
string

Neighbourhood name

Example:

"Beytepe"

polygon
object

Geo polygon

district
object

District boundary object