const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hts_code: '6109100040', origin_country: 'CN'})
};
fetch('https://api.traddal.com/v1/us/hts/stacking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
"success": true,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"hts_code": "6109100040",
"origin_country": "CN",
"destination_country": "US",
"tariffs": [
{
"name": "Section 301 Tariff",
"rate": "25%",
"type": "SECTION_301",
"code": "9903.88.03",
"exclusion_code": "USTR-2019-0005",
"exclusion_name": "Product Exclusion"
}
],
"additional_tariff_measures": [
{
"code": "9812.00.20",
"name": "FDA Prior Notice",
"description": "<string>",
"agency": "Food and Drug Administration (FDA)",
"measure_type": "Health / Safety"
}
]
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}Tariff Stacking
US HTS Tariff Stacking
Returns all applicable tariff layers for a US HTS code and origin country combination, with exemptions applied.
Request fields:
hts_code: US HTS code (2–10 digits). Dots and spaces are stripped automatically.origin_country: 2-letter ISO country code (e.g.,CN,DE,MX)entry_date(optional): Date of entry inYYYY-MM-DDformat. Defaults to today if omitted.
POST
/
v1
/
us
/
hts
/
stacking
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hts_code: '6109100040', origin_country: 'CN'})
};
fetch('https://api.traddal.com/v1/us/hts/stacking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
"success": true,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"hts_code": "6109100040",
"origin_country": "CN",
"destination_country": "US",
"tariffs": [
{
"name": "Section 301 Tariff",
"rate": "25%",
"type": "SECTION_301",
"code": "9903.88.03",
"exclusion_code": "USTR-2019-0005",
"exclusion_name": "Product Exclusion"
}
],
"additional_tariff_measures": [
{
"code": "9812.00.20",
"name": "FDA Prior Notice",
"description": "<string>",
"agency": "Food and Drug Administration (FDA)",
"measure_type": "Health / Safety"
}
]
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Tariff stacking result
Example:
true
Example:
"c6f398bb-1dad-40e8-a991-a22a180ad842"
Example:
"6109100040"
Example:
"CN"
Example:
"US"
All applicable tariff layers with exemptions applied
Show child attributes
Show child attributes
Non-duty regulatory measures (e.g., FDA, CPSC) associated with this HTS code
Show child attributes
Show child attributes