National Reserve Bank of Tonga Exchange Rate API: TOP (Paʻanga) Dealer Average Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

The National Reserve Bank of Tonga publishes, each business day, the average of the rates Tonga's authorized foreign-exchange dealers quote for the paʻanga. It is an average of dealer quotes compiled by the central bank — not a rate the bank sets, and not an official fixing. This guide shows how to pull it as JSON with curl, JavaScript and Python.

TOP → USD — National Reserve Bank of Tonga average of authorized dealers’ mid rates
Weekly observations, Nov '25 – Nov '26 · US dollars per 1 Tongan paʻanga
0.41000.41500.42000.4250Nov '25Feb '26May '26Aug '26Nov '260.41062025-11-28: 0.4142 USD2025-12-05: 0.4157 USD2025-12-12: 0.4172 USD2025-12-19: 0.4158 USD2025-12-24: 0.4175 USD2025-12-31: 0.4172 USD2026-01-02: 0.4163 USD2026-01-09: 0.4163 USD2026-01-16: 0.4163 USD2026-01-23: 0.4200 USD2026-01-30: 0.4247 USD2026-02-06: 0.4226 USD2026-02-13: 0.4247 USD2026-02-20: 0.4231 USD2026-02-27: 0.4237 USD2026-03-06: 0.4213 USD2026-03-13: 0.4219 USD2026-03-20: 0.4208 USD2026-03-27: 0.4183 USD2026-04-02: 0.4184 USD2026-04-10: 0.4218 USD2026-04-17: 0.4233 USD2026-04-24: 0.4225 USD2026-05-01: 0.4239 USD2026-05-08: 0.4250 USD2026-05-15: 0.4244 USD2026-05-22: 0.4230 USD2026-05-29: 0.4238 USD2026-06-05: 0.4226 USD2026-06-12: 0.4211 USD2026-06-19: 0.4194 USD2026-06-25: 0.4164 USD2026-07-03: 0.4169 USD2026-07-10: 0.4182 USD2026-07-17: 0.4201 USD2026-07-24: 0.4188 USD2026-07-31: 0.4209 USD2026-08-07: 0.4211 USD2026-08-14: 0.4211 USD2026-08-21: 0.4229 USD2026-08-28: 0.4240 USD2026-09-04: 0.4231 USD2026-09-11: 0.4215 USD2026-09-18: 0.4199 USD2026-09-25: 0.4178 USD2026-10-02: 0.4160 USD2026-10-09: 0.4162 USD2026-10-16: 0.4160 USD2026-10-23: 0.4182 USD2026-10-30: 0.4175 USD2026-11-06: 0.4161 USD2026-11-13: 0.4135 USD2026-11-20: 0.4113 USD2026-11-26: 0.4106 USD
Source: National Reserve Bank of Tonga, average of authorized dealers’ mid rates · chart data from the AllRatesToday API (/api/v1/central-bank/nrbt/history?source=TOP&target=USD&type=middle).

What the NRBT publishes

The table is what Tonga's dealers are charging, averaged and reported by the central bank — useful when you need a dated, citable figure for the paʻanga from the bank's own page. Check whether a rule you follow names this table; if it asks for a different rate, use that one.

Source page: Selected exchange rates on the National Reserve Bank of Tonga website.

What these rates are — and are not

A live mid-market feed answers "what is TOP/USD trading at right now?". The NRBT table answers a different question: what did Tonga's authorized dealers quote on a given business day, on average? It is a compilation of dealer rates, not a central-bank fixing, and the API labels each buying, mid and selling figure as its own rate type so you can pick the one your use needs.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/nrbt/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 NRBT quotes it.

For one pair, add source and target (and type to choose between the rate types the table carries):

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

JavaScript

const res = await fetch(
  'https://allratestoday.com/api/v1/central-bank/nrbt/latest?source=TOP&target=USD&type=middle',
  { 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/nrbt/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/nrbt/2024-06-28" \
  -H "Authorization: Bearer YOUR_API_KEY"

# A series for one pair
curl "https://allratestoday.com/api/v1/central-bank/nrbt/history?source=TOP&target=USD&type=middle&from=2026-01-01" \
  -H "Authorization: Bearer YOUR_API_KEY"
r = requests.get(
    "https://allratestoday.com/api/v1/central-bank/nrbt/history",
    params={"source": "TOP", "target": "USD", "type": "middle", "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 NRBT 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 paʻanga since 2017

The archive starts on 3 January 2017, when the dealers' mid rate was 0.4441 US dollars per paʻanga. It ended 2017 at 0.4537, held near 0.44 through 2021, eased to the 0.41–0.43 range from 2022 and stood at 0.4106 on 26 November 2026. For a past date, one call returns the table for that day; weekends and holidays resolve to the last published table and are flagged.

FAQ

Does the National Reserve Bank of Tonga have an exchange rate API?

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

How often do National Reserve Bank of Tonga rates update?

Once per business day, as one table of average buying, mid and selling rates for 12 currencies, quoted as foreign currency per 1 TOP. Every API response carries the table's own date; weekends and holidays resolve to the last published table.

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

Yes, for any date from January 2017 onward. The /api/v1/central-bank/nrbt/2024-06-28 form returns the table for that date; non-publication days resolve to the most recent published date. Historical dates need a paid plan.

Is the NRBT rate an official fixing?

No. The National Reserve Bank of Tonga publishes the average of the buying, mid and selling rates Tonga's authorized foreign-exchange dealers quote. It is the central bank's compilation of dealer rates, not a rate the bank sets.

National Reserve Bank of Tonga authorized dealers' average rates, as JSON

The latest table is free — no credit card.

Get your free API key

Related Articles