WEAGovernment ยท NEA via data.gov.sg

NEA UV Index

Hourly UV index readings for Singapore covering each hour of the current day. Returns a simple hour and value series.

How to authenticate

2 stops to a working call

  1. 1No key needed; the endpoint is public.
  2. 2Optional: request a data.gov.sg API key for higher rate limits and send it as x-api-key.

Example request

Request
curl 'https://api-open.data.gov.sg/v2/real-time/api/uv'

Example response

Response (truncated)
{"code":0,"data":{"records":[{"index":[{"hour":"2026-07-05T16:00:00+08:00","value":4},{"value":6,"hour":"2026-07-05T15:00:00+08:00"}]}]}}

NEA UV Index: common questions

Is the NEA UV Index free?

Yes. NEA via data.gov.sg offers the NEA UV Index free of charge.

Does the NEA UV Index need an API key?

No. The NEA UV Index can be called without an API key or login.

What is the NEA UV Index endpoint?

The base URL is https://api-open.data.gov.sg/v2/real-time/api/uv. A working example: curl 'https://api-open.data.gov.sg/v2/real-time/api/uv'

Notes for AI agents

UV only reads non-zero during daylight hours. The index array is newest-first.

Machine-readable version: /api/apis/nea-uv-index

On the same line