meta = d3.json("explorer_data/meta.json")
index = d3.json("explorer_data/index.json")
// Search words with plurals stemmed; mirrors tpt.report.explorer.words.
function words(text) {
return text.toLowerCase().replace(/'/g, "").split(/[^a-z0-9]+/)
.filter(w => w.length >= 2)
.map(w => w.endsWith("sses") ? w.slice(0, -2)
: w.endsWith("ies") && w.length > 4 ? w.slice(0, -3) + "y"
: w.endsWith("s") && !w.endsWith("ss") && w.length > 3 ? w.slice(0, -1) : w);
}
STOP = new Set(["and", "or", "of", "the", "for", "with", "an", "in", "to"])
catalog = index.rows.map(([hs10, desc, imports]) => ({hs10, desc, imports, w: words(desc)}))
aliasList = Object.entries(index.aliases).sort((a, b) => b[0].length - a[0].length)
function search(query, limit = 60) {
const q = query.toLowerCase().replace(/[^a-z0-9.\s-]/g, " ").trim();
if (!q) return [];
const digits = q.replace(/[.\s]/g, "");
const byImports = (a, b) => (b.imports ?? 0) - (a.imports ?? 0);
if (/^\d{2,10}$/.test(digits)) {
return catalog.filter(d => d.hs10.startsWith(digits)).sort(byImports).slice(0, limit);
}
let text = ` ${q} `;
for (const [term, expansion] of aliasList) text = text.replace(` ${term} `, ` ${expansion} `);
const toks = words(text).filter(t => !STOP.has(t));
if (!toks.length) return [];
return catalog
.filter(d => toks.every(t => d.w.some(w => w.startsWith(t))))
.map(d => ({...d, lead: d.w[0].startsWith(toks[0]) ? 1 : 0}))
.sort((a, b) => b.lead - a.lead || byImports(a, b))
.slice(0, limit);
}Product explorer
Tariffs, prices and import sources for any HS10 product, 2017 to the latest month
Search for a product by name (for example washing machines, toys, solar panels) or by HS code. Pick a line to see its additional tariff rate by supplier, its pre-duty unit value and duty-inclusive price, and where its imports come from. Data are monthly U.S. Census imports for consumption at the 10-digit Harmonized Tariff Schedule (HS10) level; the tariff rates are the statutory additional duties compiled for this project from the Federal Register. See the report for methods and the legal status of the IEEPA duties.
Additional tariff rate by supplier
Statutory additional duty in each month the supplier shipped the product (gaps are months with no imports from it). It excludes the normal (MFN) duty and does not net out exclusions, USMCA claims or in-transit exemptions; the duties Census records as collected are in the price chart below.
Pre-duty unit value and duty-inclusive price
Customs value per unit before duty, and the same plus duties Census records as calculated at entry (MFN and additional duties). Unit values mix models and qualities within a code, so month-to-month jumps can reflect a change in what was shipped rather than in prices.
Import sources
Share of the product’s import value by supplier, by quarter.
NoteAbout these data
HS10 codes are revised most Januaries, so a product can start or stop part way through the window (the report’s border estimates link codes across revisions; this page does not). Charts show the five largest suppliers of the product since 2017; the rest are grouped as “Other”. Duties recorded by Census are as assessed at entry and are not revised for the refunds that followed the Supreme Court’s IEEPA ruling. Shipments below the de minimis threshold were mostly not recorded before its end. The data behind each product are linked above as JSON; the bundle is built by make explorer (src/tpt/report/explorer.py).