Look up duty and tax rates for a country + HS code.
curl --request GET \
--url https://www.landedfees.com/v1/rates/{country}/{hs} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.landedfees.com/v1/rates/{country}/{hs}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.landedfees.com/v1/rates/{country}/{hs}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.landedfees.com/v1/rates/{country}/{hs}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.landedfees.com/v1/rates/{country}/{hs}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.landedfees.com/v1/rates/{country}/{hs}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.landedfees.com/v1/rates/{country}/{hs}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"country": "US",
"hs_code": "8517.62.00",
"origin": "CN",
"calculation_date": "2026-08-23",
"mfn_rate": 0,
"preferential_rate": null,
"overlays": {
"section_301": 0.25,
"section_122": 0.1,
"section_232": null,
"section_301_fl": null,
"section_338_ca": null,
"ad_cvd": null
},
"vat_rate": null,
"sources": [
"USITC HTS 2026",
"USTR Section 301 List 4A"
],
"data_as_of": "2026-08-22T14:03:00Z"
}{
"error": "invalid body",
"issues": [
{
"path": [
"destination_country"
],
"message": "String must contain exactly 2 character(s)"
}
]
}{
"error": "unauthorized"
}{
"error": "quota_exceeded",
"code": "QUOTA_EXCEEDED",
"message": "Monthly quota exhausted. Upgrade at https://www.landedfees.com/pricing."
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"detail": "<string>",
"issues": [
{}
]
}{
"error": "rate_limited",
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after 60 seconds."
}{
"error": "internal",
"detail": "engine error"
}Endpoints
Look up rates
Returns the resolved MFN rate plus every applicable overlay (Section 232 / 301 / 122 / 301-FL / 338, AD/CVD, preferential FTA rates by program) and destination-country VAT / GST. Read-only, cacheable for 1 hour.
GET
/
v1
/
rates
/
{country}
/
{hs}
Look up duty and tax rates for a country + HS code.
curl --request GET \
--url https://www.landedfees.com/v1/rates/{country}/{hs} \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.landedfees.com/v1/rates/{country}/{hs}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.landedfees.com/v1/rates/{country}/{hs}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.landedfees.com/v1/rates/{country}/{hs}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.landedfees.com/v1/rates/{country}/{hs}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.landedfees.com/v1/rates/{country}/{hs}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.landedfees.com/v1/rates/{country}/{hs}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"country": "US",
"hs_code": "8517.62.00",
"origin": "CN",
"calculation_date": "2026-08-23",
"mfn_rate": 0,
"preferential_rate": null,
"overlays": {
"section_301": 0.25,
"section_122": 0.1,
"section_232": null,
"section_301_fl": null,
"section_338_ca": null,
"ad_cvd": null
},
"vat_rate": null,
"sources": [
"USITC HTS 2026",
"USTR Section 301 List 4A"
],
"data_as_of": "2026-08-22T14:03:00Z"
}{
"error": "invalid body",
"issues": [
{
"path": [
"destination_country"
],
"message": "String must contain exactly 2 character(s)"
}
]
}{
"error": "unauthorized"
}{
"error": "quota_exceeded",
"code": "QUOTA_EXCEEDED",
"message": "Monthly quota exhausted. Upgrade at https://www.landedfees.com/pricing."
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"detail": "<string>",
"issues": [
{}
]
}{
"error": "rate_limited",
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after 60 seconds."
}{
"error": "internal",
"detail": "engine error"
}Authorizations
API key issued from the LandedFees dashboard under Settings > API keys.
Format: sk_live_... (production) or sk_test_... (sandbox). Pass in
the Authorization: Bearer <key> header.
Path Parameters
ISO-3166-1 alpha-2 destination country code (e.g. US, DE, GB).
Required string length:
2Example:
"US"
HS or HTS code, 4 to 10 digits (dots optional).
Required string length:
4 - 15Example:
"8517.62.00"
Query Parameters
Origin country for stacking overlays (Section 301, AD/CVD).
Required string length:
2Example:
"CN"
ISO date the rates are effective on. Defaults to today.
Example:
"2026-08-23"