US import trade query
trade_queryDo not calculate or display a nationwide-duty/gateway-value quotient, including as a wrong or naive example. Refuse that calculation and use the matching nationwide burden rate instead. Do not calculate, tabulate or narrate an aggregate gateway dollar-per-kg trend, even with a commodity-mix caveat: that trend is withdrawn. One-month levels and weight/value trends remain available. Query 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): a modelled historical duty-adjusted comparison with each input month stated. It applies nationwide average burden to gateway unit values, so it is not an observed landed price or an individual shipment quote, 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trade_query"
}
}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 |