FEMA USA Structures
services2.arcgis.com
Building-level footprints for structures across the United States and its territories, produced by Oak Ridge National Laboratory for FEMA, with occupancy class, primary use, address, height, floor area, elevation, county and census tract codes and a modelled building population estimate.
GET /v1/data/usastructures/count1Request
SQL filter over the structure fields. Use 1=1 to count every structure in the country.
curl "https://api.fastcrw.com/v1/data/usastructures/count?where=PROP_ST%3D%27Rhode+Island%27" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from FEMA USA Structures.
{
"count": 367168
}Attribution: USA Structures - Oak Ridge National Laboratory (ORNL) and FEMA Geospatial Response Office, hosted by Esri U.S. Federal Datasets, CC BY 4.0
Licence: Item licence statement on the authoritative "USA Structures" layer (ArcGIS item 0ec8512ad21e4bb987d7e848d14e7e24), verbatim: "This work is licensed under a Creative Commons by Attribution (CC BY 4.0) license. See Credits and Map for Attribution." with links headed "View License Deed" (https://creativecommons.org/licenses/by/4.0) and "View Legal Code" (https://creativecommons.org/licenses/by/4.0/legalcode). The same item's credits field reads: "Oak Ridge National Laboratory (ORNL); Federal Emergency Management Agency (FEMA) Geospatial Response Office". CC BY 4.0 grants, in its own words, the right to "copy and redistribute the material in any medium or format" and to "remix, transform, and build upon the material for any purpose, even commercially", provided attribution is given.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Count structures matching a filter
Use FEMA USA Structures (usastructures) from fastCRW Pergamon, capability "Count structures matching a filter" (count). You only need how many buildings match - a state, county, ZIP or occupancy type - and not the records themselves. Example options: where=PROP_ST='Rhode Island'. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "usastructures" and capability "count". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Count structures in a bounding box
Use FEMA USA Structures (usastructures) from fastCRW Pergamon, capability "Count structures in a bounding box" (count-in-bbox). You want building density or a feasibility check for a map area before pulling the records, which may exceed the 2000-row page. Example options: xmin=-105.2805, ymin=40.0100, xmax=-105.2700. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "usastructures" and capability "count-in-bbox". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Distinct values of a field
Use FEMA USA Structures (usastructures) from fastCRW Pergamon, capability "Distinct values of a field" (distinct-values). You need the real vocabulary of a field - which occupancy types, counties or building codes actually occur - before writing a filter. Example options: where=STATE_FIPS='44', outFields=PRIM_OCC, orderByFields=PRIM_OCC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "usastructures" and capability "distinct-values". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Bounding box of a result set
Use FEMA USA Structures (usastructures) from fastCRW Pergamon, capability "Bounding box of a result set" (extent). You want to know where a set of buildings sits, or to fit a map to it, without downloading any features. Example options: where=FIPS='44003'. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "usastructures" and capability "extent". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
