Singapore is a regional hub for treasury centers, trading companies and APAC headquarters, so the Singapore dollar often sits at the center of multi-currency reporting for South-East Asia. Its monetary policy is unusual: instead of an interest rate, the central bank steers the exchange rate itself. The fxapi SGD exchange rate API returns Singapore dollar rates against 190+ currencies, including regional pairs such as SGD/MYR and SGD/IDR.
SGD facts for developers
- Where it’s used: Singapore. The Brunei dollar (BND) is interchangeable with the Singapore dollar at par under a 1967 agreement, and both circulate in Brunei and Singapore.
- Symbol and formatting:
$, writtenS$orSGDinternationally. Format:S$1,234.56. - Minor unit: 2 decimals (cents).
- Central bank: the Monetary Authority of Singapore (MAS).
- Regime: a managed float. MAS uses the exchange rate as its main monetary policy tool, guiding the trade-weighted Singapore dollar (S$NEER) within an undisclosed policy band defined by its slope, width and center.
- Events in the historical data: on 30 March 2020 – the sample date on this page – MAS set the slope of the policy band to zero and re-centered the band lower, an easing move at the start of the pandemic.
Get SGD rates with the fxapi API
For trend charts and dashboards, weekly data is often enough and keeps payloads small. /v1/range with accuracy=week (Professional plan and up) returns the week-end daily rate for each week. This Python script loads two years of weekly SGD rates into a dictionary keyed by currency:
import csv
import io
import os
from collections import defaultdict
import requests
params = {
"base_currency": "SGD",
"currencies": "MYR,IDR,USD",
"datetime_start": "2024-10-01T00:00:00Z",
"datetime_end": "2026-09-30T23:59:59Z",
"accuracy": "week",
"format": "csv",
}
r = requests.get(
"https://api.fxapi.com/v1/range",
params=params,
headers={"apikey": os.environ["FXAPI_KEY"]},
timeout=20,
)
r.raise_for_status()
series = defaultdict(list)
for row in csv.DictReader(io.StringIO(r.text)):
series[row["currency"]].append((row["datetime"][:10], float(row["value"])))
for code, points in series.items():
first, last = points[0][1], points[-1][1]
print(f"SGD/{code}: {len(points)} weeks, {first:.4f} -> {last:.4f}")
Feed the series straight into a BI tool – see business intelligence and analytics and the time series API. The Python guide shows a pandas version. On the Free plan, monthly averages from the average exchange rates API are a lighter alternative for trend reporting. For another managed regional currency, compare the Hong Kong dollar.
Things to watch
- IDR scale. One Singapore dollar buys thousands of rupiah; store rates as decimals with enough precision, not as fixed 4-decimal values.
- Policy statements move the SGD. MAS policy decisions can shift the trade-weighted rate on the day they are published.
- Same
$sign. Label pricesS$to avoid confusion with US or Australian dollars.
Popular SGD pairs
Request any of these pairs – or any other combination of the 190+ supported currencies – with base_currency=SGD:
| Pair | Latest rate request |
|---|---|
| SGD/USD | /v1/latest?base_currency=SGD¤cies=USD |
| SGD/EUR | /v1/latest?base_currency=SGD¤cies=EUR |
| SGD/MYR | /v1/latest?base_currency=SGD¤cies=MYR |
| SGD/CNY | /v1/latest?base_currency=SGD¤cies=CNY |
| SGD/JPY | /v1/latest?base_currency=SGD¤cies=JPY |
| SGD/IDR | /v1/latest?base_currency=SGD¤cies=IDR |
| SGD/AUD | /v1/latest?base_currency=SGD¤cies=AUD |
| SGD/GBP | /v1/latest?base_currency=SGD¤cies=GBP |
Monthly averages and fluctuation for SGD
# Monthly average SGD rates for 2025 (IAS 21 / ASC 830)
curl -G "https://api.fxapi.com/v1/average" \
-d date_from=2025-01-01 -d date_to=2025-12-31 -d period=month \
-d base_currency=SGD -d currencies=USD,EUR,MYR \
-H "apikey: $FXAPI_KEY"
# How did SGD move over the last year?
curl -G "https://api.fxapi.com/v1/fluctuation" \
-d date_from=2025-10-01 -d date_to=2026-10-01 \
-d base_currency=SGD -d currencies=USD,EUR,MYR \
-H "apikey: $FXAPI_KEY"See the historical exchange rates API, average rates API and documentation for every parameter.
SGD is one of 190+ currencies in fxapi, the foreign exchange rates API for developers – live rates, daily history since 1999 and monthly averages with one API key.
Frequently asked questions
How do I get the SGD to USD exchange rate via API?
/v1/latest?base_currency=SGD¤cies=USD with your key in the apikey header. The value is US dollars per 1 Singapore dollar.Does fxapi support the Brunei dollar?
base_currency=SGD¤cies=BND should return a value of about 1.Can I get weekly SGD rates?
/v1/range with accuracy=week returns one rate per week (the week-end daily rate) for spans of up to 1830 days. The range endpoint is available on the Professional plan and above.