---
title: "Fetch the location of all subscribed vehicles"
method: GET
path: "/v1/freight_visibility/vehicle_locations"
---

# Fetch the location of all subscribed vehicles

`GET /v1/freight_visibility/vehicle_locations`

## Request

- Base URL: `https://api.gomotive.com`
- URL: `https://api.gomotive.com/v1/freight_visibility/vehicle_locations`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/gomotive/apis/motive/docs/v1/freight_visibility/vehicle_locations/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

200

- object
  - `data` object
    - `vehicle_details` object[]
      - `start_time` string
      - `end_time` string
      - `load_id` unknown
      - `load_details` unknown
      - `total_distance` unknown
      - `initial_stop` unknown
      - `final_stop` unknown
      - `vehicle_location` object
        - `lat` integer
        - `lon` integer
        - `located_at` string
        - `description` string
      - `current_driver` object
        - `id` integer
        - `first_name` string
        - `last_name` string
        - `username` unknown
        - `email` string
        - `driver_company_id` unknown
        - `status` string
        - `role` string
      - `vehicle_id` string
      - `vehicle_name` string
      - `company_id` string
      - `dot_ids` object[]
      - `trailer_id` unknown
      - `tracking_subscription_id` integer
  - `pagination` object
    - `per_page` integer
    - `page_no` integer
    - `total` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/gomotive/apis/motive.md) - [All operations](https://skmtc.dev/gomotive/apis/motive/llms.txt) - [OpenAPI document](https://skmtc.dev/gomotive/apis/motive/revisions/c71780e497f5?raw)
