PASAR API

🇲🇾 Live vehicle positions ~ Prasarana (GTFS-R)

← directory
Prasarana via data.gov.myRealtimetier: openauth: no authpricing: freefreq: REALTIME

Response is GTFS-realtime Protobuf, not JSON ~ decode with a GTFS-RT library.

More Realtime APIs

Call it

curl 'https://api.data.gov.my/gtfs-realtime/vehicle-position/prasarana'

AI prompt

I'm building an app using a free Malaysian API (no auth needed).

API: Live vehicle positions ~ Prasarana (GTFS-R)
Provider: Prasarana via data.gov.my
Endpoint: GET https://api.data.gov.my/gtfs-realtime/vehicle-position/prasarana
It returns JSON (live data).

Help me fetch this and build a simple page that displays it nicely.

Related Realtime APIs

7-day weather forecast (live)Weather warnings (live)Earthquake warnings (live)River water levels & flood warnings (live)Transit schedules ~ Prasarana LRT/MRT/monorail/bus (GTFS)Train schedules ~ KTMB (GTFS)