Measuring Realized US Tariff Duties (2024 to 2026) with the US Census FT-900 API: 3 Pipeline Traps
Headline tariff announcements only tell you the statutory ceiling. The US Census Bureau International Trade (FT-900) API publishes actual realized monthly import duties (CAL_DUT_MO) alongside customs value (GEN_VAL_MO), CIF value, freight/insurance charges, and dutiable value down to 10-digit HS (HS10) x partner country x US customs district x rate provision.
Below are the live 2024 vs. 2025 vs. 2026 border receipt numbers from the latest published FT-900 release (2026-09), followed by the 3 Census API engineering traps that silently corrupt naive ingestion scripts.
Realized Effective Duty Rates Across 11 Major Non-Energy HS Chapters
Realized overall effective tariff burden is defined as SUM(CAL_DUT_MO) / SUM(GEN_VAL_MO). Comparing September 2024, September 2025, and September 2026 apples-to-apples shows how dramatically realized border duties shifted:
| HS2 | Chapter | 2024-09 | 2025-09 | 2026-09 | 2026-09 Duty Collected | 2026-09 Customs Value | 2-Yr Jump |
|---|---|---|---|---|---|---|---|
| 76 | Aluminum & articles | 3.47% | 34.87% | 36.99% | $971.6M | $2.63B | +33.53 pp |
| 72 | Iron & steel | 3.09% | 26.32% | 26.54% | $612.8M | $2.31B | +23.45 pp |
| 95 | Toys, games & sports | 0.77% | 23.50% | 12.10% | $438.0M | $3.62B | +11.33 pp |
| 87 | Vehicles & auto parts | 1.85% | 16.95% | 12.41% | $3,302.6M | $26.61B | +10.56 pp |
| 94 | Furniture & lighting | 5.34% | 19.19% | 15.28% | $754.4M | $4.94B | +9.94 pp |
| 61 | Knitted apparel | 15.89% | 31.38% | 24.18% | $1,116.0M | $4.62B | +8.29 pp |
| 62 | Woven apparel | 14.20% | 29.12% | 22.30% | $681.3M | $3.06B | +8.10 pp |
| 39 | Plastics & articles | 5.24% | 15.55% | 12.51% | $776.4M | $6.21B | +7.27 pp |
| 85 | Electrical & electronics | 2.22% | 11.17% | 5.06% | $3,226.2M | $63.72B | +2.84 pp |
| 84 | Computers, servers & machinery | 1.68% | 8.35% | 3.31% | $3,382.6M | $102.17B | +1.63 pp |
| 30 | Pharmaceuticals | 0.00% | 0.47% | 0.20% | $35.3M | $17.23B | +0.20 pp |
Two standout bilateral patterns in 2026-09:
- Aluminum (
HS 76) is the stickiest tariff wall: Canada paid $334.3M (33.94% effective rate on $984.9M), while India (58.39%), UAE (51.85%), and China (50.21%) all crossed 50%. - AI servers & machinery (
HS 84) rerouted aggressively: Monthly imports more than doubled to $102.17B, led by Mexico ($27.18B at 1.31%), Taiwan ($20.13B at 0.91%), and Vietnam ($11.43B at 1.20%), while China paid 19.40% ($1.01B on $5.22B).
The 3 US Census FT-900 API Pipeline Traps
If you write your own Python client against https://api.census.gov/data/timeseries/intltrade/imports/hs, watch out for these three gotchas:
1. Silent 2x to 3x double-counting if you omit SUMMARY_LVL2
By default, Census mixes atomic detail rows with overlapping country-group (CGP) subtotals like OECD, APEC, and USMCA in the exact same JSON array. Summing GEN_VAL_MO without filtering inflates totals by 2x to 3x.
Always pin both SUMMARY_LVL=DET and the exact atomic SUMMARY_LVL2 lattice for each endpoint:
imports/hs->SUMMARY_LVL2=HSCYCSDTRPexports/hs->SUMMARY_LVL2=HSDTCYDFporths->SUMMARY_LVL2=HSPTCYstatehs->SUMMARY_LVL2=HSSTCY
2. Unpublished months return HTTP 204, and invalid keys return HTTP 200 HTML
FT-900 data publishes on a ~5-week lag. Requesting an unpublished month returns HTTP 204 No Content with an empty body (causing response.json() to crash if unchecked).
Worse, an unactivated or invalid Census API key often returns HTTP 200 OK with an HTML error page instead of JSON. Always probe backward cleanly on 204 and reject HTML 200 responses explicitly.
3. Predicate variables cannot appear in get= (plus raw Schedule C/D codes)
Census automatically echoes any filtered predicate (CTY_CODE, DISTRICT, PORT, STATE) in its response matrix and returns HTTP 400 if you also include that variable in get=.
Raw responses also return 4-digit Schedule C country codes (5700, 1220) and 2-digit/4-digit Schedule D district/port codes rather than ISO-2 names, so your pipeline needs to fetch and cache the pipe-delimited country.txt and dist2.txt registers.
Querying Live via Python (REST) or Hosted MCP
import requests
resp = requests.get(
"https://sec-exhibit-21-subsidiaries-us-tariffs-verra-carbon-api.p.rapidapi.com/v1/census/tariffs",
headers={
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "sec-exhibit-21-subsidiaries-us-tariffs-verra-carbon-api.p.rapidapi.com",
},
params={
"flow": "imports",
"hs_prefix": "8507",
"comm_level": "HS10",
"countries": "CN,CA,MX,JP,KR",
"min_value_usd": 50000,
"max_items": 100,
},
timeout=30,
)
for row in resp.json()["items"][:5]:
print(row["hs_code"], row["country_iso2"], row["customs_value_usd"], row["effective_duty_rate_pct"])
Free 2026 Samples & Full Multi-Sector Excel/CSV Pack
- Free 100-Row 2026 Preview (CC0): Hugging Face (
Zartaks/us-census-hs10-tariff-duties-2026) ยท Kaggle (tertzak/us-census-hs10-tariff-duties-2026) - Full 2026 8-Sector HS10 Tariff Pack (1,670 commercial rows, $14.89B imports / $1.37B official duties, multi-sheet
.xlsx+.csv+.jsonl+ SHA-256): Download on Gumroad ($39) or grab all 4 2026 packs in the North America Master Bundle ($79) - Live Hosted MCP & Apify Store:
apify.com/zertax/us-census-hs-trade-tariffs-mcp - REST JSON API: RapidAPI Hub
- Turnkey n8n Duty-Spike Monitor & Quickstarts: GitHub (
AndyTertzakian/regulatory-tariffs-carbon-mcp)
Comments
No comments yet. Start the discussion.