Skip to content

Census US exports and imports by HS code

Monthly US trade in goods by Harmonized System commodity and partner country (values, quantities, shipping weights): exports with E_COMMODITY and ALL_VAL_MO. Needs flow, get and time. Served by US Census Bureau.

Inputs

3 required
Flow
Trade direction, e.g. 'exports' (exports or imports)Required · flow
Get
Variables, e.g. exports 'CTY_NAME,E_COMMODITY,E_COMMODITY_SDESC,ALL_VAL_MO' or imports 'CTY_NAME,I_COMMODITY,GEN_VAL_MO'Required · get
Time
Month or range, e.g. '2024-01' or 'from 2024-01 to 2024-06'Required · time
E commodity
Export HS code filter (exports only), e.g. '8703'Optional · e_commodity
I commodity
Import HS code filter (imports only), e.g. '8703'Optional · i_commodity
Comm lvl
Commodity detail level, e.g. 'HS4' (HS2, HS4, HS6 or HS10)Optional · comm_lvl
Cty code
Census country code, e.g. '5700' China, '4280' Germany; '-' = all countries totalOptional · cty_code

Pricing

Price
Free, no charge per call
Billing
No charge per call. A workspace is still needed so your agent can call it.
License
Public domain (U.S. Government work); Census Data API Terms of Service
Attribution
This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Knowledge & research

Connect your agent to 3,000+ tools for free

Sign in with Google or GitHub. No card required.