PASAR API

🇲🇾 Live bus positions ~ myBAS Johor (GTFS-R)

← directory
myBAS (Causeway Link) via data.gov.myRealtimetier: openauth: no authpricing: freefreq: REALTIME

Response is GTFS-realtime Protobuf, not JSON. A September 2026 sample had 78 vehicles with position timestamps aligned to the feed header; consumers must still check age on each call.

More Realtime APIs

Call it

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

AI prompt

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

API: Live bus positions ~ myBAS Johor (GTFS-R)
Provider: myBAS (Causeway Link) via data.gov.my
Endpoint: GET https://api.data.gov.my/gtfs-realtime/vehicle-position/mybas-johor
It returns JSON (live data).

Source: myBAS (Causeway Link) via data.gov.my (https://api.data.gov.my/gtfs-realtime/vehicle-position/mybas-johor)
Source type: Official public feed
Endpoint type: Public feed, non-JSON
Integration difficulty: Copy-paste ready
Last checked: 2026-09-16
Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Realtime APIs

7-day weather forecast (live)Weather warnings (live)Earthquake notices & historyBus positions ~ Prasarana GTFS-R (availability varies)Live train positions ~ KTMB (GTFS-R)BMKG Earthquake & Tsunami Feed ~ real-time Indonesia seismic dataHanoi Air Quality ~ live monitoring-station JSON from moitruongthudo.vnAEMET OpenData ~ Spain weather & climate dataMSC GeoMet ~ Canada weather, climate & water dataMet Eireann ~ Irish weather forecast API