PASAR API

🇲🇾 Daily KTMB Ridership

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

Daily 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_daily&limit=10&sort=-date'

AI prompt

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

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

Source: KTMB, MOT (https://data.gov.my/data-catalogue/ridership_ktmb_daily)
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

Monthly KTMB RidershipMonthly Vehicle Registrations by Vehicle and Fuel Type