{
"success": true,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"reference": "order-123",
"calculation_type": "US",
"destination_country": "US",
"transport_mode": "air",
"shipping_terms": "FOB",
"quantity": 1,
"values": {
"shipping_cost": 200,
"insurance_cost": 50
},
"currencies": {
"origin": "<string>",
"destination": "<string>",
"exchange_rate": 123,
"exchange_rate_display": "<string>"
},
"exemptions": {
"de_minimis_threshold": 123,
"de_minimis_exempt": true
},
"results": [
{
"hs_code": "6207110000",
"origin_country": "CN",
"weight": 1,
"weight_unit": "kg",
"volume": 9,
"volume_unit": "liter",
"declared_value": 100,
"origin_country_currency": "USD",
"estimated_duties": {
"normal_tariff": {
"tariffs": [
{
"name": "<string>",
"rate": "<string>",
"amount": 123,
"type": "<string>"
}
],
"total_duty": 123
},
"preferential_tariff": {
"tariffs": [
{}
],
"total_duty": 123
},
"total_duty": 123
},
"fees": {
"MPF": {
"code": "<string>",
"amount": 123
},
"Cotton Fee": {
"code": "<string>",
"amount": 123
},
"total_fees": 123
},
"additional_tariff_measures": [
{
"code": "FDA",
"name": "FDA - May Be Regulated",
"description": "<string>",
"agency": "Food and Drug Administration (FDA)",
"measure_type": "Health / Safety",
"condition": "<string>"
}
]
}
]
}Calculate Multiple Duties
Calculate customs duties for multiple HS codes in a single request.
Common Fields: Apply to all codes in the request:
destination_country: Where all goods are being imported toshipping_cost: Total shipping cost distributed across all codestransport_mode: Mode of transport for all itemsweightandweight_unit: Optional default values if not specified per item
Individual Code Fields: Each code in the codes array must include:
hs_code: The HS/HTS harmonized system codeorigin_country: 2-letter origin country codedeclared_value: Value in origin currencyweight: Weight for this specific item (required for accurate fee calculation)weight_unit: Weight unit for this itemorigin_country_currency: Optional currency code
{
"success": true,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"reference": "order-123",
"calculation_type": "US",
"destination_country": "US",
"transport_mode": "air",
"shipping_terms": "FOB",
"quantity": 1,
"values": {
"shipping_cost": 200,
"insurance_cost": 50
},
"currencies": {
"origin": "<string>",
"destination": "<string>",
"exchange_rate": 123,
"exchange_rate_display": "<string>"
},
"exemptions": {
"de_minimis_threshold": 123,
"de_minimis_exempt": true
},
"results": [
{
"hs_code": "6207110000",
"origin_country": "CN",
"weight": 1,
"weight_unit": "kg",
"volume": 9,
"volume_unit": "liter",
"declared_value": 100,
"origin_country_currency": "USD",
"estimated_duties": {
"normal_tariff": {
"tariffs": [
{
"name": "<string>",
"rate": "<string>",
"amount": 123,
"type": "<string>"
}
],
"total_duty": 123
},
"preferential_tariff": {
"tariffs": [
{}
],
"total_duty": 123
},
"total_duty": 123
},
"fees": {
"MPF": {
"code": "<string>",
"amount": 123
},
"Cotton Fee": {
"code": "<string>",
"amount": 123
},
"total_fees": 123
},
"additional_tariff_measures": [
{
"code": "FDA",
"name": "FDA - May Be Regulated",
"description": "<string>",
"agency": "Food and Drug Administration (FDA)",
"measure_type": "Health / Safety",
"condition": "<string>"
}
]
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
2-letter destination country code
2"US"
List of HS codes with their individual details
1Show child attributes
Show child attributes
Reference identifier for the calculation batch
"order-123"
3-letter currency code for destination
3"USD"
Default weight for items without specific weight (optional, but if provided, weight_unit is required)
x >= 015
Default weight unit (required if weight is provided)
kg, lb "kg"
Default volume for items without specific volume (optional, for volume-based specific duties)
x >= 010
Default volume unit (required if volume is provided)
liter, ml, hl, gallon, proof_liter "liter"
Quantity applied to all codes
x >= 0Total shipping cost for all items
x >= 0200
Total insurance cost for all items
x >= 050
Unit of quantity
"No."
Mode of transport
sea, air, road, rail Shipping terms
FOB, CIF, EXW, DDP Entry date for historical calculations
Response
Successful batch calculation
true
"c6f398bb-1dad-40e8-a991-a22a180ad842"
"order-123"
"US"
"US"
"air"
"FOB"
1
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Array of calculation results for each HS code
Successful calculation result
- Option 1
- Option 2
Show child attributes
Show child attributes