> ## 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.

# Geocode an address

> Fetch coordinates and address match information for a given address string.

## Overview

Returns geocoding information for a given address — coordinates, match type, and a normalized address string. Optionally fetches KAEK (cadastral parcel) information alongside the geocoding result.

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

***

## Query parameters

| Parameter | Type    | Required | Description                             |
| --------- | ------- | -------- | --------------------------------------- |
| `address` | string  | Yes      | Address to geocode. Max 255 characters. |
| `kaek`    | boolean | No       | Also fetch KAEK (parcel) information.   |

***

## Response fields

| Field               | Type   | Description                          |
| ------------------- | ------ | ------------------------------------ |
| `latitude`          | number | Latitude of the matched location.    |
| `longitude`         | number | Longitude of the matched location.   |
| `location_type`     | string | Type of the match (e.g. `ROOFTOP`).  |
| `formatted_address` | string | Normalized/formatted address string. |

***

## Example request

```bash theme={null}
curl -X GET "https://pandora.ask-wire.com/api/geocoding/geocode/?address=25%20Stasinou%20Ave%2C%20Nicosia&kaek=true" \
  -H "Authorization: Bearer YOUR_TOKEN"
```


## OpenAPI

````yaml GET /api/geocoding/geocode/
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/geocoding/geocode/:
    get:
      summary: Geocode an address
      description: >-
        Fetches geocoding information (coordinates, address match type) for a
        given address. Authentication is not enforced at the schema level but a
        valid Bearer token is recommended for production integrations.
      operationId: geocodeAddress
      parameters:
        - name: address
          in: query
          required: true
          description: Address to geocode. Max 255 characters.
          schema:
            type: string
            maxLength: 255
        - name: kaek
          in: query
          required: false
          description: Whether to also fetch KAEK (parcel) information.
          schema:
            type: boolean
      responses:
        '200':
          description: Geocoding result
          content:
            application/json:
              schema:
                $ref: 5766d418-d182-4eb0-bd57-f72089061ab8
              example:
                latitude: 37.9838
                longitude: 23.7275
                location_type: ROOFTOP
                formatted_address: 25 Stasinou Ave, Nicosia
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````