---
title: "Location"
method: GET
path: "/assets/{asset_id}/alpon/location"
tags: ["ALPON"]
---

# Location

`GET /assets/{asset_id}/alpon/location`

Retrieve the last known location data for the device.

**Possible Error Codes:**
- **AssetNotFound:** The asset with the specified ID was not found.
- **AssetNotAlponDevice:** The device is not an ALPON device.
- **NoGeolocationData:** No geolocation data found for the device.

## Path parameters

- `asset_id` string, required — Serial Number, UUID, SIM SID or SIM ICCID

## Response `200`

Successful Response

- GeolocationDataResponseModel
  - `timestamp` string, required — Timestamp of the geolocation data.
  - `source` string, required — Source of the geolocation data.
  - `coordinates` number[], required — Latitude and Longitude of the device.

## Other responses

- `400` — Device is not an ALPON device
- `404` — No geolocation data found
- `422` — Validation Error

---

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