---
title: "Get the gps locations for the vehicle, includes position and heading"
method: GET
path: "/v1/resourceowner/trips/{tripId}/geo"
tags: ["ResourceOwnerTripV2"]
---

# Get the gps locations for the vehicle, includes position and heading

`GET /v1/resourceowner/trips/{tripId}/geo`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/trips/{tripId}/geo`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

This operation would require compression enabled by the client.

## Path parameters

- `tripId` integer, required

## Query parameters

- `everyNthRecord` integer
- `snapToRoad` boolean

## Response `200`

The Geo data are returned

- TripGeoModel[]
  - `RecordTimeStamp` string, date-time
  - `Latitude` number, double
  - `Longitude` number, double
  - `HeadingDegrees` integer
  - `NumberOfSatellites` integer
  - `HDOP` integer

## Other responses

- `500`: Internal server error
- `501`: Not implemented, meaning the PID is not supported or is not recorded by the vehicle

---

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