---
title: "Get a location"
method: GET
path: "/public/v1/locations/{id}"
tags: ["Location"]
---

# Get a location

`GET /public/v1/locations/{id}`

Returns a single location by its ID, including its address fields, geo coordinates, compliance `metrc_id`, and its linked [license](#model-license). Use this to resolve a location referenced elsewhere (for example the `location_id` on a [purchase](#model-purchase) or [order](#model-order)) into its full detail.

Several fields can be null: `license` / `license_id` when the location has no compliance license; `metrc_id` when it is not synced to a Metrc room (and when present it is a raw Metrc integer id, not a Distru id); and `latitude` / `longitude` when no coordinates have been set.

Lookups are scoped to your own company: an ID that does not exist, or that belongs to another company, returns `404` — the two cases are indistinguishable. A soft-deleted location is still returned here (with a non-null `deleted_at`); it is only hidden from the list endpoint unless you opt in via its `deleted` filter.

Required permission: `companies_permissions_view`.

## Path parameters

- `id` string, required

## Response `200`

A single location

## Other responses

- `400` — Invalid parameters
- `401` — Missing or invalid API token
- `403` — The API token lacks the required permission
- `404` — Not Found

---

[API](https://skmtc.dev/distru/apis/distru-api.md) · [All operations](https://skmtc.dev/distru/apis/distru-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/distru/distru-api/revisions/f8930b2c2924/schema)
