---
title: "Geocode Site"
method: GET
path: "/sites/{site_id}/geocode"
tags: ["sites"]
---

# Geocode Site

`GET /sites/{site_id}/geocode`

## Request

- Base URL: `https://api.verdun.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.verdun.ai/sites/{site_id}/geocode`
- Auth: HTTP bearer

## Path parameters

- `site_id` string, required

## Response `200`

Successful Response

- GeocodeSiteResponse
  - `lat` number, required: Latitude of the geocoded address.
  - `lng` number, required: Longitude of the geocoded address.
  - `label` string, required: The address Amazon Location actually matched — show this so the operator can tell a precise hit from a near miss.
  - `place_type` string, required: Amazon Location match granularity (PointAddress, Street, Locality, …).
  - `precise` boolean, required: True when the match is exact enough to save as the site pin without confirmation; false means offer it as a suggestion.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verdun/apis/verdun-api.md) - [All operations](https://skmtc.dev/verdun/apis/verdun-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verdun/apis/verdun-api/revisions/35a2a6ebedda?raw)
