Skip to main content
POST
Create tariff check

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}$
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}$
check_date
string<date>

Rates in force on this date (default today)

Response

OK

hs_code
string
required

The code the answer is for: yours, the classified one, or (GB, EU) the 10-digit line it resolved to

description
string
required
origin
string
required

Origin country, ISO 3166-1 alpha-2

destination
string
required

Destination country, ISO 3166-1 alpha-2 (the same as destination_country)

destination_country
string
required
destination_region
enum<string>
required

The tariff that applies

Available options:
US,
GB,
EU
base_rate
object
required
source
object
required
additional_duties
object[]
required
effective_rate
string | null
required

Base rate plus additional duties as text; a per-unit part is appended (25.0% + 2.4¢/kg). null when rate_status is unknown

effective_ad_valorem_percent
number | null
required

The percent-of-value part of the effective rate; null when rate_status is unknown

specific_duty
string | null
required

The per-unit part of the base rate, which the percent leaves out; null when there is none

check_date
string<date>
required

The day the rates are in force for

request_id
string
required

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

effective_rate_mfn
string | null

With a preferential rate: the effective rate without the preference

effective_rate_preferential
string | null

The effective rate with the preference

effective_ad_valorem_percent_preferential
number | null
specific_duty_preferential
string | null
trade_agreement
object
tariff_rate_quota
object
adcvd_orders
object
cbp_restrictions
object

US only: agency requirements and prohibitions for the code, when any

import_restrictions
object

GB and EU only: import controls, prohibitions and notes on the line, when any

vat
object

GB only: the import VAT rate published for the line

US only: up to 5 official announcements mentioning the code or product, newest first

confidence_score
number

With item_description: how sure the classification is, 0 to 1

hs_classification_source
enum<string>

With item_description: how the code was found. catalog: a reviewed match for the description. estimated: classified from the description, check it before relying on it

Available options:
catalog,
estimated
rate_status
enum<string>

US only. official: read from the tariff schedule; estimated: the schedule was unavailable and the rate is an estimate; unknown: no rate could be determined (it is not 0%)

Available options:
official,
estimated,
unknown
rate_warning
string

US only: present when the rate is estimated or unknown, or when the code covers several lines with different rates

hs_match
object

US only: how the code sent mapped to a tariff line

cache_hit
boolean

true when the answer is a stored one from the last 24 hours for the same code, origin, destination and date; absent otherwise