> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.iklim.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get neighbourhood

> Returns neighbourhood info for the given neighbourhood ID. For CTR (Northern Cyprus), neighbourhoods are the sub-district level.



## OpenAPI

````yaml /open-api/en/geo-alarm_version-1.json get /v1/alarms/geometries/neighborhood/{neighborhoodId}
openapi: 3.1.0
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://api.iklim.co
    description: Production server
  - url: https://api-test.iklim.co
    description: Test server
security: []
tags:
  - name: Geo Alarm Registrations
    description: CRUD & lookup endpoints for geo-based alarm registrations
paths:
  /v1/alarms/geometries/neighborhood/{neighborhoodId}:
    get:
      tags:
        - Geo Alarm Registrations
      summary: Get neighbourhood
      description: >-
        Returns neighbourhood info for the given neighbourhood ID. For CTR
        (Northern Cyprus), neighbourhoods are the sub-district level.
      operationId: getNeighbourhood
      parameters:
        - name: neighborhoodId
          in: path
          description: Neighbourhood ID (the sub-district ID for CTR)
          required: true
          schema:
            type: integer
            format: int64
          example: 12345
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BoundaryNeighbourhood'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
components:
  schemas:
    BoundaryNeighbourhood:
      type: object
      description: Neighborhood administrative boundary data.
      properties:
        id:
          type: integer
          format: int64
          description: Neighbourhood ID
          example: 55766
        name:
          type: string
          description: Neighbourhood name
          example: Beytepe
        geometry:
          $ref: '#/components/schemas/GeoMultiPolygon'
          description: Neighbourhood boundary (MultiPolygon)
        district:
          $ref: '#/components/schemas/BoundaryDistrict'
          description: Affiliated district
    StandardErrorResponse:
      type: object
      description: Standard API error response structure
      properties:
        timestamp:
          type: string
          format: date-time
          description: Timestamp when the error occurred
          example: YYYY-mm-DDTHH:MM:SS.nnnnnnnnn
        status:
          type: integer
          format: int32
          description: HTTP status code
          example: XXX
        error:
          type: string
          description: Error name or type
          example: Error Name
          minLength: 1
        message:
          type: string
          description: Main error message
          example: Error Message
          minLength: 1
        messages:
          type: array
          description: Additional detailed error messages
          items:
            type: string
        path:
          type: string
          description: Request path that caused the error
          example: /endpoint/uri/here
          minLength: 1
      required:
        - error
        - message
        - path
        - status
        - timestamp
    GeoMultiPolygon:
      type: object
      properties:
        polygons:
          type: array
          description: >-
            A list of polygons, where each polygon is an object containing an
            exterior ring and a list of holes.
          items:
            $ref: '#/components/schemas/GeoPolygon'
      required:
        - polygons
    BoundaryDistrict:
      type: object
      description: District (administrative boundary)
      properties:
        id:
          type: integer
          format: int64
          description: District ID
          example: 557
        name:
          type: string
          description: District name
          example: Çankaya
        geometry:
          $ref: '#/components/schemas/GeoMultiPolygon'
          description: District boundary (MultiPolygon)
        city:
          $ref: '#/components/schemas/BoundaryCity'
          description: Affiliated city
    GeoPolygon:
      type: object
      properties:
        exterior:
          type: array
          description: The exterior ring of the polygon, defined by a list of GeoPoints.
          example:
            - lng: 32.85
              lat: 39.93
            - lng: 32.86
              lat: 39.93
            - lng: 32.86
              lat: 39.94
            - lng: 32.85
              lat: 39.94
            - lng: 32.85
              lat: 39.93
          items:
            $ref: '#/components/schemas/GeoPoint'
        holes:
          type: array
          description: >-
            A list of interior rings (holes). Each hole is defined by its own
            list of GeoPoints. Can be null or empty if there are no holes.
          example:
            - - lng: 32.852
                lat: 39.932
              - lng: 32.853
                lat: 39.932
              - lng: 32.853
                lat: 39.933
              - lng: 32.852
                lat: 39.933
              - lng: 32.852
                lat: 39.932
          items:
            type: array
            items:
              $ref: '#/components/schemas/GeoPoint'
      required:
        - exterior
    BoundaryCity:
      type: object
      description: City (administrative boundary)
      properties:
        id:
          type: integer
          format: int64
          description: City ID
          example: 6
        name:
          type: string
          description: City name
          example: Ankara
        licensePlateCode:
          type: integer
          format: int32
          description: License plate code. Null for cities outside TUR (for example CTR).
          example: 6
        geometry:
          $ref: '#/components/schemas/GeoMultiPolygon'
          description: City boundary (MultiPolygon)
    GeoPoint:
      type: object
      properties:
        lng:
          type: number
          format: double
          description: Longitude coordinate.
          example: 32.857358
          maximum: 180
          minimum: -180
        lat:
          type: number
          format: double
          description: Latitude coordinate.
          example: 39.93504
          maximum: 90
          minimum: -90
      required:
        - lat
        - lng

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.