Central Bank of Samoa Exchange Rate API: Official WST (Tala) Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

The Central Bank of Samoa publishes the official exchange rates for Samoa — the bank's own dated figures, not moving market prices. AllRatesToday serves them on the same endpoints as more than 130 other central banks, under the source code cbsws. This guide shows how to pull them as JSON with curl, JavaScript and Python.

WST → USD — official Central Bank of Samoa exchange rate
Weekly observations, Nov '25 – Nov '26 · US dollars per 1 Samoan tala
0.36000.3700Nov '25Feb '26May '26Aug '26Nov '260.35382025-11-28: 0.3570 USD2025-12-05: 0.3591 USD2025-12-12: 0.3608 USD2025-12-19: 0.3592 USD2025-12-24: 0.3614 USD2025-12-31: 0.3608 USD2026-01-09: 0.3597 USD2026-01-16: 0.3599 USD2026-01-23: 0.3648 USD2026-01-30: 0.3704 USD2026-02-06: 0.3677 USD2026-02-13: 0.3702 USD2026-02-20: 0.3689 USD2026-02-27: 0.3697 USD2026-03-06: 0.3664 USD2026-03-13: 0.3671 USD2026-03-20: 0.3681 USD2026-03-27: 0.3628 USD2026-04-02: 0.3630 USD2026-04-10: 0.3672 USD2026-04-17: 0.3688 USD2026-04-24: 0.3680 USD2026-05-01: 0.3698 USD2026-05-08: 0.3709 USD2026-05-15: 0.3703 USD2026-05-22: 0.3685 USD2026-05-29: 0.3696 USD2026-06-05: 0.3682 USD2026-06-12: 0.3660 USD2026-06-19: 0.3643 USD2026-06-26: 0.3611 USD2026-07-03: 0.3621 USD2026-07-10: 0.3637 USD2026-07-17: 0.3661 USD2026-07-24: 0.3642 USD2026-07-31: 0.3675 USD2026-08-07: 0.3673 USD2026-08-14: 0.3671 USD2026-08-21: 0.3697 USD2026-08-28: 0.3708 USD2026-09-04: 0.3695 USD2026-09-11: 0.3670 USD2026-09-18: 0.3651 USD2026-09-25: 0.3623 USD2026-10-02: 0.3601 USD2026-10-09: 0.3604 USD2026-10-16: 0.3602 USD2026-10-23: 0.3628 USD2026-10-30: 0.3617 USD2026-11-06: 0.3602 USD2026-11-13: 0.3573 USD2026-11-20: 0.3547 USD2026-11-27: 0.3538 USD
Source: Central Bank of Samoa official rates · chart data from the AllRatesToday API (/api/v1/central-bank/cbsws/history?source=WST&target=USD).

What the CBS publishes

The table runs from the tala outward, so a dollars-per-tala figure is a direct read and tala-per-dollar is its inverse. Ask for either direction; the API answers from the bank's own numbers and flags any value it had to invert.

Source page: Daily exchange rates on the Central Bank of Samoa website.

Why official rates, not market rates

A live mid-market feed answers "what is WST/USD trading at right now?" — the right tool for checkouts and dashboards. Bookkeeping, tax and customs paperwork usually ask a different question: "which rate applied on this date?" For Samoa that answer often comes from the Central Bank of Samoa's own table, and it does not change after publication. Check which rate your filing rule names.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/cbsws/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the most recent table — every rate with its base, quote, rate type and value — and the date it belongs to. The latest table is available on every plan, including the free tier (no credit card). Each value is quote currency per one unit of base, exactly as the CBS quotes it.

For one pair, add source and target:

curl "https://allratestoday.com/api/v1/central-bank/cbsws/latest?source=WST&target=USD" \
  -H "Authorization: Bearer YOUR_API_KEY"

JavaScript

const res = await fetch(
  'https://allratestoday.com/api/v1/central-bank/cbsws/latest?source=WST&target=USD',
  { headers: { Authorization: 'Bearer ' + process.env.ALLRATES_API_KEY } }
);
const pair = await res.json();
console.log(pair.rate, pair.rate_type, pair.rate_date, pair.derived);

Plain fetch, so it runs anywhere — Node 18+, Bun, Deno, edge runtimes. Keep the API key on the server side.

Python

import os
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/central-bank/cbsws/latest",
    headers={"Authorization": f"Bearer {os.environ['ALLRATES_API_KEY']}"},
    timeout=10,
)
r.raise_for_status()
table = r.json()
print(table["rate_date"])
for row in table["rates"]:
    print(row["base"], row["quote"], row["type"], row["value"])

Historical rates for an invoice date

# The table in force on a past date (weekends and holidays resolve to the last published date)
curl "https://allratestoday.com/api/v1/central-bank/cbsws/2024-06-28" \
  -H "Authorization: Bearer YOUR_API_KEY"

# A series for one pair
curl "https://allratestoday.com/api/v1/central-bank/cbsws/history?source=WST&target=USD&from=2026-01-01" \
  -H "Authorization: Bearer YOUR_API_KEY"
r = requests.get(
    "https://allratestoday.com/api/v1/central-bank/cbsws/history",
    params={"source": "WST", "target": "USD", "from": "2026-01-01"},
    headers={"Authorization": f"Bearer {os.environ['ALLRATES_API_KEY']}"},
    timeout=10,
)
for point in r.json()["rates"]:
    print(point["date"], point["rate"])

Historical dates and time series need a paid plan; the latest table stays free.

Published vs derived pairs

If the CBS does not print a pair directly, the API resolves it from the bank's own figures — an inverse, or a cross rate via the home currency — and flags it derived: true with the method used. Source figures and computed values are never silently mixed.

The tala since 2008

The archive starts on 3 January 2008, when 1 tala was 0.39258 US dollars. The tala ended 2012 at 0.43837 dollars, its strongest year-end in the series, eased to the 0.38 range from 2015 and stood at 0.35379 on 27 November 2026. For a past invoice date, one call returns the table in force that day; weekends and holidays resolve to the last published table and are flagged.

FAQ

Does the Central Bank of Samoa have an exchange rate API?

The CBS publishes its official rates on its own website, not as a JSON API. AllRatesToday collects that table and serves it as JSON under the source code cbsws. The latest table is available on every plan, including the free tier; historical dates need a paid plan.

How often do Central Bank of Samoa rates update?

Once per business day, as one table of nine currencies quoted as foreign currency per 1 WST, plus a US dollar buying and selling rate. Every API response carries the table's own date; weekends and holidays resolve to the last published table.

Can I get the CBS rate for a past date, like an invoice date?

Yes, for any date from January 2008 onward (CNY from 2017, CNH from 2020). The /api/v1/central-bank/cbsws/2024-06-28 form returns the table in force on that date; non-publication days resolve to the most recent published date. Historical dates need a paid plan.

Official Central Bank of Samoa rates, as JSON

The latest table is free — no credit card.

Get your free API key

Related Articles