HS Code API
HS Code API For Product Import Duties & Customs Clearance
Accurate HS Code classification across 200+ countries and territories
Automate HS code allocation for faster customs clearance when importing goods and shipping internationally. Ensure regulatory compliance, navigate changing tariffs and eliminate shipment delays.
Generate Free API Key HS Code API Docs](https://developers.easyship.com/reference/hs_code_index)
Reliable 99.99% API uptime
Access 5,300 HS codes
Ship to 200+ destinations
24/7 global support
Why Brands Rely on Easyship's HS Code API
Easyship’s HS Codes API gives your platform real-time access to global tariff calculations with a single API. No more maintaining country tables, reconciling supplier-provided codes, or manual mapping.
Global Tariff Coverage
Instant access to our global HS Code library used by 200+ destinations with automatic keyword match suggestions.
HS Code Intelligence
Enrich your product catalog with simplified HS Code allocation for customs and regulatory compliance.
Customs Clearance
Populate all your shipping documentation with accurate product HS Codes for faster customs clearance.
Tax & Duty API
Easily combine Easyship's HS Code and Tax & Duty API endpoints for simplified cross-border shipments.
Duties At Checkout
Offer transparent tax and duty calculations at checkout to boost conversions with clear HS Code classification.
Total Landed Costs
Once assigned, use Easyship to return all applicable tax, duty and tariffs for accurate landed cost estimates.
How does the HS Code API work?
Get product classification certainty with one simple API call. Send your product details and receive matched HS Codes that can be mapped and assigned for accurate tax, duty and tariff calculations for compliance and customs.
Generate your API key to access the full HS Codes library
Send your product details to receive suggested matches
Receive an accurate HS Code for international shipments
Combine with Easyship's Tax & Duty API for fully landed costs
Display transparent import tax and duty information at checkout
Accurate HS Code automation for global eCommerce
Return and assign the correct HS Code classification at scale with simplified cross-border tools for product categorization, HS Code matching, tariff management, compliance and import tax and duty calculations. No matter where your package is being delivered, Easyship's HS Code API delivers the exact compliance data you need to file customs correctly.
Embedded HS management for live import duties at checkout
Easily embed HS classification into your application, checkout or fulfillment workflow for transparent, fully landed costs. Display accurate import duties and taxes to customers and allow platform sellers to self-classify products correctly, ensuring every shipment is compliant with no surprises.
What is a HS Code API?
Easyship's HS Code API automatically classifies products using globally standardized HS codes defined by the World Customs Organization (WCO), returning clear product definitions to support associated Country Of Origin (COO) information, speeding up customs clearance, and ensuring compliance. By integrating HS Code lookups into your store or platform, you'll receive real-time classifications to accurately calculate international import duties, taxes and tariffs.