---
title: "List all the nearby vehicles (v2)"
method: GET
path: "/v2/freight_visibility/vehicle_association"
---

# List all the nearby vehicles (v2)

`GET /v2/freight_visibility/vehicle_association`

## Request

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

## Query parameters

- `company_id` integer
- `dot_id` integer
- `lat` number, float
- `lon` number, float
- `expected_time` string, date

## Response `200`

200

- object
  - `pagination` object
    - `per_page` integer
    - `page_no` integer
    - `total` integer
  - `data` object
    - `company_id` string
    - `dot_ids` string[]
    - `integration_status` string
    - `vehicle_details` object[]
      - `vehicle_id` string
      - `vehicle_name` string
      - `eld_device_id` unknown
      - `eld_identifier` unknown
      - `trailer_id` string
      - `driver` object
        - `id` integer
        - `first_name` string
        - `last_name` string
      - `located_at` string
      - `description` string
      - `distance_origin` object
        - `value` number
        - `unit` string
      - `matching_score` number

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404
- `429`: 429

---

[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)
