> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/getting-started/sg-forecast.md).

# Singapore two-hour forecast in Duaer

In Duaer: data.gov.sg: the NEA two-hour weather forecast for each Singapore area, with the valid period. One successful search uses 1 credit.
## What you get

Duaer Singapore two-hour forecast returns the latest NEA nowcast for each of about 47 Singapore areas, such as Partly Cloudy or Thundery Showers.

Pick Duaer Data → Singapore two-hour forecast in the node creator, or open the [data market](/getting-started/data-market.md). Related: [Weather forecast](/getting-started/weather.md), [Hong Kong weather](/getting-started/hk-weather.md).

## When to use it

- Check whether Tampines expects showers in the next two hours.
- List the current forecast for every Singapore area.

## When not to use it

- Multi-day forecasts worldwide. Use [Weather forecast](/getting-started/weather.md).
- Hong Kong weather. Use [Hong Kong weather](/getting-started/hk-weather.md).

## Search on the canvas

1. Open the node creator and pick Duaer Data → Singapore two-hour forecast.
2. Fill Area (such as Tampines, or all).
3. Limit defaults to 10, max 20. Execute.

A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.

## Call the API

- GET https://api.duaer.com/v1/data/sg-forecast?area=tampines
- Authorization: Bearer <Duaer key>

The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.

## Call skill

Same text as Copy skill.

```
---
name: duaer-sg-forecast
description: >-
  Duaer Singapore two-hour forecast. data.gov.sg: the NEA two-hour weather forecast for each Singapore area, with the valid period.
  One successful search uses 1 Duaer credit.
---

# Duaer Singapore two-hour forecast

Duaer Singapore two-hour forecast returns the latest NEA nowcast for each of about 47 Singapore areas, such as Partly Cloudy or Thundery Showers.

## When to use

- Check whether Tampines expects showers in the next two hours.
- List the current forecast for every Singapore area.

## When not to use

- Multi-day forecasts worldwide. Use https://skills.duaer.com/weather.md.
- Hong Kong weather. Use https://skills.duaer.com/hk-weather.md.

## Call

`GET https://api.duaer.com/v1/data/sg-forecast?area=tampines`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `area`.

- `area` — Words in the area name such as Tampines, or `all` for every area.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/sg-forecast?area=tampines` — the two-hour forecast for Tampines.
- `GET https://api.duaer.com/v1/data/sg-forecast?area=all&limit=20` — the forecast for 20 areas.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `area`, `forecast` — area name and forecast text.
- `validFrom`, `validTo`, `issuedAt` — the two-hour window and when NEA issued it.
- `latitude`, `longitude` — the area label point.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/weather.md — Duaer Weather forecast
- https://skills.duaer.com/hk-weather.md — Duaer Hong Kong weather

```
## Questions

### How many credits does a Singapore two-hour forecast search use in Duaer?

One credit when Duaer returns rows. A search with no rows or an error uses 0.

### How often does Duaer Singapore two-hour forecast update?

NEA issues a new forecast about every 30 minutes. Duaer always reads the latest one.

## Related

- [Weather forecast in Duaer](https://doc.duaer.com/getting-started/weather.md)
- [Hong Kong weather in Duaer](https://doc.duaer.com/getting-started/hk-weather.md)

