List Census International Trade Datasets
census_trade_list_datasetsList available Census trade datasets by commodity classification or geography. Use this to find the correct dataset code for export and import queries.
Instructions
List the 9 commodity classification / geography datasets available in the Census International Trade Data API, for both exports and imports.
Use this first when you're not sure which dataset to query. Each dataset covers the same underlying monthly trade data (2010-present) but organizes it by a different commodity classification (HS, NAICS, End-Use, SITC, USDA, Advanced Technology) or geography (state, port instead of customs district).
Args: none.
Returns: For each dataset - its short code (used as the "dataset" parameter in census_trade_query_exports/imports), full name, description, level of detail available for exports vs. imports, and which commodity-code parameters it accepts.
Examples:
Use when: "What trade datasets are available?" or "Which dataset has state-level export data?"
Don't use when: You already know the dataset code you need - go straight to census_trade_query_exports/imports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||