Malaysia Transit

Malaysia Transit

Real-time bus and train tracking across Malaysia. Never miss your ride again with live location updates and accurate arrival predictions.

13
Service Areas
18
Transit Providers
30s
Update Interval
Free
To Use
Explore the API

What is Malaysia Transit?

Ever wondered how apps like Google Maps and Moovit know exactly where your bus is? Behind the scenes, there's a lot of data flowing, and it's not always easy to work with. That's where this middleware comes in.

1The Raw Data Problem

Transit operators like Prasarana and BAS.MY publish their data using GTFS (General Transit Feed Specification), a global standard used by transit agencies worldwide. It comes in two parts:

📋 GTFS Static

The "timetable" — routes, stops, schedules, and service calendars. Think of it as the official bus schedule book, but in data form.

📡 GTFS Realtime

The live feed — GPS positions, arrival predictions, and service alerts. Updated every few seconds, delivered in a compact binary format.

Great for standardization. Not so great if you just want to build an app quickly.

2What the Middleware Does

This middleware sits between the raw GTFS feeds and your application, doing the heavy lifting:

Ingests data from multiple providers

Pulls GTFS feeds from Prasarana, BAS.MY, and others — all in one place.

Matches vehicles to routes

Takes GPS coordinates and figures out which bus is on which route, heading to which stop.

Calculates arrival predictions

Factors in current delays, traffic patterns, and time-of-day to give you accurate ETAs.

Serves it all via simple APIs

Clean JSON endpoints that any app or website can use. No binary parsing required.

The Result?

You get to see exactly where your bus is and when it will arrive, without anyone having to wrestle with complex data formats. Developers can build apps in hours instead of weeks. Commuters get reliable, real-time information.

For Commuters

Use the live middleware to see exactly where your bus or train is, with accurate arrival predictions so you never wait unnecessarily.

For Developers

Access the API to build your own transit applications with real-time data, route information, and arrival predictions.

Key Features

Built with accuracy and reliability in mind

Real-time Vehicle Tracking

Live positions for buses and trains updated every 30 seconds

Shape-Based Arrival Predictions

40-60% more accurate ETAs using actual route geometry with rush hour adjustments

Departure Schedules

Get next departures, full schedules, and route operating status

Fare Calculator

Calculate fares for BAS.MY, Rapid Penang, KTM Komuter Utara, KTM Intercity, and Penang Ferry

Multi-Provider Integration

Seamlessly combines data from Prasarana, BAS.MY, and more

Interactive Maps

Visualize routes, stops, and real-time vehicles on beautiful maps

Persistent Caching

Instant area switching after first load with smart caching

GitHub Backup Fallback

Automatic fallback to backup repository when data.gov.my is unavailable

API Analytics Dashboard

Track API usage with cumulative stats, endpoint breakdowns, and per-area metrics

Service Areas

Covering major cities and regions across Malaysia

Klang Valley

Kuala Lumpur & Selangor

BusRail
Live

Covers: Kuala Lumpur, Selangor, and Putrajaya

Operators: Rapid Rail KL • Rapid Bus KL • MRT Feeder

Penang

Penang Island & Seberang Perai

BusFerryRail
Live

Covers: George Town, Butterworth, mainland Penang

Operators: Rapid Penang • Penang Ferry • KTM Komuter Utara

Kangar

Perlis

BusRail
Live

Covers: Kangar, Perlis (via Arau/Padang Besar)

Operators: BAS.MY Kangar • KTM Komuter Utara

Alor Setar

Kedah

BusRail
Live

Covers: Alor Setar, Kuala Kedah, Jitra, Kuala Nerang, Pendang, Sungai Petani, Tanjung Dawai, and Pantai Merdeka

Operators: BAS.MY Alor Setar • KTM Komuter Utara

Kota Bharu

Kelantan

BusRail
Live

Covers: Kota Bharu, Pengkalan Chepa, Pasir Mas, Rantau Panjang, Pengkalan Kubor, Bachok, Tumpat, Machang, Jeli, Kuala Krai, Gua Musang, and Jertih (Terengganu)

Operators: BAS.MY Kota Bharu • KTM Intercity

Kuala Terengganu

Terengganu

Bus
Live

Covers: Kuala Terengganu, Merang, Batu Rakit, Kuala Berang, Bukit Payong, and Marang

Operators: BAS.MY Kuala Terengganu

Melaka

Melaka

Bus
Live

Covers: Whole of Melaka and Tampin (Negeri Sembilan)

Operators: BAS.MY Melaka

Johor Bahru

Johor

Bus
Live

Covers: Johor Bahru, Iskandar Puteri, Kulai, Pasir Gudang, Ulu Tiram, Kota Tinggi, Pontian, and Bandar Dato Onn

Operators: BAS.MY Johor Bahru

Kuching

Sarawak

Bus
Live

Covers: Kuching, Serian, Bau, Batu Kawa, Matang, Kampung Benuk, Demak Laut, Muara Tebas, and Bako

Operators: BAS.MY Kuching

Ipoh

Perak

BusRail
Live

Covers: Ipoh, Kuala Kangsar, Chemor, Gopeng, Kampar, Batu Gajah, Seri Iskandar, and Sungai Siput

Operators: BAS.MY Ipoh • KTM Komuter Utara

Seremban

Negeri Sembilan

BusRail
Live

Covers: Seremban, Nilai, Bahau, Kuala Pilah, Pekan Linggi, Tampin, Port Dickson, Kuala Klawang, Mantin, and Gemas

Operators: BAS.MY Seremban (2 operators) • KTM Intercity

Kuantan

Pahang

Bus
Maintenance

Covers: Kuantan, Bandar Indera Mahkota, Pekan, Sungai Lembing, Gambang, and Cherating

Operators: BAS.MY Kuantan (pending)

Kota Kinabalu

Sabah

Bus
Soon

Covers: Whole of Kota Kinabalu

Operators: Coming Soon

Powered by Official Government Data

All transit data is sourced from data.gov.my, Malaysia's official open data portal, ensuring you're working with authoritative, government-provided public transportation data.

Transit Operators:

Prasarana (RapidKL, Rapid Penang, Rapid Kuantan)BAS.MY (Regional Services)KTMB (Rail)

Ready to Track Your Transit?

Try Malaysia Transit now or explore the API documentation for developers

API Documentation
TechMavie Digital Logo

TechMavie Digital Services

Business Registration Number: 202503258894

Copyright 2025 TechMavie Digital. All rights reserved.

Made with ❤️ by

Privacy Notice

This website uses Plausible, a privacy-focused analytics tool. Your data is anonymized and stored in Nuremberg, Germany. No cookies are used and no personal information is collected. I respect your privacy.