---
title: "Current bus locations by route"
method: GET
path: "/bus/routes/{route_id}/locations"
tags: ["bus"]
---

# Current bus locations by route

`GET /bus/routes/{route_id}/locations`

## Request

- Base URL: `https://api.umd.io/v1`
- URL: `https://api.umd.io/v1/bus/routes/{route_id}/locations`
- Auth: none declared
- TypeScript: <https://skmtc.dev/umdio/apis/umd-io/docs/bus/routes/:route_id/locations/get.ts> (a function with typed inputs; its response is checked against the schema)

Get bus locations for a route

## Path parameters

- `route_id` string, required

## Response `200`

Successful Operation

- object: Bus location object
  - `lastTime` object
    - `time` string: A unix timestamp
  - `copyright` string

## Other responses

- `400`: Malformed route code
- `404`: Unknown route code

## Changes

- **2026-07-17** `c0fac695dd04`: 1 info
  - endpoint added
- **2020-04-19** `1f4fb7230e02`: 1 breaking
  - api path removed without deprecation
- **2020-03-31** `b4919cd9fb0d`: 1 info
  - endpoint added
- **2019-07-02** `f2f973dd5f11`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/umdio/apis/umd-io/changes/bus/routes/:route_id/locations/get.md)

---

[API](https://skmtc.dev/umdio/apis/umd-io.md) - [All operations](https://skmtc.dev/umdio/apis/umd-io/llms.txt) - [OpenAPI document](https://skmtc.dev/umdio/apis/umd-io/revisions/c0fac695dd04?raw)
