Census Business Patterns - Employment & Payroll avatar

Census Business Patterns - Employment & Payroll

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Census Business Patterns - Employment & Payroll

Census Business Patterns - Employment & Payroll

Extract Census County Business Patterns industry, employment, establishments, and payroll data by location. Census now requires a free API key for live data; default runs return setup instructions instead of failing.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Ava Torres

Ava Torres

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Census Business Patterns - Industry & Employment Data by Location

Extract U.S. Census County Business Patterns (CBP) data: employee counts, establishment counts, and annual payroll — segmented by NAICS industry code and geographic level (national, state, county, or ZIP code).

Data is sourced directly from the U.S. Census Bureau CBP API. A free Census API key is now required for live data; default runs return a clear requires_census_api_key setup item instead of failing.


What This Actor Does

  • Queries the Census 2021 CBP dataset via the official REST API
  • Filters by any NAICS 2017 industry code (2-digit sector down to 6-digit subsector)
  • Returns results at national, state, county, or ZIP code geographic level
  • Outputs structured records ready for analysis, market research, or lead generation

Use Cases

  • Market sizing — How many restaurants (NAICS 72) are in each U.S. state?
  • Business density analysis — Which ZIP codes have the highest concentration of healthcare establishments?
  • Competitive research — How large is the labor market for a given industry in a target county?
  • Economic intelligence — Compare payroll and employment trends across geographies
  • Lead generation — Identify high-density industry clusters for outreach campaigns

Input

FieldTypeDescription
naicsCodestringNAICS 2017 code (e.g. "72" for Accommodation & Food Services). Leave blank for all industries.
geographyselectnational, state, county, or zipcode
stateCodestringTwo-digit FIPS state code to narrow county/ZIP results (e.g. "06" for California). Optional.
maxResultsintegerMaximum number of records to return (default: 500)
apiKeystringRequired Census API key for live data. Get a free key at https://api.census.gov/data/key_signup.html.

Common NAICS Codes

CodeIndustry
11Agriculture, Forestry, Fishing
21Mining, Quarrying, Oil & Gas
23Construction
31-33Manufacturing
44-45Retail Trade
52Finance and Insurance
53Real Estate
54Professional, Scientific & Technical Services
62Health Care & Social Assistance
72Accommodation & Food Services

Common State FIPS Codes

CodeState
06California
48Texas
36New York
12Florida
17Illinois

Output

Each record contains:

FieldDescription
naicsCodeNAICS 2017 industry code
naicsLabelIndustry name
employeesTotal employees (mid-March pay period)
establishmentsNumber of business establishments
annualPayrollAnnual payroll in thousands of dollars
firstQuarterPayrollFirst-quarter payroll in thousands of dollars
stateFipsState FIPS code (state/county queries)
countyFipsCounty FIPS code (county queries)
zipCodeZIP code (zipcode queries)

Example Output

[
{
"naicsCode": "72",
"naicsLabel": "Accommodation and food services",
"employees": "1812928",
"establishments": "91942",
"annualPayroll": "37029834",
"firstQuarterPayroll": "8543210",
"stateFips": "06",
"countyFips": "",
"zipCode": ""
}
]

If apiKey is omitted, the actor returns a setup item instead of failing:

[
{
"status": "requires_census_api_key",
"message": "The Census Data API currently redirects unauthenticated requests to a missing-key page. Provide apiKey from api.census.gov/data/key_signup.html to retrieve live County Business Patterns data."
}
]

Data Source

U.S. Census Bureau — County Business Patterns (2021)


Notes

  • Suppressed cells (where data is withheld for confidentiality) appear as "0" or "N" in the Census response — this is normal Census disclosure avoidance behavior, not an actor error.
  • ZIP code queries can return large result sets. Use stateCode to limit scope, or set maxResults accordingly.
  • NAICS codes must match the 2017 revision. Prior-year codes may differ at the subsector level.