---
title: "Live Buses On Route"
method: GET
path: "/live/line/{line_code}/buses"
---

# Live Buses On Route

`GET /live/line/{line_code}/buses`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/live/line/{line_code}/buses`
- Auth: none declared

## Path parameters

- `line_code` string, required

## Response `200`

Successful Response

- LiveBus[]
  - `line_id` integer, required
  - `route_code` string, required
  - `vehicle_door_no` string, required
  - `last_location_time` string, time, required
  - `last_location` Coordinates, required
    - `x` number, required
    - `y` number, required
  - `stop_order` integer, required
  - `stop_id` integer, required
  - `stop_enter_time` string, time, nullable, required
  - `stop_exit_time` string, time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/styrowolf/apis/oguz-kurt-fern-api.md) - [All operations](https://skmtc.dev/styrowolf/apis/oguz-kurt-fern-api/llms.txt) - [OpenAPI document](https://skmtc.dev/styrowolf/apis/oguz-kurt-fern-api/revisions/1f272d11e862?raw)
