Describe the product.
Get the HS code.
HsMaster turns a plain-language product description into the right Harmonized System code in seconds — for one item, a whole Excel catalog, or straight from your own software through our API.
Everything customs
paperwork asks of you.
Built for exporters, e-commerce sellers, freight forwarders and customs brokers who classify products every day.
HS code finder
Type a description the way you'd write it on an invoice. Get the 6-digit HS code with its chapter, heading and subheading explained.
/hscode-finder/descriptionCountry-specific codes
Pick the destination country and get the national tariff line built on top of the HS code, not just the international 6 digits.
Find with CountryBulk Excel classification
Upload an .xlsx or .xls file of product descriptions. Download the same file back with an HS code next to every row.
1 credit per rowRestricted product check
Choose origin and destination countries to see whether a product is restricted or prohibited before you ship it.
/restrictedProduct-finderREST API
Generate an API token from your dashboard and classify products from your ERP, store or shipping software. Code samples in six languages.
Bearer token authWorks in your language
Use HsMaster in English, Türkçe, Deutsch, Français, Español, Italiano, Русский, العربية or 中文.
9 languagesFrom description to code
in three steps.
Create an account
Sign up free with your email. Add credits whenever you need them — card payment through Stripe, no monthly plan.
Describe your product
Type a description, upload an Excel file, or send a request to the API. Add a destination country for national tariff lines.
Use the code
Copy the HS code into your commercial invoice, customs declaration or product catalog. Every lookup is saved in your history.
Classification as
an API call.
Add HS codes to products automatically at listing time, at checkout, or when you print the shipping label. Same engine as the web app, same price per query.
/api/v1/hscode-finder/description/{text}/api/v1/hscode-finder/description-list/api/v1/restrictedProduct-finder/description/{text}/from/{c}/to/{c}Ready-to-copy samples in your dashboard for PHP, JavaScript, Python, C#, Java and Ruby.
curl "https://api.hsmaster.ai/api/v1/hscode-finder/description/wireless%20bluetooth%20earbuds" \ -H "Authorization: Bearer YOUR_API_TOKEN"
import requests, urllib.parse desc = urllib.parse.quote("wireless bluetooth earbuds") url = f"https://api.hsmaster.ai/api/v1/hscode-finder/description/{desc}" r = requests.get(url, headers={"Authorization": "Bearer YOUR_API_TOKEN"}) print(r.json())
const desc = encodeURIComponent("wireless bluetooth earbuds"); const res = await fetch( `https://api.hsmaster.ai/api/v1/hscode-finder/description/${desc}`, { headers: { Authorization: "Bearer YOUR_API_TOKEN" } } ); console.log(await res.json());
$api_token = "YOUR_API_TOKEN"; $url = "https://api.hsmaster.ai/api/v1/hscode-finder/description/" . urlencode("wireless bluetooth earbuds"); $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer $api_token"]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch);
One price. Pay only
for what you classify.
Buy credits when you need them. One credit is one query, whether it comes from the web app, a row in your Excel file, or the API.
- HS code, country-specific and restricted-product lookups
- Bulk Excel upload and download
- Full REST API access with your own token
- Search history and usage reports
- No subscription, no minimum, credits don't need a plan
Estimate your cost
Drag to set how many products you classify per month.
Questions,
answered.
Something else? Write to us from your dashboard after signing in.
What is an HS code?
The Harmonized System (HS) is the international product nomenclature maintained by the World Customs Organization. Its 6-digit codes are used by customs authorities worldwide to apply duties, taxes and trade rules. Countries add extra digits for their own national tariff lines.
How does HsMaster find the code?
We combine the official HS nomenclature with an AI model that reads your description, identifies material, function and use, and matches it to the most appropriate chapter, heading and subheading.
Can I rely on the result for my customs declaration?
HsMaster gives you a fast, well-reasoned suggestion. The importer of record is legally responsible for the final classification, so for high-value or complex goods we recommend confirming with your customs broker or a binding tariff ruling.
How do credits work?
Each query costs one credit ($0.05). A bulk Excel file uses one credit per row, and you'll see the total and confirm before it runs. Buy as many credits as you like by card — there is no subscription.
How do I get an API token?
Sign in, open your dashboard and click to generate your API token. Send it as a Bearer token in the Authorization header. The dashboard has copy-paste examples for PHP, JavaScript, Python, C#, Java and Ruby.
Which file formats does bulk upload accept?
Excel files (.xlsx and .xls) with your product descriptions. You get the same file back with the HS codes filled in.
Classify your first product
in under a minute.
Create a free account, add a few credits, and stop digging through tariff schedules.