US imports and exports by commodity
trade_flowsExperimental (outside the core SEC path; not covered by the published accuracy eval, may change or be withdrawn): Monthly US customs-reported trade value in dollars by trading partner for one HS chapter, from the Census international trade series. Exports are total value, imports are general imports. Costs $0.05 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit year. | |
| month | Yes | Month, 01 through 12. | |
| hs_code | Yes | Two-digit HS chapter, e.g. 87 vehicles, 10 cereals, 27 mineral fuels. | |
| direction | No | Trade direction. Default exports. |