---
title: "get the locations for a specific vehicle"
method: GET
path: "/exve/vehicles/{vehicleId}/locations"
tags: ["exve"]
---

# get the locations for a specific vehicle

`GET /exve/vehicles/{vehicleId}/locations`

## Request

- Base URL: `http://localhost:8086`
- URL: `http://localhost:8086/exve/vehicles/{vehicleId}/locations`
- Auth: HTTP bearer

Obtain a list of changes in geolocation for a specific vehicle.

## Path parameters

- `vehicleId` integer, required

## Response `200`

vehicle locations

- ExveResourcesLocations
  - `locations` object[], required
    - `latitude` number, required
    - `longitude` number, required
    - `bearing` integer, required: Bearing in degrees.
    - `timestamp` string, date-time, required

## Other responses

- `401`: Access token is missing or invalid

## Changes

- **2026-07-17** `c420a5f456ea`: 1 info
  - added the non-success response with the status `401`
- **2021-07-17** `4c1c8b98a933`: 1 info
  - added the required property `locations/items/bearing` to the response with the `200` status
- **2021-05-23** `721e64938b54`: 1 info
  - endpoint added
- **2020-07-03** `f4f4c18b287e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/knowgoio/apis/knowgo-vehicle-simulator-api/changes/exve/vehicles/:vehicleId/locations/get.md)

---

[API](https://skmtc.dev/knowgoio/apis/knowgo-vehicle-simulator-api.md) - [All operations](https://skmtc.dev/knowgoio/apis/knowgo-vehicle-simulator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knowgoio/apis/knowgo-vehicle-simulator-api/revisions/c420a5f456ea?raw)
