---
title: "Bus and trolley location by route."
method: GET
path: "/TransitView/index.php"
tags: ["Real Time Data"]
---

# Bus and trolley location by route.

`GET /TransitView/index.php`

Returns bus and trolley locations by route. Every bus and trolley route is a valid parameter please refer to the <a href='/VIBusAndTrolley.html'>Bus & Trolley Inputs</a> page to see all valid inputs.

## Query parameters

- `route` string, required

## Response `200`

successful

- TransitView
  - `bus` object[]
    - `lat` string — The geographical latitude coodinate of the bus/trolley current location
    - `lng` string — The geographical longitude coordinate of the bus/trolley current location
    - `label` string — Septa bus/trolley vehicle number
    - `trip` string, byte — Unique trip id of the Septa bus/trolley
    - `VehicleID` string, byte — Septa bus/trolley vehicle number similar to label
    - `BlockID` string, byte — Unique identifier for blocks in a vehicle trip
    - `Direction` string, byte — Direction of the Septa bus/trolley
    - `destination` string — Destination stop of the Septa bus/trolley
    - `heading` string — Heading of the vehicle in degrees
    - `late` integer — Current status of the transiting vehicle
    - `next_stop_id` string, byte — The next stop id of the transiting vehicle
    - `next_stop_name` string — The next stop name of the transiting vehicle
    - `next_stop_sequence` integer — Sequence number of the next stop from GTFS of the transiting vehicle for a particular trip
    - `estimated_seat_availability` string — Status of seat availability of the transiting vehicle
    - `Offset` string, byte — Number of minutes since the current location of the transiting vehicle is updated
    - `Offset_sec` string, byte — Number of seconds since the current location of the transiting vehicle is updated
    - `timestamp` integer — current time in unix timestamp format

---

[API](https://skmtc.net/septa/apis/septa-developers.md) · [All operations](https://skmtc.net/septa/apis/septa-developers/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/septa/septa-developers/revisions/e0575f41ded3/schema)
