Query Robotics Trade (industrial-robot imports, value + robot counts)
query_robotics_trade_v1Query verified U.S. monthly IMPORTS of INDUSTRIAL ROBOTS — customs value (USD) AND unit counts (number of robots) — by country of origin, from the U.S. Census Bureau's International Trade data.
Use this for "how many robots is the US importing, from whom, and what are they worth" questions — the only high-frequency official U.S. robotics series. Covers the nomenclature's two robot-specific HS-10 codes, served as the commodity dimension: "8479500000" (INDUSTRIAL ROBOTS, NESOI — multipurpose: welding/assembly arms, AMRs) and "8428700000" (INDUSTRIAL ROBOTS FOR LIFTING, HANDLING, LOADING OR UNLOADING — created by HS 2022; no data before 2022-01, a structural absence, never zero). Filter by commodity, country (the verbatim Census name, e.g. "JAPAN", "CHINA", "KOREA, SOUTH"), cty_code (the Census country code), country_level ("total" = the all-countries TOTAL, "country" = an individual country, "grouping" = a Census bloc/continent like ASIA / APEC / EU), year, data_month (one month, ISO first-of-month e.g. "2026-04-01") or the data_month_from/data_month_to range. Group by any of commodity, country, cty_code, country_level, data_month, or year. Pass each parameter as a top-level key of params (flat — not nested under a filter, filters, or where key). Example: {"commodity": "8479500000", "country_level": "country", "group_by": ["country"], "order_by": "general_quantity_units", "top_n": 5} for the top robot-supplying countries by unit count; {"country_level": "total", "group_by": ["data_month", "commodity"]} for the national trend per code. Returns JSON aggregates with citations and optional row-level records when include_records is true — every value cites the exact Census response row, re-verifiable via get_source_evidence_v1.
Measures: general_value_usd / consumption_value_usd (customs value) and general_quantity_units / consumption_quantity_units (Census's "NO" unit of measure = the number of robots). NEVER SUM across country rows: Census's groupings (ASIA, APEC, EU, OECD, ASEAN, the continents) OVERLAP each other and the individual countries, and the all-countries TOTAL contains everything — adding rows double-counts; a cross-row sum returns a country_aggregation note and nulls the metrics in ranking remainders; filter country_level=total for the U.S. national figure. The two commodity codes ARE disjoint — adding them is legitimate — but a combined time series changes composition at 2022-01 (a commodity_scope note flags it). This is the import FLOW, not the installed base or operational stock of robots in U.S. factories; no maker, model, or humanoid breakdown (customs-classified); country is the country of ORIGIN, not which U.S. state or factory receives the robots; imports only (not exports); customs value (not landed/CIF/duty); recent months are preliminary and revised in later Census releases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||