Skip to main content
POST
Create landed cost

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Body

application/json
origin_country
string
required

ISO 3166-1 alpha-2 country code

Pattern: ^[A-Za-z]{2}$
goods_value
number
required
Required range: x >= 0
hs_code
string

HS code, 6-10 digits; dots between groups are allowed. Required unless item_description is sent

Maximum string length: 14
item_description
string

Used to classify when hs_code is absent. Required unless hs_code is sent

Maximum string length: 500
destination_country
string

US (default), GB, or an EU member state

Pattern: ^[A-Za-z]{2}$
freight_cost
number
Required range: x >= 0
insurance_cost
number
Required range: x >= 0
duty_rate_percent
number

Your own duty rate; replaces the lookup

Required range: x >= 0
quantity
integer
default:1
Required range: 1 <= x <= 1000000000

Response

OK

hs_code
string | null
required

The code costed: yours, the classified one, or the line it resolved to

hs_classification_source
enum<string> | null
required

With item_description: how the code was found. catalog: a reviewed match. estimated: classified from the description

Available options:
catalog,
estimated,
null
origin_country
string
required
destination_country
string
required
currency
string
required

Currency of every amount: USD, the currency your values are read in

quantity
integer
required
de_minimis_applied
boolean
required

true when the shipment enters duty-free under the destination's low-value threshold; duty and fees are then 0

de_minimis_note
string | null
required

Why a low-value shipment still pays duty; null when the threshold does not come into it

cost_breakdown
object
required
adcvd_orders
object | null
required
total_landed_cost
number
required
per_unit_landed_cost
number
required

total_landed_cost divided by quantity

tariff_source
object
required

The tariff lookup behind the duty rate

tariff_authority
object | null
required

The tariff that answered the lookup; null when no lookup ran

duration_ms
integer
required
disclaimer
string
required
request_id
string
required

Quote this when asking about the request; also the X-Request-ID header