Back to Features
⚙️

Duty Rate Calculation

ActiveCoreMUSTFREE

What it does

Look up MFN (Most Favored Nation), MIN (minimum), and AGR (agreement/preferential) duty rates for any HS code across 240 countries. POTAL uses pre-computed tariff data from official government sources including WTO, WCO, TARIC (EU), USITC (US), and more. Results are returned in under 50ms with no AI calls required.

Required Fields for 100% Accuracy

1 required / 12 total
FieldTypeRequired
pricenumber!
originstringopt
destinationCountrystringopt
hsCodestringopt
productNamestringopt
shippingPricenumberopt
shippingTermsstringopt
weight_kgnumberopt
quantitynumberopt
firmNamestringopt
zipcodestringopt
buyer_vat_numberstringopt

Tips for Best Accuracy

  • price is the only required field — everything else improves accuracy
  • Providing origin + destinationCountry enables FTA preferential rate lookup
  • Adding hsCode skips auto-classification and gives exact duty rates
  • firmName enables company-specific anti-dumping rates instead of "all others" rate
  • zipcode is essential for US destinations — state/local tax varies dramatically

Common Mistakes

  • Omitting origin country — without it, FTA savings cannot be calculated
  • Using full country names instead of ISO codes — use "CN" not "China"
  • Forgetting shippingTerms — DDP includes duties at checkout, DDU does not
  • Not including weight_kg — shipping cost estimate requires weight
  • Setting price as string with currency symbol — use numeric value only (25.00 not "$25.00")

How to use it

1

Get the HS code

Either provide an HS code directly or let POTAL auto-classify from a product name.

2

Specify origin and destination

Provide the origin country (where the product is made) and destination country (where it's being imported).

3

Call the calculate endpoint

POST /api/v1/calculate returns the full duty breakdown including MFN rate, preferential rates, and any trade remedies.

4

Check tariff optimization

The response includes tariffOptimization showing the best available rate and potential savings via FTAs.

API Reference

POST/api/v1/calculate
Request
{
  "productName": "Ceramic coffee mug",
  "price": 5,
  "origin": "CN",
  "destinationCountry": "US"
}
Response
{
  "totalLandedCost": 8.42,
  "breakdown": {
    "productCost": 5,
    "shippingCost": 0,
    "duty": 1.38,
    "tax": 0,
    "insurance": 0.04,
    "total": 8.42
  },
  "tariffOptimization": {
    "optimalRateType": "MFN",
    "savingsVsMfn": 0
  }
}
cURL
curl -X POST https://potal.app/api/v1/calculate \
  -H "X-API-Key: pk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"productName":"Ceramic coffee mug","price":5,"origin":"CN","destinationCountry":"US"}'

Related Features

Having issues?