PASAR API
PM2.5 annual mean. Keyless JSON via data.gov.sg datastore. SG-first.
View docs ↗ More Environment & climate APIscurl 'https://data.gov.sg/api/action/datastore_search?resource_id=d_397fe8de643aea9927bdee32e49307ff&limit=10'
I'm building an app using a free Singapore API (no auth needed). API: Air Pollutant - Particulate Matter PM2.5 Provider: National Environment Agency Endpoint: GET https://data.gov.sg/api/action/datastore_search?resource_id=d_397fe8de643aea9927bdee32e49307ff&limit=10 It returns JSON. Source: National Environment Agency via data.gov.sg (https://data.gov.sg/datasets/d_397fe8de643aea9927bdee32e49307ff/view) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Last checked: 2026-06-29 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.