US import trade query
trade_queryQuery US containerised import trade directly: monthly weight (kg) and customs value (USD) through the 8 major US container gateways, filterable by origin country (e.g. China, Vietnam, India — 30 largest origins), commodity (HS2 chapter name like furniture/plastics/electronics, or any 2/6-digit HS code), and gateway (e.g. us_la_longbeach, savannah). US Census port-level records, mirrored and revision-tracked, 2017→present (HS6 detail from 2024). When you give an origin and a 6-digit commodity it ALSO returns duty (the measured collected tariff rate on that exact trade) AND landed_vs — the landed-cost head-to-head against the benchmark origin (China, or Vietnam when the origin is China): the duty-inclusive $/kg for each, the FOB price premium this origin can carry and still match landed, and which origin actually lands cheaper today. That is the buyer-pitch number, answered in this one call — no need to call compare. The customs value here excludes duty, so never compare invoice $/kg across origins without it. Ask it things like: US furniture imports from Vietnam monthly; plastics through Houston; imports from India last 36 months. No API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | How many trailing months (default 24, max 60) | |
| origin | No | Origin country name or Census Schedule C code (optional — omit for all origins) | |
| gateway | No | Gateway zone or name: us_la_longbeach, us_ny_nj, us_savannah, us_houston, us_charleston, us_norfolk, us_oakland, us_seattle_tacoma (optional) | |
| commodity | No | HS2 chapter name (furniture, plastics, electronics, machinery, toys…) or a 2- or 6-digit HS code (optional) | |
| share_draft | No | Set true to also receive a ready-to-share social post template for this answer (optional; default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| answer | No | ||
| series | Yes | ||
| caveats | No |