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

# Live Buses On Route

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

## 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/fastapi.md) · [All operations](https://skmtc.dev/styrowolf/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/styrowolf/fastapi/revisions/1f272d11e862/schema)
