Live vehicle positions
vehicle_positionsFetch live GPS positions, heading, and report age for OASA buses, trolleys, metro, and tram vehicles on a route or line; check age_seconds to avoid presenting stale positions as current.
Instructions
Current GPS positions of OASA vehicles on a route or line, with heading and the age of each report. Positions are typically seconds old, but a vehicle that has stopped reporting is flagged stale — check age_seconds before presenting a position as current. An empty result outside service hours is normal. Covers Attica (greater Athens) only: OASA buses, trolleys, metro and tram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | A line number or name; fans out over its routes (up to 6). | |
| language | No | Which name language to show. 'both' pairs the Greek name with the English. | both |
| route_code | No | A single route code from line_routes. |