US International Merchandise Trade by NAICS-6 (Bilateral)
Annual US merchandise exports and imports at NAICS 6-digit commodity detail, both world total and bilateral with Canada. From the US Census Bureau International Trade API.
About this dataset
- NAICS 6-digit commodity (~400+ codes per flow)
- Trade flow (exports, imports)
- Partner (World total, Canada bilateral)
- Year (2020β2024)
- No services β merchandise (goods) trade only
- Only 2 partners (World, Canada) in this slice β not the full bilateral matrix
- No sub-national (state/district) detail in this slice
- No monthly breakdown β calendar year totals only
Measurement notes
- Census basis: physical merchandise clearing US customs. Differs from Balance of Payments (BOP) basis used in national accounts.
- Exports endpoint queries ALL_VAL_YR at time=YYYY-12 for full calendar year f.a.s. value.
- Imports endpoint queries GEN_VAL_YR at time=YYYY-12 for full calendar year general customs value.
- Some NAICS-6 codes may have suppressed values for confidentiality (appear as NaN).
| Column | Type | Non-null | Unique | Mean | Min | Max |
|---|---|---|---|---|---|---|
| year | int64 | 100.0% | 5 | 2022 | 2020 | 2024 |
| flow | object | 100.0% | 2 | β | exports | imports |
| partner | object | 100.0% | 2 | β | Canada | World |
| naics6 | object | 100.0% | 435 | β | 111110 | 990000 |
| naics_description | object | 100.0% | 434 | β | ABRASIVE PRODUCTS | WOOD WINDOWS & DOORS |
| value_usd | int64 | 100.0% | 7864 | 3,507,804,798 | 1,144 | 247,315,537,014 |
| Trade Flow & Partner | 2020 | 2021 | 2022 | 2023 | 2024 |
|---|---|---|---|---|---|
| US Exports to Canada | |||||
| US Exports to World | |||||
| US Imports from Canada | |||||
| US Imports from World |
Observations
- Record US merchandise deficit (-$1,167.1B) β NOTES.md: Peak import surge & energy prices
- Deficit widens to -$1,200.9B on $3,263.9B imports β NOTES.md: 2024 annual benchmark
- Peak bilateral trade ($796.5B) & US deficit (-$78.3B) β NOTES.md: Energy commodity super-cycle
- Two-way trade stabilizes at $762.4B (US deficit: -$61.2B) β NOTES.md: 2024 annual baseline
Headline Facts (2024)
Notes
US merchandise trade at NAICS-6, world + Canada bilateral, 2020β2024. Canada accounts for 12.6% of total US goods imports ($411.8B) and runs a +$61.2B trade surplus with the US.
Validation Checks
External: $411,771.6M (U.S. Census Bureau, Foreign Trade Division, 'U.S. Trade in Goods with Canada' (Dec 2024 annual total))
Exact match to official annual Census-basis merchandise import total from Canada.
External: $350,605.6M (U.S. Census Bureau, Foreign Trade Division, 'U.S. Trade in Goods with Canada' (Dec 2024 annual total))
Exact match to official annual Census-basis merchandise export total to Canada.
External: -$61,166.0M (U.S. Census Bureau, Foreign Trade Division, 'U.S. Trade in Goods with Canada' (Dec 2024 annual total))
Exact match to official Census bilateral merchandise trade balance.
External: $3,263.9B (U.S. Census Bureau & BEA Joint Release: U.S. International Trade in Goods and Services (FT-900, Dec 2024))
Matches cumulative annual Census-basis goods imports across all trading partner economies.
External: $98.41B (U.S. Census Bureau International Trade NAICS-6 series (NAICS 211120))
Accounts for 23.9% of all US merchandise imports from Canada.