{
  "id": "b8de592f-6dc5-4b48-8512-45708123d7e9",
  "slug": "nea-2hr-weather-forecast",
  "name": "NEA 2-Hour Weather Forecast",
  "provider": "NEA via data.gov.sg",
  "category_slug": "weather-environment",
  "description": "Area-level weather forecast for the next 2 hours across 47 Singapore planning areas, refreshed every 30 minutes. Returns forecast text (e.g. Thundery Showers) plus label coordinates per area.",
  "base_url": "https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast",
  "docs_url": "https://guide.data.gov.sg/developer-guide/api-overview",
  "openapi_url": null,
  "auth_type": "none",
  "auth_guide": [
    "No key needed; the endpoint is public.",
    "Optional: create an account at data.gov.sg and request an API key for higher rate limits.",
    "If you have a key, send it in the x-api-key header."
  ],
  "pricing": "free",
  "rate_limit": null,
  "example_request": "curl 'https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast'",
  "example_response_snippet": "{\"code\":0,\"data\":{\"area_metadata\":[{\"name\":\"Ang Mo Kio\",\"label_location\":{\"longitude\":103.839,\"latitude\":1.375}}]}}",
  "agent_notes": "v2 (api-open.data.gov.sg) is the current API; the older v1 at api.data.gov.sg/v1/environment/2-hour-weather-forecast still works too. Add ?date=YYYY-MM-DD for historical.",
  "status": "live",
  "tags": [
    "weather",
    "forecast",
    "nea",
    "realtime",
    "no-auth"
  ],
  "sg_official": true,
  "created_at": "2026-07-05T08:44:11.817Z",
  "updated_at": "2026-07-05T09:15:26.485Z",
  "page_url": "https://singaporeapi.com/apis/nea-2hr-weather-forecast"
}