PASAR API
Dataset shows the annual number of vessel arrivals (>75 GT) and shipping tonnage by type. Keyless JSON via data.gov.sg datastore. SG-first.
View docs ↗ More Transport APIs All Singapore APIscurl --fail-with-body --location --max-time 30 'https://data.gov.sg/api/action/datastore_search?resource_id=d_8392e9bea6ca351a38f67172ccdf6a6a&limit=10'
I'm building an app using a public Singapore API (no private credentials needed). API: Vessel Arrivals (>75 GT) Total, Annual Data Provider: Maritime and Port Authority of Singapore Endpoint: GET https://data.gov.sg/api/action/datastore_search?resource_id=d_8392e9bea6ca351a38f67172ccdf6a6a&limit=10 Response format: JSON Source: Maritime and Port Authority of Singapore via data.gov.sg (https://data.gov.sg/datasets/d_8392e9bea6ca351a38f67172ccdf6a6a/view) 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 and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.