Home

Malaysia Transit FAQ

🚍 General
Malaysia Transit is a free, real-time public transit tracker that shows live locations and arrival times for buses and KTM Komuter Utara trains across Malaysia. It supports RapidKL, Rapid Penang, BAS.MY, KTM Komuter, and the Penang Ferry.
We currently cover 11 areas: Klang Valley (Kuala Lumpur, Selangor, Putrajaya), Penang, Ipoh, Seremban, Kangar, Alor Setar, Kota Bharu, Kuala Terengganu, Melaka, Johor Bahru, and Kuching. Kuantan is under maintenance and Kota Kinabalu is coming soon.
Arrival predictions are based on live GPS positions from transit operators via Malaysia's official open data platform (data.gov.my). We use shape-based predictions that follow actual route geometry for improved accuracy, with time-of-day adjustments for rush hour. However, real-world conditions like traffic, weather, and diversions can always affect actual times.
Yes, Malaysia Transit is completely free for all users. There are no ads, no premium tiers, and no hidden charges. The underlying transit data is publicly available from data.gov.my.
All transit data comes from official sources. Real-time vehicle positions and static route/schedule data are sourced via GTFS feeds from data.gov.my, Malaysia's official open data platform. The data is originally provided by Prasarana (Rapid KL, Rapid Penang) and APAD/BAS.MY (intercity and rural bus services).
Malaysia Transit is a Progressive Web App (PWA). The app shell and previously viewed pages are cached for faster loading. However, transit data like routes, stops, and real-time tracking requires an active internet connection.
You can install it directly from your browser without an app store. On Android (Chrome), tap the "Add to Home Screen" prompt or use the three-dot menu and select "Install app". On iOS (Safari), tap the Share button and then "Add to Home Screen".
Yes. The fare calculator supports BAS.MY routes (distance-based fares), Rapid Penang (staged fares), KTM Komuter Utara (zone-based fares across 23 stations), and the Penang Ferry. You can also calculate multi-leg journey fares when your trip involves changing routes.
Yes. The stop search supports smart geocoding. You can type a landmark, building name, or address (e.g. "KOMTAR", "Pavilion KL"), and the system will automatically find the location and show nearby transit stops.
Yes. The Departures page shows upcoming departures for buses (excluding RapidKL), KTM Komuter Utara trains, and the Penang Ferry. If today's schedule is exhausted, it automatically shows the next morning's first departures.
💻 For Developers
API access requires a subscription at RM99/month. There is no free tier. Your subscription includes unlimited API calls with no rate limits from our end (upstream data.gov.my limits may still apply). You can sign up and manage your API key through the developer portal.

You can authenticate using any of these methods:

  • X-API-Key header (recommended): X-API-Key: mtk_live_...
  • Authorization Bearer token: Authorization: Bearer mtk_live_...
  • Query parameter: ?api_key=mtk_live_...
The API returns JSON. The upstream data from data.gov.my uses GTFS Static (ZIP/CSV) and GTFS Realtime (Protocol Buffers), but our middleware parses and transforms everything into clean JSON responses, so you do not need to handle protobuf decoding or CSV parsing.

Key endpoint groups include:

  • Service areas: list areas, area details, provider health status
  • Real-time tracking: live vehicle positions (filterable by bus or rail)
  • Routes and stops: route lists, route geometry, stop search, arrivals
  • Nearby: stops near coordinates or a place name, with live arrivals
  • Fares: fare calculation for BAS.MY, Rapid Penang, KTM Komuter, Penang Ferry
  • KTM: stations, schedules, fare matrix for Komuter Utara

Full endpoint documentation is available at the developer portal.

GTFS (General Transit Feed Specification) is an open standard created by Google for publishing transit data. It comes in two parts:

  • GTFS Static — schedule data (routes, stops, trips, timetables) distributed as ZIP files containing CSV tables.
  • GTFS Realtime — live vehicle positions and trip updates, encoded in Protocol Buffers (protobuf), a compact binary format.

Malaysia's official open data platform at data.gov.my publishes GTFS feeds from transit operators including Prasarana (Rapid KL, Rapid Penang), APAD/BAS.MY (intercity and rural bus services across multiple states), KTM, and the Penang Ferry.

While the raw GTFS data on data.gov.my is free and publicly available, working with it directly requires protobuf decoding, CSV parsing, and significant processing. Our middleware handles all of that complexity, as it decodes the binary feeds, parses the static schedules, merges data from multiple providers into a single unified API, adds shape-based arrival predictions, fare calculation, and geocoding-powered stop search, and returns everything as clean JSON.

The middleware polls upstream GTFS Realtime feeds at regular intervals (typically every 30 seconds depending on the provider). Prasarana usually updates every 10-30 seconds; BAS.MY providers vary by city. Each response includes timestamp information so you can assess data freshness.
Yes. The API is designed to be integration-friendly. The nearby endpoints accept plain-text place names (e.g. "KLCC", "Penang Airport") via a location parameter, making it easy for chatbots and AI assistants to find nearby transit. All responses are clean JSON with no protobuf parsing required. MCP tool integrations are also available.
Back to Home

Verify External Link

You are about to visit .

Please verify the URL before proceeding:

Malaysia Transit — Frequently Asked Questions

Answers to common questions about using Malaysia Transit: coverage, real-time tracking, fares, journey planning, offline use and supported operators.

Frequently asked questions

What is Malaysia Transit?
Malaysia Transit is a free web app to track real-time buses, trains and ferries across 11 Malaysian cities. It covers Rapid KL, Rapid Penang, BAS.MY, KTM Komuter, KTM Intercity, KLIA Ekspres, Penang Ferry, Bas Muafakat Johor, and Causeway Link, with live vehicle positions, fares, schedules and A-to-B journey planning.
Which cities and operators are covered?
Live coverage includes Klang Valley, Penang, Kangar, Alor Setar, Kota Bharu, Kuala Terengganu, Melaka, Johor Bahru, Kuching, Ipoh, Seremban. Operators include BAS.MY Alor Setar, BAS.MY Ipoh, BAS.MY Johor Bahru, BAS.MY Kangar, BAS.MY Kota Bharu, BAS.MY Kuala Terengganu, BAS.MY Kuching, BAS.MY Melaka, BAS.MY Seremban, Bas Muafakat Johor, Causeway Link Cross-Border, City Public Link S19, KLIA Ekspres, KTM Intercity, KTM Komuter, KTM Komuter Utara, KTM Shuttle Tebrau, LTA Cross-Border, MRT Feeder Bus, Penang Ferry, Rapid Bus KL, Rapid Penang, Rapid Rail KL, SRT International Shuttle.
Does it cost anything?
No. Malaysia Transit is free to use in any web browser and installable as a Progressive Web App (PWA) on Android and iOS home screens. No account is required.
Is real-time bus and train tracking available?
Yes. Where operators publish a GTFS-Realtime feed (most Rapid KL, Rapid Penang and BAS.MY services), live vehicle positions and arrival predictions are shown on the map.

Maintained by Aliff, TechMavie Digital.