---
title: "Polygons At Point"
method: GET
path: "/api/admin/polygons/at-point"
tags: ["admin-polygons"]
---

# Polygons At Point

`GET /api/admin/polygons/at-point`

## Request

- Base URL: `https://grandline.luzomi.com`
- URL: `https://grandline.luzomi.com/api/admin/polygons/at-point`
- Auth: none declared

Returns every enabled polygon whose geometry contains the given (lat, lon)
point. Use for the 'Snap to coordinates' search mode — answers
"which polygons own this location?". Multiple matches are returned in
hierarchy order (COUNTRY → PORT → TERMINAL → BERTH) so the caller can
drill into the most-specific one.

## Query parameters

- `lat` number, required: WGS84 latitude
- `lon` number, required: WGS84 longitude
- `family_id` integer, nullable
- `only_enabled` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/luzomi/apis/grandline-api.md) · [All operations](https://skmtc.dev/luzomi/apis/grandline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/luzomi/apis/grandline-api/revisions/4ce06aea012b?raw)
