Customs Exchange Rate API: Official Rates from 46 Customs Authorities

One API for the official exchange rates customs authorities set for customs valuation: German Zoll, French and Dutch customs, CBSA, Australian Border Force, Japan Customs, Korea Customs, SARS, CBIC and more. The rate in force on the declaration date, with history. For landed-cost, freight and customs software.

By Madhushan, Founder & Lead Developer ·

The official customs rate for the clearance country, on the declaration date. 46 customs authorities behind one API, each table as the authority set it, with its date and full history. Built for software that values goods at the border: landed-cost and duty calculators, freight forwarding and customs filing systems, and cross-border checkout.

Why customs software needs a separate rate

Customs duty and import VAT are a percentage of customs value, and customs value has to be converted into the importing country's currency at the rate the customs authority sets. That is not the market rate on the day and usually not the central bank rate either. Every country has its own table, its own period (daily, weekly, fortnightly or monthly) and its own publication format: PDF notices, gazette tables, spreadsheets, web forms. Keeping 40 of those feeds working is the part nobody wants to maintain. One API call replaces it.

Who uses it

Customs authorities covered

Each row links to the source page with its latest table, history and the rule it serves. Cadence is how often the authority sets a new table.

CountryCustoms authorityCadenceCode
Argentina ARCA Customs (Argentina) daily arcamaria
Australia Australian Border Force daily abf
Austria Austrian Ministry of Finance (BMF) monthly bmfat
Bangladesh Bangladesh National Board of Revenue (customs rates) monthly nbrbd
Belgium Belgian Customs (FPS Finance) monthly tarbel
Belize Belize Customs and Excise weekly customsbz
Bermuda Bermuda Customs weekly bermudacustoms
Cambodia Cambodia General Department of Customs and Excise daily gdce
Canada Canada Border Services Agency daily cbsa
Chile Servicio Nacional de Aduanas (Chile customs) monthly aduanacl
China General Administration of Customs of China (GACC) monthly gacc
Cyprus Cyprus Department of Customs and Excise monthly cycustoms
Czech Republic Czech Customs Administration monthly celnisprava
Dominican Republic DGA (Dominican Republic customs) daily dgado
France French Customs (DGDDI) monthly douanefr
Germany German Customs (Zoll) monthly zollde
Ghana Ghana Revenue Authority Customs (ICUMS) weekly icumsgh
Guyana Guyana Revenue Authority (customs rates) monthly gracustoms
Iceland Iceland Revenue and Customs (Skatturinn) weekly tollgengi
India Central Board of Indirect Taxes and Customs (CBIC) fortnightly cbic
Indonesia Indonesia Ministry of Finance (Kurs Pajak) weekly kurspajak
Ireland Revenue Commissioners (Ireland customs rates) monthly revenueie
Japan Japan Customs weekly jpcustoms
Jordan Jordan Customs Department monthly jocustoms
Kenya Kenya Revenue Authority (customs rates) weekly kra
Luxembourg Luxembourg Customs and Excise monthly douaneslu
Madagascar Madagascar Customs (Douanes) weekly douanesmg
Mauritius Mauritius Revenue Authority (Customs) weekly mramu
Netherlands Douane (Netherlands Customs) monthly douanenl
New Zealand New Zealand Customs Service fortnightly nzcustoms
North Macedonia North Macedonia Customs Administration monthly customsmk
Norway Norwegian Customs (Tolletaten) fortnightly tolletaten
Paraguay DNIT (Paraguay tax and customs authority) daily dnit
Peru SUNAT (Peru tax and customs authority) daily sunat
Poland Poland Ministry of Finance customs rates monthly kaspl
Portugal Portugal Tax and Customs Authority (AT) monthly atpt
Serbia Serbia Customs Administration weekly carinars
South Africa SARS customs rates of exchange daily sarsrex
South Korea Korea Customs Service weekly kcs
Sri Lanka Sri Lanka Customs weekly lkcustoms
Sweden Swedish Customs (Tullverket) monthly tullverket
Switzerland Swiss Federal Office for Customs and Border Security daily bazg
Thailand Thai Customs Department monthly thcustoms
Uganda Uganda Revenue Authority per notice ura
United Kingdom HM Revenue & Customs monthly hmrc
United States U.S. Customs and Border Protection weekly cbp

Missing a clearance country? Tell us which one; new customs sources are added on request. The full list of official sources, including central banks, is on the institutions page.

The call

Every source uses the same endpoints. latest returns the table in force now; a date returns the table in force on that date.

# The German customs (Zoll) rate in force today
curl "https://allratestoday.com/api/v1/central-bank/zollde/latest?source=USD&target=EUR" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "zollde",
  "name": "German Customs (Generalzolldirektion)",
  "rate_date": "2026-11-01",
  "source": "USD",
  "target": "EUR",
  "rate": 0.890154887,
  "rate_type": "monthly",
  "derived": true,
  "method": "inverse",
  "cadence": "monthly",
  "stale": false
}

rate_date is the date of the authority's table, not the time you fetched it. Where a pair is computed from the table (here USD to EUR from a table quoted per euro), the response says derived: true and gives the method. In a landed-cost flow:

import requests

API = "https://allratestoday.com/api/v1/central-bank"
HEADERS = {"Authorization": "Bearer art_live_your_key"}

# Which customs authority values goods entering each country
CUSTOMS_SOURCE = {"DE": "zollde", "FR": "douanefr", "NL": "douanenl", "CA": "cbsa",
                  "AU": "abf", "JP": "jpcustoms", "KR": "kcs", "ZA": "sarsrex", "IN": "cbic"}

def customs_value(amount, invoice_ccy, dest_country, home_ccy, declaration_date):
    """Customs value in the importing country's currency, plus the evidence for the entry."""
    src = CUSTOMS_SOURCE[dest_country]
    r = requests.get(f"{API}/{src}/{declaration_date}",
                     params={"source": invoice_ccy, "target": home_ccy},
                     headers=HEADERS).json()
    return round(amount * r["rate"], 2), {"source": r["bank"], "rate_date": r["rate_date"]}

# A USD 18,400 invoice cleared in Rotterdam on 12 November 2026
value_eur, evidence = customs_value(18_400, "USD", "NL", "EUR", "2026-11-12")

In SAP GTS and other ERPs

Trade compliance systems such as SAP Global Trade Services value customs declarations with their own exchange rate type, kept apart from the rates used for accounting and VAT. Load the customs table into that rate type, per clearance country, on the authority's cadence. The SAP guide covers rate types and scheduled loads; the same pattern works in Business Central and Odoo.

Frequently asked questions

Why not use a market rate for customs value?

Because the law names the rate. Customs authorities fix a rate for a period (a week, a fortnight, a month, or a day set the evening before) and the declaration must use the one in force on the acceptance date. A market rate gives a different customs value, so the duty and import VAT are wrong and the difference shows up in a post-clearance audit.

Does the API return the rate for a past declaration date?

Yes. Ask for a date and you get the table in force then: the latest table on or before it. The response carries rate_date, so the entry record shows which table was applied. Full history downloads in JSON, CSV, XML or XLSX for audits and re-quotes.

In the EU, which table applies: the importer's country or the clearance country?

The country where the goods are cleared. Under Article 53 of the Union Customs Code and Article 146 of its Implementing Regulation each member state publishes its own monthly table, fixed from the rate on the penultimate Wednesday of the previous month, so goods cleared in Rotterdam use the Dutch table and goods cleared in Hamburg use the German one.

How are the US and China tables built?

Neither authority offers a table a program can fetch, so the API applies their published rule to the official series it comes from. US Customs and Border Protection (cbp) uses rates certified by the Federal Reserve Bank of New York for the date of exportation (19 CFR 159): a quarterly rate for about 20 listed currencies, replaced by the daily rate on any day it moves 5% or more, and the daily rate for the rest; those are the Federal Reserve H.10 figures. China Customs (gacc), under GACC Order 272 Article 13, uses the CFETS central parity of the third Wednesday of the previous month; the API dates each month's table the 1st.

Can we redistribute the rates inside our product?

Talk to us first. Software vendors that show customs rates to their own customers (landed-cost calculators, freight and customs filing systems, checkout duty estimates) get a plan set up for that use.

Building customs or landed-cost software?

Tell us your clearance countries and how many customers will see the rates, and we will set up a key and a plan.

Talk to us All tax and customs sources