---
title: "Geocode address."
method: GET
path: "/geocoder/geocode"
tags: ["Miscellaneous|Geocoding"]
---

# Geocode address.

`GET /geocoder/geocode`

Geocode an address to obtain its geographic coordinates, including the latitude and longitude. Additionally, a
formatted address will be provided alongside the latitude and longitude. You may input an unformatted address in
the `address` parameter, for instance, "Rheiner Str. 3, 48496 Hopsten".

## Query parameters

- `query` string, required

## Response `200`

Success Response:

- ComponentGeocodingAddressInterface — Represents an address
  - `latLng` number[] — Represents a geo coordinate. An array of two double values, representing the latitude and longitude.
  - `name` string — The address name.
  - `street` string — The complete street.
  - `streetName` string — The street name.
  - `streetNumber` string — The house number.
  - `zipCode` string — The postcode.
  - `city` string — The city.
  - `countryCode` string — The two digit country abbreviation. (ISO-3166 ALPHA-2)
  - `fullAddress` string — The complete address.

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
