Census Bureau
census_bureauThe Census Bureau Data API provides developers with access to a wide range of statistical data collected by the U.S. Census Bureau, facilitating integration into applications and data visualizations.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get ACS 1-Year EstimatesCENSUS_BUREAU_GET_ACS1_YEAR_ESTIMATESAcciónTool to retrieve 1-year american community survey (acs) estimates for a specified geography. use when you need the most recent annual acs data for a given area.
CENSUS_BUREAU_GET_ACS1_YEAR_ESTIMATESAcciónTool to retrieve 1-year american community survey (acs) estimates for a specified geography. use when you need the most recent annual acs data for a given area.
Parámetros de entrada
instringParent geography filter in 'type:code' format for nested queries. Required when querying sub-geographies.
forstringObligatorioGeography filter in 'type:code' format. Examples: 'state:06' for California, 'us:1' for nation-wide.
getstringObligatorioComma-separated list of variables or group specifiers to return. Examples: 'NAME,B01001_001E', 'group(B01001)'
keystringAPI key for authenticated access. If not provided, the default key from metadata will be used.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ACS 5-Year EstimatesCENSUS_BUREAU_GET_ACS5_YEAR_ESTIMATESAcciónTool to retrieve 5-year american community survey estimates for a specified year. use when detailed acs data by geography and variables is required.
CENSUS_BUREAU_GET_ACS5_YEAR_ESTIMATESAcciónTool to retrieve 5-year american community survey estimates for a specified year. use when detailed acs data by geography and variables is required.
Parámetros de entrada
keystringCensus API key. If omitted, uses key from metadata or environment
yearintegerObligatorioYear of the ACS 5-year data release (between 2009 and 2023)
geo_instringOptional geography clause for the 'in' parameter, e.g. 'state:06'
geo_forstringObligatorioGeography clause for the 'for' parameter, e.g. 'state:*' or 'us:1'
variablesstringObligatorioComma-separated ACS variables or groups, e.g. 'NAME,B01001_001E' or 'group(B01001)'
Parámetros de salida
dataarray[]ObligatorioList of rows from ACS API response (first row = header)
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get American Business SurveyCENSUS_BUREAU_GET_AMERICAN_BUSINESS_SURVEYAcciónTool to retrieve annual business survey (abs) data for a specified year and endpoint.
CENSUS_BUREAU_GET_AMERICAN_BUSINESS_SURVEYAcciónTool to retrieve annual business survey (abs) data for a specified year and endpoint.
Parámetros de entrada
geostringObligatorioGeography filter, e.g., 'us:*' for national or 'state:06' for California.
keystringObligatorioCensus API key for authentication.
yearintegerObligatorioThe survey year (between 2017 and latest available).
endpointstringObligatorioenumABS dataset to query: 'abscs' (company summary), 'abscb' (business characteristics), 'abscbo' (owner characteristics), or 'absmcb' (module characteristics).
abscsabscbabscboabsmcbvariablesstring[]ObligatorioList of variable codes to retrieve (e.g., ['GEO_ID','NAME','EMP']).
Parámetros de salida
dataarray[]ObligatorioABS API returns a 2D array where row[0] is column names.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Community Resilience EstimatesCENSUS_BUREAU_GET_COMMUNITY_RESILIENCE_ESTIMATESAcciónTool to retrieve community resilience estimates for a specified year. use after selecting variables and geography to get cre data for analysis.
CENSUS_BUREAU_GET_COMMUNITY_RESILIENCE_ESTIMATESAcciónTool to retrieve community resilience estimates for a specified year. use after selecting variables and geography to get cre data for analysis.
Parámetros de entrada
forstringObligatorioGeographic filter, e.g., 'state:06' or 'county:06037'
getstringObligatorioComma-separated list of variables to retrieve, e.g., 'NAME,PRED12_M,PRED3_E'
keystringAPI key; if omitted, default key from metadata headers will be used
yearintegerObligatorioYear of the Community Resilience Estimates dataset (2016–2023)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get County Business PatternsCENSUS_BUREAU_GET_COUNTY_BUSINESS_PATTERNSAcciónTool to retrieve county business patterns (cbp) data for a specified year. use when you need county-level business establishment and employment statistics filtered by industry and geography.
CENSUS_BUREAU_GET_COUNTY_BUSINESS_PATTERNSAcciónTool to retrieve county business patterns (cbp) data for a specified year. use when you need county-level business establishment and employment statistics filtered by industry and geography.
Parámetros de entrada
instringOptional geographic constraint (parent geography), e.g., 'state:06'
forstringObligatorioGeographic filter, e.g., 'county:001'
getstringObligatorioComma-separated list of fields to retrieve (e.g., 'EMP,ESTAB,NAICS2017')
keystringAPI key for higher rate limits
yearintegerObligatorioCBP data year (e.g., 2021)
NAICS2017stringOptional 2017 NAICS industry code(s), e.g., '31-33'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Decennial Census DataCENSUS_BUREAU_GET_DECENNIAL_CENSUS_DATAAcciónTool to retrieve decennial census data for a specified vintage and dataset. use when you need census variables for a given geography.
CENSUS_BUREAU_GET_DECENNIAL_CENSUS_DATAAcciónTool to retrieve decennial census data for a specified vintage and dataset. use when you need census variables for a given geography.
Parámetros de entrada
getstringObligatorioComma-separated list of variables to retrieve.
keystringCensus API key for authentication. Uses default key if not provided.
nestedstringNested geography specifier, e.g., 'county:001'.
datasetstringObligatorioDataset identifier, e.g., 'sf1' for Summary File 1.
vintagestringObligatorioDecennial census vintage year, e.g., '2020'.
geographystringObligatorioGeography specifier in format '<geography>:<value>', e.g., 'state:*'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Population EstimatesCENSUS_BUREAU_GET_POPULATION_ESTIMATESAcciónTool to retrieve population estimates program (pep) data for a specified vintage and dataset. use when you need population or demographic estimates for specific geographies.
CENSUS_BUREAU_GET_POPULATION_ESTIMATESAcciónTool to retrieve population estimates program (pep) data for a specified vintage and dataset. use when you need population or demographic estimates for specific geographies.
Parámetros de entrada
forstringObligatorioGeographic area specifier (e.g., 'state:*' for all states)
getstringObligatorioComma-separated list of variables to retrieve (e.g., 'POP,AGE,SEX')
keystringYour Census API key; if omitted, the configured key in client metadata will be used
datasetstringObligatorioenumPEP dataset to retrieve
populationcomponentscharagegroupsvintageintegerObligatorioYear of the data vintage (e.g., 2023)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Variable DetailsCENSUS_BUREAU_GET_VARIABLE_DETAILSAcciónTool to retrieve metadata for a specific variable in a census dataset for a given year. use when you need the label, concept, data type, attribute codes, and valid-value constraints.
CENSUS_BUREAU_GET_VARIABLE_DETAILSAcciónTool to retrieve metadata for a specific variable in a census dataset for a given year. use when you need the label, concept, data type, attribute codes, and valid-value constraints.
Parámetros de entrada
keystringCensus API key. If omitted, default key from metadata will be used.
yearintegerObligatorioFour-digit data vintage year, e.g., 2019.
datasetstringObligatorioDataset path segment, e.g., 'acs/acs1' or 'acs/acs5'.
variablestringObligatorioVariable identifier, e.g., 'B01001_001E'. Case-sensitive.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not