{"service":"US HTS Classification & Duty API","dataVintage":"2026-11","aiEnabled":true,"specification":"GET /openapi.yaml — the machine-readable API contract","developerGuide":"GET /docs — integration guide for consuming teams","authentication":{"required":true,"scheme":"API key","header":"X-API-Key","alternative":"Authorization: Bearer <key>"},"rateLimitPerMinute":120,"testConsole":"GET /test.html — browser UI for trying classifications","transportModes":[{"key":"ocean","label":"Ocean","available":true,"description":"Cargo unladen from a commercial vessel. Pays MPF and HMF.","surcharges":["mpf","hmf"]},{"key":"air","label":"Air","available":false,"description":"Cargo arriving by aircraft. Pays MPF; HMF does not apply (19 CFR 24.24 is a vessel fee).","surcharges":["mpf"],"unavailableReason":"Air mode is not implemented yet. HMF would correctly drop off, but air entries also raise express-consignment and informal-entry fee questions this service does not model, so an air answer would be incomplete rather than merely different."}],"endpoints":{"GET /healthz":"Liveness probe (no API key required)","GET /docs":"Developer integration guide (no API key required)","GET /api/transport-modes":"Modes of transport for the mode dropdown, with availability","POST /api/classify":"Classify one line by { originCountry, hsnCode, productDescription, transportMode?, cargoValue? } or a whole entry by { originCountry, transportMode?, items: [{ hsnCode, productDescription, cargoValue }] } (max 20 lines) → up to 5 HTS classifications per line, best first, each with duty, MPF/HMF and — where a cargoValue is given — the landed cost they come to; where the HSN and the description disagree, 5 more read from the description alone","POST /api/confirm":"Confirm the correct HTS for an input to reinforce self-learning","GET /api/health":"Service status and data vintage","POST /api/refresh":"Force a USITC schedule refresh"}}