Skip to content

data.gov.sg API

17 endpointsGovernment & Open DataSGsocial:read15 real examples

Returns Singapore open dataset catalogue entries and live air temperature, PSI, two-hour weather forecast and rainfall readings.

View as Markdown
GET/datagovsg/datasetsDatasets in the data.gov.sg catalogue, ten per page, in catalogue order.
GET/datagovsg/datasetOne dataset of the data.gov.sg catalogue: its name, description, agency and coverage.
GET/datagovsg/airTemperatureLatest air temperature in degrees Celsius at each weather station.
GET/datagovsg/psiLatest Pollutant Standards Index and pollutant readings for each region of Singapore.
GET/datagovsg/twoHourForecastThe weather forecast for the next two hours for each area of Singapore.
GET/datagovsg/rainfallLatest rainfall in millimetres over the last five minutes at each weather station.
GET/datagovsg/relativeHumidityLatest relative humidity in per cent at each weather station.
GET/datagovsg/windSpeedLatest wind speed in knots at each weather station.
GET/datagovsg/windDirectionLatest wind direction in degrees at each weather station.
GET/datagovsg/uvIndexThe hourly UV index of Singapore for the day, latest hour first.
GET/datagovsg/pm25Latest hourly PM2.5 concentration in micrograms per cubic metre for each region of Singapore.
GET/datagovsg/forecast24hThe 24-hour weather forecast of Singapore: the general outlook and the forecast of each region for each period.
GET/datagovsg/forecast4dayThe four-day weather forecast of Singapore: each day's outlook, temperature, humidity and wind.
GET/datagovsg/carparksLive lot availability of the HDB and public car parks, or of one car park by its number.
GET/datagovsg/taxisHow many taxis are available in Singapore now, with the position of each.
GET/datagovsg/trafficImagesLatest snapshot from each Singapore traffic camera: the JPEG image, its time and the camera's position, or the snapshot nearest a time.
GET/datagovsg/collectionsThe collections of the data.gov.sg catalogue, the groups of related datasets, each with the ids of its datasets.

datasets

GET/v1/datagovsg/datasets

Datasets in the data.gov.sg catalogue, ten per page, in catalogue order.

scope social:read1 unitcached 1 hpaginated

Parameters

cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
coverageEndstring
coverageStartstring
createdAtstring
descriptionstring
formatstring
idstring
lastUpdatedAtstring
managedBystring
namestring
statusstring
curl "https://api.hoshime.com/v1/datagovsg/datasets" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "coverageEnd": "",
      "coverageStart": "",
      "createdAt": "2024-10-27T23:35:58+08:00",
      "description": "Source: SINGAPORE DEPARTMENT OF STATISTICS\r\n\r\nSurvey period: Supply, Use and Input-Output Tables 2017\r\n\r\nFootnotes: Each row shows how much …",
      "format": "CSV",
      "id": "d_000598f9f69718ffd6c77ae367a5d84f",
      "lastUpdatedAt": "2026-03-25T00:00:00+08:00",
      "managedBy": "Singapore Department of Statistics",
      "name": "Primary Inputs By Final Demand (Supply, Use and Input-Output Tables 2017)",
      "status": "active"
    },
    {
      "coverageEnd": "2026-06-30T08:00:00+08:00",
      "coverageStart": "1998-01-01T08:00:00+08:00",
      "createdAt": "2026-03-17T12:24:16+08:00",
      "description": "Retrenchment refers to the termination of permanent employees due to redundancy and early termination of term contract employees due to redu…",
      "format": "CSV",
      "id": "d_000d49cda016c13522d7d5be6a050f59",
      "lastUpdatedAt": "2026-09-22T17:23:09+08:00",
      "managedBy": "Ministry of Manpower",
      "name": "Number of Retrenched Employees - Quarterly",
      "status": "active"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "datasets",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

dataset

GET/v1/datagovsg/dataset

One dataset of the data.gov.sg catalogue: its name, description, agency and coverage.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Dataset id, such as d_8b84c4ee58e3cfc0ece0d773c8ca6abc.
e.g. d_8b84c4ee58e3cfc0ece0d773c8ca6abc
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
coverageEndstring
coverageStartstring
createdAtstring
descriptionstring
formatstring
idstring
lastUpdatedAtstring
managedBystring
namestring
statusstring
curl "https://api.hoshime.com/v1/datagovsg/dataset?id=d_8b84c4ee58e3cfc0ece0d773c8ca6abc" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "coverageEnd": "2018-12-01T08:00:00+08:00",
    "coverageStart": "2017-01-01T08:00:00+08:00",
    "createdAt": "2021-07-28T10:37:00+08:00",
    "description": "Notes:\n\n1. The approximate floor area includes any recess area purchased, space adding item under HDB’s upgrading programmes, roof terrace, …",
    "format": "CSV",
    "id": "d_8b84c4ee58e3cfc0ece0d773c8ca6abc",
    "lastUpdatedAt": "2026-11-07T02:02:10+08:00",
    "managedBy": "Housing & Development Board",
    "name": "Resale flat prices based on registration date from Jan-2017 onwards",
    "status": ""
  },
  "meta": {
    "cached": false,
    "endpoint": "dataset",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

airTemperature

GET/v1/datagovsg/airTemperature

Latest air temperature in degrees Celsius at each weather station.

scope social:read1 unitcached 5 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsStationReading[]
idstring
latitudenumber (double)
longitudenumber (double)
namestring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/airTemperature" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "id": "S44",
        "latitude": 1.3458,
        "longitude": 103.6817,
        "name": "Nanyang Avenue",
        "value": 24.8
      },
      {
        "id": "S80",
        "latitude": 1.4247,
        "longitude": 103.8201,
        "name": "Sembawang Meteorological Station",
        "value": 25
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "airTemperature",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

psi

GET/v1/datagovsg/psi

Latest Pollutant Standards Index and pollutant readings for each region of Singapore.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
itemsRegion[]
coEightHourMaxinteger (int64)
namestring
no2OneHourMaxinteger (int64)
o3EightHourMaxinteger (int64)
pm10TwentyFourHourlyinteger (int64)
pm25TwentyFourHourlyinteger (int64)
psi24Hourlyinteger (int64)
so2TwentyFourHourlyinteger (int64)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/psi" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "coEightHourMax": 1,
        "name": "central",
        "no2OneHourMax": 23,
        "o3EightHourMax": 8,
        "pm10TwentyFourHourly": 27,
        "pm25TwentyFourHourly": 14,
        "psi24Hourly": 54,
        "so2TwentyFourHourly": 3
      },
      {
        "coEightHourMax": 1,
        "name": "east",
        "no2OneHourMax": 30,
        "o3EightHourMax": 8,
        "pm10TwentyFourHourly": 30,
        "pm25TwentyFourHourly": 15,
        "psi24Hourly": 54,
        "so2TwentyFourHourly": 5
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "psi",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

twoHourForecast

GET/v1/datagovsg/twoHourForecast

The weather forecast for the next two hours for each area of Singapore.

scope social:read1 unitcached 10 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
itemsArea[]
forecaststring
latitudenumber (double)
longitudenumber (double)
namestring
readAtstring
validFromstring
validTostring
curl "https://api.hoshime.com/v1/datagovsg/twoHourForecast" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "forecast": "Light Rain",
        "latitude": 1.375,
        "longitude": 103.839,
        "name": "Ang Mo Kio"
      },
      {
        "forecast": "Light Rain",
        "latitude": 1.321,
        "longitude": 103.924,
        "name": "Bedok"
      }
    ],
    "readAt": "2026-11-07T01:30:00+08:00",
    "validFrom": "2026-11-07T01:30:00+08:00",
    "validTo": "2026-11-07T03:30:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "twoHourForecast",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

rainfall

GET/v1/datagovsg/rainfall

Latest rainfall in millimetres over the last five minutes at each weather station.

scope social:read1 unitcached 5 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsStationReading[]
idstring
latitudenumber (double)
longitudenumber (double)
namestring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/rainfall" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "id": "S208",
        "latitude": 1.31363,
        "longitude": 104.00317,
        "name": "Changi East Close",
        "value": 0
      },
      {
        "id": "S220",
        "latitude": 1.38666,
        "longitude": 103.89797,
        "name": "Compassvale Lane",
        "value": 0
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "rainfall",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

relativeHumidity

GET/v1/datagovsg/relativeHumidity

Latest relative humidity in per cent at each weather station.

scope social:read1 unitcached 5 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsStationReading[]
idstring
latitudenumber (double)
longitudenumber (double)
namestring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/relativeHumidity" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "id": "S44",
        "latitude": 1.3458,
        "longitude": 103.6817,
        "name": "Nanyang Avenue",
        "value": 96.9
      },
      {
        "id": "S116",
        "latitude": 1.2824,
        "longitude": 103.7545,
        "name": "Pasir Panjang Terminal",
        "value": 89.1
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "relativeHumidity",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

windSpeed

GET/v1/datagovsg/windSpeed

Latest wind speed in knots at each weather station.

scope social:read1 unitcached 5 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsStationReading[]
idstring
latitudenumber (double)
longitudenumber (double)
namestring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/windSpeed" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "id": "S60",
        "latitude": 1.2504,
        "longitude": 103.8275,
        "name": "Artillery Avenue (Sentosa)",
        "value": 0.7
      },
      {
        "id": "S106",
        "latitude": 1.4168,
        "longitude": 103.9673,
        "name": "Jalan Noordin (Pulau Ubin)",
        "value": 1.1
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "windSpeed",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

windDirection

GET/v1/datagovsg/windDirection

Latest wind direction in degrees at each weather station.

scope social:read1 unitcached 5 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
itemsStationReading[]
idstring
latitudenumber (double)
longitudenumber (double)
namestring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/windDirection" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "id": "S60",
        "latitude": 1.2504,
        "longitude": 103.8275,
        "name": "Artillery Avenue (Sentosa)",
        "value": 345
      },
      {
        "id": "S106",
        "latitude": 1.4168,
        "longitude": 103.9673,
        "name": "Jalan Noordin (Pulau Ubin)",
        "value": 47
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "windDirection",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

uvIndex

GET/v1/datagovsg/uvIndex

The hourly UV index of Singapore for the day, latest hour first.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
itemsUVReading[]
readAtstring
valuenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/uvIndex" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "readAt": "2026-11-06T19:00:00+08:00",
        "value": 0
      },
      {
        "readAt": "2026-11-06T18:00:00+08:00",
        "value": 0
      }
    ],
    "readAt": "2026-11-06T19:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "uvIndex",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

pm25

GET/v1/datagovsg/pm25

Latest hourly PM2.5 concentration in micrograms per cubic metre for each region of Singapore.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
itemsRegionReading[]
latitudenumber (double)
longitudenumber (double)
namestring
valueinteger (int64)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/pm25" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "latitude": 1.35735,
        "longitude": 103.82,
        "name": "central",
        "value": 12
      },
      {
        "latitude": 1.35735,
        "longitude": 103.94,
        "name": "east",
        "value": 6
      }
    ],
    "readAt": "2026-11-07T02:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "pm25",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

forecast24h

GET/v1/datagovsg/forecast24h

The 24-hour weather forecast of Singapore: the general outlook and the forecast of each region for each period.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

21 fields
generalOutlook
forecaststring
relativeHumidityRange
highinteger (int64)
lowinteger (int64)
temperatureRange
highinteger (int64)
lowinteger (int64)
windDirectionstring
windSpeedRange
highinteger (int64)
lowinteger (int64)
periodsPeriod[]
endstring
regionsRegionForecast[]
forecaststring
namestring
startstring
readAtstring
validFromstring
validTostring
curl "https://api.hoshime.com/v1/datagovsg/forecast24h" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "general": {
      "forecast": "Thundery Showers",
      "relativeHumidity": {
        "high": 95,
        "low": 65
      },
      "temperature": {
        "high": 33,
        "low": 24
      },
      "windDirection": "NE",
      "windSpeed": {
        "high": 15,
        "low": 5
      }
    },
    "periods": [
      {
        "end": "2026-11-07T06:00:00+08:00",
        "regions": [
          {
            "forecast": "Light Rain",
            "name": "central"
          },
          {
            "forecast": "Light Rain",
            "name": "east"
          }
        ],
        "start": "2026-11-07T00:00:00+08:00"
      },
      {
        "end": "2026-11-07T12:00:00+08:00",
        "regions": [
          {
            "forecast": "Partly Cloudy (Day)",
            "name": "central"
          },
          {
            "forecast": "Partly Cloudy (Day)",
            "name": "east"
          }
        ],
        "start": "2026-11-07T06:00:00+08:00"
      }
    ],
    "readAt": "2026-11-06T23:31:00+08:00",
    "validFrom": "2026-11-07T00:00:00+08:00",
    "validTo": "2026-11-08T00:00:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "forecast24h",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

forecast4day

GET/v1/datagovsg/forecast4day

The four-day weather forecast of Singapore: each day's outlook, temperature, humidity and wind.

scope social:read1 unitcached 1 h

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
itemsDayForecast[]
datestring
outlookOutlook
forecaststring
relativeHumidityRange
temperatureRange
windDirectionstring
windSpeedRange
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/forecast4day" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "date": "2026-11-07",
        "outlook": {
          "forecast": "Afternoon thundery showers",
          "relativeHumidity": {
            "high": 95,
            "low": 65
          },
          "temperature": {
            "high": 33,
            "low": 24
          },
          "windDirection": "NE",
          "windSpeed": {
            "high": 15,
            "low": 5
          }
        }
      },
      {
        "date": "2026-11-08",
        "outlook": {
          "forecast": "Afternoon thundery showers",
          "relativeHumidity": {
            "high": 95,
            "low": 60
          },
          "temperature": {
            "high": 33,
            "low": 24
          },
          "windDirection": "VARIABLE",
          "windSpeed": {
            "high": 15,
            "low": 5
          }
        }
      }
    ],
    "readAt": "2026-11-06T16:50:00+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "forecast4day",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

carparks

GET/v1/datagovsg/carparks

Live lot availability of the HDB and public car parks, or of one car park by its number.

scope social:read1 unitcached 2 minpaginated

Parameters

number
string
Car park number, such as HE12. Empty lists every car park.
e.g. HE12
limit
integer
Items per page, 1 to 1000.
default 100
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
lotsLotCount[]
availableinteger (int64)
lotTypestring
totalinteger (int64)
numberstring
readAtstring
updatedAtstring
curl "https://api.hoshime.com/v1/datagovsg/carparks?number=HE12" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "lots": [
        {
          "available": 103,
          "lotType": "C",
          "total": 105
        }
      ],
      "number": "HE12",
      "readAt": "2026-11-07T02:01:36+08:00",
      "updatedAt": "2026-11-06T18:00:51Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "carparks",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

taxis

GET/v1/datagovsg/taxis

How many taxis are available in Singapore now, with the position of each.

scope social:read1 unitcached 1 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
countinteger (int64)
positionsPosition[]
latitudenumber (double)
longitudenumber (double)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/taxis" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "count": 2131,
    "positions": [
      {
        "latitude": 1.3029537724,
        "longitude": 103.6300903559
      },
      {
        "latitude": 1.3070082206,
        "longitude": 103.6315890402
      }
    ],
    "readAt": "2026-11-07T02:02:28+08:00"
  },
  "meta": {
    "cached": false,
    "endpoint": "taxis",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

trafficImages

GET/v1/datagovsg/trafficImages

Latest snapshot from each Singapore traffic camera: the JPEG image, its time and the camera's position, or the snapshot nearest a time.

scope social:read1 unitcached 1 min

Parameters

dateTime
string
Time to read the cameras at, such as 2026-11-06T10:00:00 in Singapore time. Empty reads the latest.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
camerasCamera[]
heightinteger (int64)
idstring
imagestring
imageAtstring
latitudenumber (double)
longitudenumber (double)
widthinteger (int64)
readAtstring
curl "https://api.hoshime.com/v1/datagovsg/trafficImages" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "cameras": [
      {
        "height": 0,
        "id": "abc123",
        "image": "…",
        "imageAt": "2026-11-06T09:41:00Z",
        "latitude": 0,
        "longitude": 0,
        "width": 0
      }
    ],
    "readAt": "2026-11-06T09:41:00Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "trafficImages",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

collections

GET/v1/datagovsg/collections

The collections of the data.gov.sg catalogue, the groups of related datasets, each with the ids of its datasets.

scope social:read1 unitcached 1 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
datasetsstring[]
descriptionstring
frequencystring
idstring
lastUpdatedAtstring
managedBystring
namestring
curl "https://api.hoshime.com/v1/datagovsg/collections" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "datasets": [
        "…"
      ],
      "description": "…",
      "frequency": "…",
      "id": "abc123",
      "lastUpdatedAt": "2026-11-06T09:41:00Z",
      "managedBy": "…",
      "name": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "collections",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "datagovsg",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open