BEA — US State GDP by Industry
bea.regional.state_gdpRetrieve real GDP by US state, county, or metro area from BEA data, filtered by year and industry, for state-level economic analysis and regional comparisons.
Instructions
Retrieve real GDP by US state from the BEA Regional Economic Accounts (CAGDP2 table). Returns GDP in thousands of dollars for all 50 states + DC + US total by year and industry component (agriculture, mining, manufacturing, finance, real estate, government, etc.). Use for state-level economic analysis, regional comparisons, and industry cluster research. GeoFips parameter supports individual state FIPS codes, all states, MSAs, or counties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year(s) to retrieve. Single year (e.g. "2023"), comma-separated list ("2021,2022,2023"), "LAST5" for latest 5 years, "LAST10" for latest 10, or "X"/"ALL" for all years. Defaults to LAST5. | |
| geo_fips | No | Geographic FIPS code(s) to retrieve. "STATE" (default) returns all 50 US states + DC, "COUNTY" for all counties, "MSA" for metro areas, or a specific 5-digit FIPS code (e.g. "06000" for California, "36000" for New York). Comma-separate multiple codes (e.g. "06000,36000,48000"). | |
| line_code | No | CAGDP2 line code for the GDP component. 1=All industry total (default), 2=Private industries, 3=Agriculture/forestry/fishing, 6=Mining, 10=Utilities, 11=Construction, 34=Manufacturing, 50=Wholesale trade, 55=Retail trade, 60=Transportation, 75=Information, 82=Finance/insurance, 100=Real estate, 300=Government. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |