US Census HS10 Trade Flows & Tariff Duties API
Pricing
from $2.40 / 1,000 trade flow records extracted
US Census HS10 Trade Flows & Tariff Duties API
Extract official US Census monthly HS10 imports, exports, customs value, CIF, and calculated tariff duties by country, port, or state as JSON, CSV, or MCP.
Pricing
from $2.40 / 1,000 trade flow records extracted
Rating
0.0
(0)
Developer
Andy Tertzakian
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
5 hours ago
Last modified
Categories
Features
Share
Use this US Census Trade & Tariff Duties API to extract official US Census Bureau International Trade (FT-900) monthly imports, exports, customs value (FOB/FAS), CIF, shipping charges, quantities, and calculated tariff duties (CAL_DUT_MO) across HS2 / HS4 / HS6 / HS10 commodities, partner countries, US customs districts, ports of entry/exit, and US states — formatted as clean JSON, CSV, Excel, or live via Model Context Protocol (MCP).
Unlike static tariff-schedule lookup tools, this Actor queries actual realized monthly US customs flows and duties collected, enriched automatically with Schedule C country names & ISO-2 codes and Schedule D district/port names.
Key Features
- 1-Click Ready + Optional BYOK: Runs out-of-the-box with a managed Census API key (or supply your own free
censusApiKeyvia encrypted BYOK input). Keys are strictly redacted from all logs and output_source_urlfields. - All 6 Official Endpoints (
imports/exports×hs/porths/statehs):imports/hs: Full HS10 granularity with FOB customs value, CIF, freight/insurance charges, imports for consumption, dutiable value, calculated tariff duty (calculated_duty_usd), effective duty rate (%), and transport-mode weights/values.exports/hs: Full HS10 FAS export value, domestic vs. foreign re-export (DF), quantities, and vessel/air/containerized splits.porths&statehs: Port-of-entry/exit and US state trade flows (up to HS6 per Census disclosure rules).
- Zero Double-Counting: Pins
SUMMARY_LVL=DETand the finest non-overlappingSUMMARY_LVL2lattice (HSCYCSDTRP,HSDTCYDF,HSPTCY,HSSTCY) so overlapping country groups (CGP) and subtotal rows never inflate totals. - Auto-Detects Latest FT-900 Month: Leave
startMonthblank to automatically skip unpublishedHTTP 204months and fetch the newest official Census release. - Human-Friendly ISO-2 Filtering: Pass
countries: ["CA", "MX", "CN", "DE"](auto-translated to 4-digit Schedule C codes) instead of memorizing Census code books.
Use with AI Agents (Claude Desktop, Cursor, MCP)
{"mcpServers": {"us-census-trade": {"url": "https://mcp.apify.com/?tools=actors,zertax/us-census-hs-trade-tariffs-mcp"}}}
Example prompts:
- "Pull the latest monthly US HS10 crude oil imports (
2709) from Canada and Mexico with customs value, barrels, and calculated tariff duties." - "Show US semiconductor imports (
8542) by customs district and effective duty rate for the last 3 months." - "Compare Texas (
TX) LNG / natural gas exports (2711) by partner country."
Example Input
{"flow": "imports","geography": "hs","hsPrefix": "2709","commLevel": "HS10","countries": ["CA", "MX"],"maxItems": 50}
Example Output Record
{"flow": "imports","geography": "hs","month": "2026-08","commodity_code": "2709001000","commodity_desc": "CRUDE OIL FROM PETROLEUM OR BITUMINOUS MINERALS TESTING UNDER 25 DEGREES API","country_iso2": "CA","country_name": "CANADA","district_code": "39","district_name": "CHICAGO, IL","customs_value_usd": 2418500000.0,"cif_value_usd": 2451200000.0,"calculated_duty_usd": 4125000.0,"effective_duty_rate_pct": 0.17,"_source": "us_census_ft900","_schema_version": "1.0.0"}
Pay-Per-Event Pricing
Predictable event-based billing with automatic tiered discounts (10% off Bronze, 25% off Silver, 40% off Gold+):
| Event | Free Tier | Gold+ Tier | When Billed |
|---|---|---|---|
apify-actor-start | $0.005 | $0.003 | Once per Actor run |
trade-query-month | $0.01 | $0.006 | Once per published FT-900 month returned (HTTP 204 unpublished months are free) |
trade-record (Primary) | $0.004 ($4 / 1,000) | $0.0024 ($2.40 / 1,000) | Per enriched trade record pushed to Dataset |
FAQ
How is effective_duty_rate_pct calculated?
Dividing official US Census calculated import duties (CAL_DUT_MO) by consumption customs value (CON_VAL_MO), giving the actual realized tariff burden paid at US borders rather than headline statutory rates.
Why does leaving startMonth blank still work immediately?
US Census releases FT-900 data with a ~5-week lag and returns HTTP 204 for unpublished months. The Actor automatically steps back to the latest published FT-900 release with zero charge for unpublished months.
Privacy & Telemetry: This Actor records only anonymous aggregate run metrics (billing event counts, run origin, and a salted one-way user hash — never inputs, credentials, raw user IDs, or extracted data) for reliability and billing analytics.
More Public Regulatory, Trade & ESG Data Actors (MCP-Ready)
Built by zertax — clean-room, serverless, Pay-Per-Event Python Actors with strict Pydantic schemas, UTC provenance, and 1-click Streamable HTTP MCP support:
Corporate Filings, International Trade & Market Positioning
- SEC EDGAR Exhibit 21 Subsidiaries MCP — Form 10-K corporate parent-to-subsidiary trees & jurisdictions (KYB/AML/M&A)
- US Census HS10 Trade Flows & Tariff Duties MCP — Monthly US imports/exports, customs value, CIF & calculated tariff duties (
CAL_DUT_MO) - Canadian SEC 40-F & 6-K Filings (MJDS) MCP — TSX/NYSE interlisted AIF, MD&A, NI 43-101 & NI 51-101 filings
- US CFTC Commitments of Traders (COT) MCP — Weekly Disaggregated, TFF Financial & Legacy positioning with computed net exposure
Voluntary Carbon, ESG & Environmental Compliance
- Verra VCS Carbon Credit Registry MCP — 2026 Platts RaaS projects, VCU issuances, corporate retirements, holdings & cancellations
- Gold Standard Impact Registry Carbon Credits MCP — Certified projects, UN SDG impacts, CORSIA & credit batches (Verra-aligned schema)
- US EPA & Canada ECCC Facility GHG Emissions MCP — Unified North American facility CO2e, CO2, CH4 & N2O emissions
- US EPA ECHO Environmental Compliance MCP — Clean Air (CAA), Clean Water (CWA/NPDES) & RCRA compliance, violations & penalties
REST API, Free 2026 Sample CSVs & Multi-Tool MCP
- REST JSON API (RapidAPI Hub — Free Basic + Pro/Ultra/Mega plans): https://rapidapi.com/andy.tertzakian/api/sec-exhibit-21-subsidiaries-us-tariffs-verra-carbon-api
- Public GitHub Showcase, Python Quickstarts, n8n Workflows & Sample CSVs: https://github.com/AndyTertzakian/regulatory-tariffs-carbon-mcp
- Official MCP Registry / Glama Connector:
io.github.AndyTertzakian/zertax-regulatory-tariffs-carbon-mcp(Glama) - Free 100-Row 2026 Preview Datasets on Kaggle: SEC Exhibit 21 · US Census Tariffs · Verra VCS Retirements · Canadian 40-F/6-K