PASAR API

🇲🇾 Monthly KTMB Ridership

← directory
KTMB, MOTTransportationtier: openauth: no authpricing: freefreq: MONTHLYcovers 2020~2025geography: NATIONAL

Monthly KTMB Ridership by KTMB, MOT, Transportation API, for Malaysia, free.

More Transportation APIs

Call it

curl 'https://api.data.gov.my/data-catalogue/?id=ridership_ktmb_monthly&limit=10&sort=-date'

AI prompt

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

API: Monthly KTMB Ridership
Provider: KTMB, MOT
Endpoint: GET https://api.data.gov.my/data-catalogue/?id=ridership_ktmb_monthly&limit=10&sort=-date
It returns JSON.

Source: KTMB, MOT (https://data.gov.my/data-catalogue/ridership_ktmb_monthly)
Source type: Official open-data catalogue
Endpoint type: Open-data catalogue JSON
Integration difficulty: Copy-paste ready
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

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 Transportation APIs

Daily KTMB RidershipMonthly Vehicle Registrations by Vehicle and Fuel Type