---
title: "Get a vehicle's location"
url: "https://developers.vzconnect.com/apis/vehicle-update-api-v1/versions/05da0a4a-83c3-4ea4-bf95-677b0523cf9a/operations/getVehicleLocation"
---

> Full API specification: https://developers.vzconnect.com/apis/vehicle-update-api-v1/versions/05da0a4a-83c3-4ea4-bf95-677b0523cf9a.md

# Get a vehicle's location

`GET` `/rad/v1/vehicles/{vehiclenumber}/location`

Operation ID: `getVehicleLocation`

Retrieve the current location of a single vehicle. Can only be called for one vehicle at a time using the Vehicle Number within REVEAL.

## Path parameters

- `vehiclenumber` (string, required) - Vehicle Number

## Responses

- `200` - Successfully retrieved the current location for the vehicle.
- `204` - No content — vehicle exists but has no location data.
- `400` - Bad request — the request is not valid, for example the vehicle number is blank.
- `401` - Unauthorized — authentication credentials are missing or invalid.
- `404` - Not found — vehicle number does not exist in this account.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Vehicle Update API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /rad/v1/vehicles/{vehiclenumber}/location:
    get:
      summary: Get a vehicle's location
      description: Retrieve the current location of a single vehicle. Can only be
        called for one vehicle at a time using the Vehicle Number within REVEAL.
      operationId: getVehicleLocation
      x-vzc-portal:
        webhook-note: true
      parameters:
        - name: vehiclenumber
          in: path
          description: Vehicle Number
          required: true
          schema:
            type: string
            example: "10900"
      responses:
        "200":
          description: Successfully retrieved the current location for the vehicle.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/VehicleLocation"
              example:
                Address:
                  AddressLine1: 31500 Bainbridge Rd
                  AddressLine2: ""
                  Locality: Solon
                  AdministrativeArea: OH
                  PostalCode: "44139"
                  Country: USA
                DeltaDistance: 0
                DeltaTime: null
                DeviceTimeZoneOffset: -5
                DeviceTimeZoneUseDST: true
                DisplayState: Idle
                Direction: 0
                Heading: North
                DriverNumber: null
                GeoFenceName: null
                Latitude: 41.397001
                Longitude: -81.45617
                Speed: 0
                UpdateUTC: 2016-07-14T15:52:04
        "204":
          description: No content — vehicle exists but has no location data.
        "400":
          description: Bad request — the request is not valid, for example the vehicle
            number is blank.
          content:
            application/json:
              schema:
                type: object
        "401":
          description: Unauthorized — authentication credentials are missing or invalid.
        "404":
          description: Not found — vehicle number does not exist in this account.
          content:
            application/json:
              schema:
                type: object
        "500":
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/rad/v1/vehicles/[^/]+/location/?$
      tags:
        - Vehicle Update API
components:
  schemas:
    VehicleLocation:
      type: object
      description: Current GPS location and movement data for a vehicle.
      properties:
        Address:
          $ref: "#/components/schemas/InternationalAddress"
        DeltaDistance:
          type: number
          format: float
          description: Distance travelled since last update.
          example: 0
          default: 0
          nullable: true
        DeltaTime:
          type: integer
          format: int32
          description: Time elapsed since last update in seconds.
          example: null
          nullable: true
        DeviceTimeZoneOffset:
          type: integer
          format: int32
          description: Device timezone offset from UTC in minutes.
          example: -5
          nullable: true
        DeviceTimeZoneUseDST:
          type: boolean
          description: Whether the device timezone observes daylight saving time.
          example: true
        DisplayState:
          type: string
          description: Human-readable vehicle state (e.g., Moving, Stopped, Idle).
          example: Idle
        Direction:
          type: integer
          format: int32
          description: Direction of travel in degrees (0-360).
          example: 0
        Heading:
          type: string
          description: "Compass heading as a name: North, North East, East, South East,
            South, South West, West, North West, or Unknown."
          example: North
          enum:
            - North
            - North East
            - East
            - South East
            - South
            - South West
            - West
            - North West
            - Unknown
        DriverNumber:
          type: string
          description: Number of the driver currently assigned to this vehicle.
          example: null
          nullable: true
        GeoFenceName:
          type: string
          description: Name of the geofence the vehicle is currently within, if any.
          example: null
          nullable: true
        Latitude:
          type: number
          format: double
          description: GPS latitude coordinate.
          example: 41.397001
        Longitude:
          type: number
          format: double
          description: GPS longitude coordinate.
          example: -81.45617
        Speed:
          type: number
          format: double
          description: Current speed of the vehicle.
          example: 0
          nullable: true
        UpdateUTC:
          type: string
          format: date-time
          description: UTC timestamp of the last GPS update.
          example: 2016-07-14T15:52:04
        IsPrivate:
          type: boolean
          description: Whether the vehicle is currently in private mode. When true,
            Address and GeoFenceName are null and Latitude and Longitude are 0.
          example: false
    InternationalAddress:
      type: object
      description: Structured international address.
      properties:
        AddressLine1:
          type: string
          description: Primary address line (street number and name).
          example: 31500 Bainbridge Rd
          nullable: true
        AddressLine2:
          type: string
          description: Secondary address line (suite, unit, etc.).
          example: ""
          nullable: true
        Locality:
          type: string
          description: City or town.
          example: Solon
          nullable: true
        AdministrativeArea:
          type: string
          description: State, province, or region.
          example: OH
          nullable: true
        PostalCode:
          type: string
          description: Postal or ZIP code.
          example: "44139"
          nullable: true
        Country:
          type: string
          description: Country name or code.
          example: USA
          nullable: true
```
