Malaysia Real-Time Bus & Train Tracker (GTFS-Realtime) avatar

Malaysia Real-Time Bus & Train Tracker (GTFS-Realtime)

Pricing

$0.30 / 1,000 vehicle positions

Go to Apify Store
Malaysia Real-Time Bus & Train Tracker (GTFS-Realtime)

Malaysia Real-Time Bus & Train Tracker (GTFS-Realtime)

Live GPS positions of Rapid KL, MRT feeder, Rapid Penang, KTMB and myBAS buses and trains, decoded from official GTFS-Realtime feeds into clean JSON.

Pricing

$0.30 / 1,000 vehicle positions

Rating

0.0

(0)

Developer

Phyllis

Phyllis

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Malaysia Real-Time Bus & Train Tracker API (Rapid KL, KTMB, myBAS GTFS-Realtime)

Get live GPS positions of buses and trains across Malaysia as clean JSON, CSV or Excel: Rapid KL buses, MRT feeder buses, Rapid Penang, KTMB trains and myBAS city buses (Johor Bahru, Ipoh, Melaka, Seremban, Kuching, Kota Bharu, Kuala Terengganu, Alor Setar, Kangar).

Raw GTFS-Realtime feeds are binary protobuf. This Actor decodes them for you into simple rows with route, vehicle, plate, latitude, longitude, speed (km/h) and timestamp. Data comes from the official open API at data.gov.my. No scraping, no login.

Use cases

  • Transit apps, maps and dashboards: show where buses are right now.
  • Urban mobility and research: collect positions every few minutes to measure headways, delays and coverage.
  • AI agents: answer "where is the T789 bus?" with live data (MCP compatible).
  • Property and location analytics: measure real public-transport service levels near a site.

Input

FieldDescription
feedsOne or more of rapid-bus-kl, rapid-bus-mrtfeeder, rapid-bus-penang, ktmb, mybas-johor, mybas-ipoh, mybas-melaka, mybas-kuching and more.
routeIdsOptional GTFS route IDs to keep.
maxItemsCap on vehicles returned.

Example:

{ "feeds": ["rapid-bus-kl", "ktmb"], "routeIds": [] }

Output

{ "feed": "rapid-bus-kl", "vehicleId": "WB1234A", "licensePlate": "WB1234A", "routeId": "T789",
"latitude": 3.1478, "longitude": 101.6953, "speedKmh": 23.4, "bearing": 180,
"timestamp": "2026-10-22T00:01:30.000Z" }

Tip: schedule it every 1-5 minutes to build your own history of vehicle movements.

Pricing

Pay per event: $0.30 per 1,000 vehicle positions (USD 0.0003 each). A snapshot of all Rapid KL buses costs a few cents.

Notes

  • Source: data.gov.my GTFS-Realtime open data. Not affiliated with Prasarana, KTMB, myBAS or the Government of Malaysia.
  • speedKmh is the speed as reported by the operator feed (Malaysian feeds report km/h).
  • Feeds refresh about every 30 seconds; a feed that is temporarily down is skipped with a warning.