HS Code Classifier - Bulk Product to HS, HTS & CN Codes avatar

HS Code Classifier - Bulk Product to HS, HTS & CN Codes

Pricing

$7.50 / 1,000 products classified

Go to Apify Store
HS Code Classifier - Bulk Product to HS, HTS & CN Codes

HS Code Classifier - Bulk Product to HS, HTS & CN Codes

HS code classifier: product titles, descriptions or page links in, 6-digit HS 2022 code out with confidence and reasoning, plus the US HTS line with duty rate or the EU CN line. 📦

Pricing

$7.50 / 1,000 products classified

Rating

5.0

(1)

Developer

Helenis API

Helenis API

Maintained by Community

Actor stats

2

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

📦 HS Code Classifier - Bulk Product to HS, HTS & CN Codes

Give every product in your catalogue its customs code, in minutes. Paste product titles or descriptions (any language), product page links, or the dataset of another scraper, and get for each product its 6-digit HS code, a confidence score, the reasoning, the official chapter, heading and subheading texts, and on request the US HTS 10-digit line with its duty rate or the EU Combined Nomenclature 8-digit line.

No API key: paste your products and hit Run.


⚡ Why this actor?

  • 🎯 Accurate: 106 of 108 test products classified exactly at 6 digits (98%), all 108 within the top 3 candidates.
  • ✅ Real codes only: every code is checked against the HS 2022 nomenclature; the AI never invents one.
  • 🇺🇸 US duty rate: the HTS statistical line and its general (MFN) duty, live from the USITC.
  • 🇪🇺 EU CN code: the 8-digit Combined Nomenclature line for European declarations.
  • 🤔 Explainable: a one-line reasoning and the facts to confirm (fibre content, knitted or woven...).
  • 🧩 Chains with scrapers: classify the output of a Shopify, Amazon or marketplace scraper by its dataset ID.
  • 💸 Cheap: pay per product classified; failed products are free.

📊 What data do you get?

One row per product:

FieldDescriptionExample
inputYour product text or linkMen's short-sleeve crew-neck T-shirt, 100% cotton jersey
hsCode / hsCodeFormattedBest 6-digit HS code610910 / 6109.10
confidence0 to 11.0
descriptionOfficial subheading textT-shirts, singlets and other vests; of cotton, knitted or crocheted
heading / chapter / sectionHierarchy, with their descriptions6109 / 61 / XI
reasoningWhy this codeA knitted cotton T-shirt: heading 6109, cotton subheading.
nationalCode / nationalDescriptionHTS or CN line (option)6109100012 / Of cotton › Men's or boys' › ... Men's (338)
generalDutyUS general duty rate16.5%
alternativesOther plausible codes[{"hsCode": "610990", "confidence": 0.1}]
toConfirmFacts that would change the code["Fibre content"]
errorWhy a product was skipped{"code": "not_classifiable"}

🚀 How to use it

  1. Paste your product descriptions, one per line, and/or product page links, or give the dataset ID of a scraper run.
  2. Pick a national tariff line (United States or European Union) if you need one.
  3. Click Run, then export the table (CSV, Excel, JSON).

Input example

{
"products": [
"Men's short-sleeve crew-neck T-shirt, 100% cotton jersey",
"Wireless Bluetooth earbuds with charging case",
"Roasted coffee beans, Arabica, 1 kg bag"
],
"country": "US",
"maxResults": 3
}

Output example

{
"input": "Men's short-sleeve crew-neck T-shirt, 100% cotton jersey",
"inputType": "description",
"success": true,
"hsCode": "610910",
"hsCodeFormatted": "6109.10",
"confidence": 1.0,
"description": "T-shirts, singlets and other vests; of cotton, knitted or crocheted",
"heading": "6109",
"headingDescription": "T-shirts, singlets and other vests; knitted or crocheted",
"chapter": "61",
"chapterDescription": "Apparel and clothing accessories; knitted or crocheted",
"section": "XI",
"reasoning": "The product is a knitted T-shirt made of cotton, which is specifically provided for in heading 6109 under GIR 1 and 6.",
"country": "US",
"nationalCode": "6109100012",
"nationalCodeFormatted": "6109.10.00.12",
"nationalDescription": "Of cotton › Men's or boys' › Other T-shirts › Men's (338)",
"generalDuty": "16.5%",
"alternatives": [],
"toConfirm": [],
"product": "A men's short-sleeve crew-neck T-shirt made of 100% cotton jersey knit fabric.",
"edition": "HS 2022"
}

💰 Pricing

Pay per event, no subscription:

EventPrice
product-classified$0.0075 per product (national line included)

1,000 products cost $7, where HS classification APIs charge $11 to $100. Products that fail (unreadable page, not a physical good) are not charged.

🆓 Apify free plan: the first 10 products of each run are classified. Upgrade your Apify plan to classify whole catalogues.


💡 Use cases

  • Cross-border e-commerce: an HS code on every product before you ship abroad
  • Marketplaces: classify sellers' listings and flag low-confidence ones for review
  • Freight forwarders and customs brokers: a first proposal with reasoning, the expert only reviews
  • Landed cost: HS code and US duty rate for a whole catalogue
  • ERP and PIM clean-up: fill or audit the tariff code column

❓ FAQ

Can I declare these codes as they are? They are a classification aid, not a binding ruling: have them confirmed by a licensed customs broker before you declare goods.

Which HS edition? HS 2022, with the 2026 EU Combined Nomenclature and the current US HTS. The data is updated when HS 2027 open data is published.

Does the US duty include Section 301 or reciprocal tariffs? No, generalDuty is the general (MFN) rate of the HTS line. Additional Chapter 99 duties depend on the origin.

What should I write in the description? What the article is, its material and its use: "Women's jeans, 98% cotton denim" beats "jeans". Brand titles from marketplaces work too.


🔗 Also available as an API

The same classification, plus code lookup and keyword search, is available as a REST API on RapidAPI: HS Code Classifier - AI Customs Tariff Lookup.


🤖 Use it from an AI agent

Add this actor to Claude, ChatGPT, Cursor, VS Code or any MCP client with one URL (sign in with your Apify account):

https://mcp.apify.com?tools=helenisapi/hs-code-classifier

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: ApifyActorsTool("helenisapi/hs-code-classifier") in LangChain or CrewAI; in n8n, Make or Zapier, use the Apify app and pick this actor.