Create tariff check
curl --request POST \
--url https://api.insightchain.ai/v1/tariff_checks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"origin_country": "VN"
}
'import requests
url = "https://api.insightchain.ai/v1/tariff_checks"
payload = { "origin_country": "VN" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({origin_country: 'VN'})
};
fetch('https://api.insightchain.ai/v1/tariff_checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"origin": "CN",
"source": {
"url": "https://hts.usitc.gov/view/subheading?subheading=610910",
"name": "Harmonized Tariff Schedule of the United States",
"as_of": "2026-11-21",
"licence": null,
"authority": "us_official_schedule"
},
"hs_code": "6109.10",
"hs_match": {
"rates": [
"16.5%"
],
"typed": "6109.10",
"matched": "6109.10.00",
"precision": "exact",
"candidate_count": 1
},
"base_rate": {
"rate": "16.5%",
"type": "MFN Duty",
"source": "Harmonized Tariff Schedule of the United States",
"special": "Free (AU,BH,CL,CO,IL,JO,KR,MA,OM,P,PA,PE,S,SG)",
"source_url": "https://hts.usitc.gov/view/subheading?subheading=610910",
"rate_percent": 16.5
},
"check_date": "2026-11-21",
"request_id": "ebea843a-3c4c-4413-8e7d-5ae00f7cb6cc",
"description": "Of cotton",
"destination": "US",
"rate_status": "official",
"specific_duty": null,
"effective_rate": "31.5%",
"cbp_restrictions": {
"notes": [],
"prohibited": false,
"restrictions": [
{
"agency": "FTC",
"source": "curated",
"verified": true,
"requirement": "FTC textile labeling requirements (fiber content, country of origin, manufacturer)."
}
],
"model_assisted": false,
"prohibited_source": null,
"column2_prohibited": false
},
"additional_duties": [
{
"rate": "15%",
"type": "Import Surcharge",
"origin": "announcement",
"source": "Temporary 15% import surcharge on all goods entering the United States under Section 122 of the Trade Act of 1974.",
"heading": null,
"source_url": "https://www.whitehouse.gov/presidential-actions/2026/02/imposing-a-temporary-import-surcharge/",
"rate_percent": 15,
"published_date": "2026-02-15T00:00:00+00:00"
}
],
"destination_region": "US",
"destination_country": "US",
"effective_ad_valorem_percent": 31.5,
"cache_hit": true
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Tariff check
Create tariff check
Duty for an HS code (or a description to classify) from an origin into the US, UK or EU, with FTA eligibility and surcharges. One of hs_code or item_description is required. The lookup is logged and cached.
Key scope: read (or execute). Module: tariff. related_announcements lists at most 5 announcements, newest first
POST
/
v1
/
tariff_checks
Create tariff check
curl --request POST \
--url https://api.insightchain.ai/v1/tariff_checks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"origin_country": "VN"
}
'import requests
url = "https://api.insightchain.ai/v1/tariff_checks"
payload = { "origin_country": "VN" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({origin_country: 'VN'})
};
fetch('https://api.insightchain.ai/v1/tariff_checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"origin": "CN",
"source": {
"url": "https://hts.usitc.gov/view/subheading?subheading=610910",
"name": "Harmonized Tariff Schedule of the United States",
"as_of": "2026-11-21",
"licence": null,
"authority": "us_official_schedule"
},
"hs_code": "6109.10",
"hs_match": {
"rates": [
"16.5%"
],
"typed": "6109.10",
"matched": "6109.10.00",
"precision": "exact",
"candidate_count": 1
},
"base_rate": {
"rate": "16.5%",
"type": "MFN Duty",
"source": "Harmonized Tariff Schedule of the United States",
"special": "Free (AU,BH,CL,CO,IL,JO,KR,MA,OM,P,PA,PE,S,SG)",
"source_url": "https://hts.usitc.gov/view/subheading?subheading=610910",
"rate_percent": 16.5
},
"check_date": "2026-11-21",
"request_id": "ebea843a-3c4c-4413-8e7d-5ae00f7cb6cc",
"description": "Of cotton",
"destination": "US",
"rate_status": "official",
"specific_duty": null,
"effective_rate": "31.5%",
"cbp_restrictions": {
"notes": [],
"prohibited": false,
"restrictions": [
{
"agency": "FTC",
"source": "curated",
"verified": true,
"requirement": "FTC textile labeling requirements (fiber content, country of origin, manufacturer)."
}
],
"model_assisted": false,
"prohibited_source": null,
"column2_prohibited": false
},
"additional_duties": [
{
"rate": "15%",
"type": "Import Surcharge",
"origin": "announcement",
"source": "Temporary 15% import surcharge on all goods entering the United States under Section 122 of the Trade Act of 1974.",
"heading": null,
"source_url": "https://www.whitehouse.gov/presidential-actions/2026/02/imposing-a-temporary-import-surcharge/",
"rate_percent": 15,
"published_date": "2026-02-15T00:00:00+00:00"
}
],
"destination_region": "US",
"destination_country": "US",
"effective_ad_valorem_percent": 31.5,
"cache_hit": true
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Authorizations
Body
application/json
Response
OK