# Census business statistics: establishments, nonemployers, annual business survey

Census Bureau business data by state and industry: County Business Patterns, Nonemployer Statistics and the Annual Business Survey.

- No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source: [US Census Bureau Data API](https://www.census.gov/data/developers.html)
- Licence and terms: [US federal work, 17 U.S.C. 105; Census Bureau API terms](https://www.census.gov/data/developers/about/terms-of-service.html)
- Coverage: United States
- Answers are shared and cached for 86400 seconds.

## Questions you can ask

- How many accommodation and food service establishments and employees did California have in 2022? (operation `census_cbp`)
- How many nonemployer food service businesses did California have in 2021? (operation `census_nonemployer`)
- How many employer firms did California have in accommodation and food services in 2022? (operation `census_abs`)

## Operations

### County Business Patterns by state and industry

Answers: how many business establishments, employees and how much annual payroll does an industry \(NAICS code\) have in a state?

- `year`: required, integer
- `naics`: required, string, NAICS 2017 industry code, for example 72 accommodation and food services.
- `state`: optional, string, default \*, Two-digit state FIPS code, or \* for all states.

Example: How many accommodation and food service establishments and employees did California have in 2022?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"census_business","operation":"census_cbp","params":{"year":2022,"naics":"72","state":"06"}}}
```

Over HTTP:

```
curl '/v1/connectors/census_business/census_cbp?year=2022&naics=72&state=06'
```

### Nonemployer Statistics by state and industry

Answers: how many businesses with no paid employees \(sole proprietors\) and what receipts does an industry have in a state?

- `year`: required, integer
- `naics`: required, string, NAICS 2017 industry code.
- `state`: optional, string, default \*, Two-digit state FIPS code, or \* for all states.

Example: How many nonemployer food service businesses did California have in 2021?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"census_business","operation":"census_nonemployer","params":{"year":2021,"naics":"72","state":"06"}}}
```

Over HTTP:

```
curl '/v1/connectors/census_business/census_nonemployer?year=2021&naics=72&state=06'
```

### Annual Business Survey by state and industry

Answers: how many employer firms does an industry have in a state in the 2022 Annual Business Survey \(company summary\)?

- `naics`: required, string, NAICS 2022 industry code.
- `state`: optional, string, default \*, Two-digit state FIPS code, or \* for all states.

Example: How many employer firms did California have in accommodation and food services in 2022?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"census_business","operation":"census_abs","params":{"naics":"72","state":"06"}}}
```

Over HTTP:

```
curl '/v1/connectors/census_business/census_abs?naics=72&state=06'
```

## Source notice

Source: US Census Bureau. This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau. US federal government works are not subject to copyright: 17 U.S.C. 105 states "Copyright protection under this title is not available for any work of the United States Government".

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
