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

# Query GIS layer properties

> Query a GIS layer at a given latitude/longitude and return the layer-specific properties.

## Overview

Queries the Greece parcels worker for a given GIS layer at a latitude/longitude coordinate and returns the layer-specific properties. The response shape varies by layer.

Authentication is not enforced at the schema level, but a valid Bearer token is recommended for production integrations.

***

## Query parameters

| Parameter   | Type   | Required | Description                                        |
| ----------- | ------ | -------- | -------------------------------------------------- |
| `latitude`  | number | Yes      | Latitude of the location.                          |
| `longitude` | number | Yes      | Longitude of the location.                         |
| `layer`     | string | Yes      | GIS layer type. One of: `apaa`, `crime`, `parcel`. |

***

## Response

Returns a JSON object with layer-specific properties. The exact shape varies depending on the `layer` value requested.

| Status | Description                                             |
| ------ | ------------------------------------------------------- |
| `200`  | Layer-specific properties for the given location.       |
| `400`  | Invalid or missing `latitude`, `longitude`, or `layer`. |
| `500`  | Error connecting to the GIS API.                        |

***

## Example request

```bash theme={null}
curl -X GET "https://pandora.ask-wire.com/api/gis/?latitude=38.0&longitude=23.7&layer=parcel" \
  -H "Authorization: Bearer YOUR_TOKEN"
```


## OpenAPI

````yaml GET /api/gis/
openapi: 3.1.0
info:
  title: Properties API
  version: 1.0.0
  description: Public properties and foreclosure listings API
servers:
  - url: https://pandora.ask-wire.com
    description: Main API (Properties)
  - url: https://zeus.ask-wire.com
    description: Auth API
security:
  - bearerAuth: []
paths:
  /api/gis/:
    get:
      summary: Query GIS layer properties
      description: >-
        Queries the Greece parcels worker for a given GIS layer at a
        latitude/longitude and returns the layer-specific properties.
        Authentication is not enforced at the schema level but a valid Bearer
        token is recommended for production integrations.
      operationId: getGISLayerProperties
      parameters:
        - name: latitude
          in: query
          required: true
          description: Latitude of the location.
          schema:
            type: number
        - name: longitude
          in: query
          required: true
          description: Longitude of the location.
          schema:
            type: number
        - name: layer
          in: query
          required: true
          description: GIS layer type.
          schema:
            type: string
            enum:
              - apaa
              - crime
              - parcel
      responses:
        '200':
          description: >-
            Layer-specific properties for the given location. Shape varies by
            layer.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid or missing latitude / longitude / layer.
        '500':
          description: Error connecting to the GIS API.
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````