HS Code Classifier API

AI-powered customs classification with confidence scores and legal basis citations. Get HS codes, duty rates, VAT, and export tax rebates in seconds.

Get Started - Free View API Docs

Why Choose Our API?

🎯

High Accuracy

Trained on official customs classification decisions, with confidence scores and legal basis citations.

⚡

Fast Response

Average response time under 20 seconds. Get instant classification results for your products.

📋

Complete Data

HS code, duty rate, VAT, export tax rebate, risk warnings, and legal references all in one response.

🔒

Secure & Reliable

API key authentication, rate limiting, and usage tracking. Built on enterprise-grade infrastructure.

🌍

Global Coverage

Supports classification for a wide range of commodities across all HS chapters.

💬

Chat Support

Ask follow-up questions about classification rules, regulations, and compliance requirements.

Pricing

Basic

$0/month
100 API calls / month
  • AI HS code classification
  • Duty rate & VAT
  • Confidence scores
  • Legal basis citations
  • Email support
Get Started Free

Pro

$9.99/month
1,000 API calls / month
  • Everything in Basic
  • Risk warnings
  • Chat API access
  • Usage analytics
  • Priority email support
Subscribe to Pro

Ultra

$49.99/month
10,000 API calls / month
  • Everything in Pro
  • Custom classification rules
  • 24h priority support
  • Higher rate limits
  • Dedicated account manager
Subscribe to Ultra

API Documentation

Quick Start

# Classify a product curl -X POST https://dcd2321.pythonanywhere.com/api/v1/classify \ -H "Content-Type: application/json" \ -H "X-API-Key: YOUR_API_KEY" \ -d '{"product_name": "stainless steel thermos"}'
# Response example { "hs_code": "9617.0090", "confidence": 0.78, "duty_rate": "8%", "vat_rate": "13%", "export_tax_rebate": "13%", "legal_basis": ["Z2024-0008"] }
GET /health Health check
POST /api/v1/classify Classify product (requires API key)
POST /api/v1/chat Chat with AI (requires API key)
GET /api/v1/usage Check usage (requires API key)