PASAR API

🇸🇬 Carpark Availability (data.gov.sg) ~ live HDB carpark lots

← directory
HDB via data.gov.sgTravel & mobilitytier: openauth: no authpricing: freefreq: REALTIME

Keyless real-time count of available lots across Singapore's HDB and public carparks, updated continuously. Pair with the static carpark-info dataset for locations. SG-first.

View docs ↗ More Travel & mobility APIs

Call it

curl 'https://api.data.gov.sg/v1/transport/carpark-availability'

AI prompt

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

API: Carpark Availability (data.gov.sg) ~ live HDB carpark lots
Provider: HDB via data.gov.sg
Endpoint: GET https://api.data.gov.sg/v1/transport/carpark-availability
It returns JSON (live data).

Source: HDB via data.gov.sg (https://guide.data.gov.sg/developer-guide/api-overview)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Copy-paste ready
Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts.

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 Travel & mobility APIs

LTA DataMall ~ Singapore real-time bus, train & traffic dataTraffic Images (data.gov.sg) ~ live Singapore road camerasAviationstack Real-Time Flight DataFlightAware AeroAPIBooking.com Demand APIViator Partner APISkyscanner Travel APIKlook Open APIAmadeus Self-Service APIs ~ flight search, booking, hotels & travel dataDuffel API ~ flight & hotel search, booking & ticketing