[go: up one dir, main page]

A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Carpark Availability

Get the latest carpark availability in Singapore:

  • Retrieved every minute
  • Use the date_time parameter to retrieve the latest carpark availability at that moment in time
  • Detailed carpark information can be found at https://data.gov.sg/dataset/hdb-carpark-information
  • Limited to 60 requests per minute per API key

1 related datasets

Related datasets are grouped into a collection based on themes, topics or common attributes for easier access and exploration. All datasets within a collection are published and managed by the same agency.

Carpark Availability

APIover 1 year ago

Coverage: Jan 2018 to Oct 2024

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the metadata for this collection. For a complete guide on query parameters and syntax, please refer to the API documentation. Try it out on your browser to see the response schema.

import requests
          
collectionId = 85          
url = "https://api-production.data.gov.sg/v2/public/api/collections/{}/metadata".format(collectionId)
        
response = requests.get(url)
print(response.json())