Asynchronous classification, built for batches
The API leverages advanced AI to accurately determine the proper 10-digit HTS code for product descriptions and identify any applicable Partner Government Agency (PGA) requirements.
It uses an asynchronous processing model: you submit a batch of items, receive a batch ID immediately, then retrieve the results once processing is complete. For large batches, provide a webhook URL to be notified when processing finishes.
Bearer token on every request
All API requests must include an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Obtaining an API key
For security, API keys should be kept confidential and never shared publicly. You can generate multiple keys for different applications or services, and revoke them individually if needed.
Three ways to submit
Our API offers multiple ways to classify your products using advanced AI. Choose the submission method that best suits your needs.
Classify products based on their textual descriptions. Send a batch of product descriptions and our AI analyzes the text to determine the appropriate HTS codes, duty rates, and regulatory requirements.
"Women's knit cotton sweater with embroidered pattern, long sleeves, no hood, 100% cotton"
Submit product images for HTS code identification — useful for items that are difficult to describe in text, or when you need confirmation based on visual characteristics.
{
"item": [
{
"id": "prod123",
"image_url": "https://example.com/products/leather-wallet.jpg"
}
]
}
Streamline classification for entire commercial invoices. Submitting PDF invoices automatically extracts and classifies multiple line items at once, while preserving quantities, pricing, and invoice structure.
{
"item": [
{
"id": "inv456",
"invoice_url": "https://example.com/invoices/office-supplies-invoice.pdf"
}
]
}