# Census business patterns by industry

Establishments, employment and payroll (County Business Patterns 'cbp', with ZIP level since 2019) or nonemployer firms and receipts ('nonemp') by NAICS. Needs year, get and for. Served by US Census Bureau.

Establishments, employment and payroll (County Business Patterns 'cbp', with ZIP level since 2019) or nonemployer firms and receipts ('nonemp') by NAICS industry and US geography. Filter the industry with naics2017 (cbp, zbp) or naics2022 (nonemp from 2022); rows come as arrays, first row = headers.

- Tool ID: `census/business-patterns`
- Provider: [US Census Bureau](/providers/census.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "minimum": 2008,
      "maximum": 2030,
      "description": "Data year, e.g. 2023"
    },
    "dataset": {
      "type": "string",
      "enum": [
        "cbp",
        "nonemp",
        "zbp"
      ],
      "default": "cbp",
      "description": "'cbp' employer businesses, 'nonemp' nonemployer statistics, 'zbp' ZIP Code Business Patterns (2018 and earlier)"
    },
    "get": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800,
      "pattern": "^[A-Za-z0-9_(),.]+$",
      "description": "Variables, e.g. 'NAME,ESTAB,EMP,PAYANN' (cbp) or 'NAME,NESTAB,NRCPTOT' (nonemp)"
    },
    "for": {
      "type": "string",
      "minLength": 3,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9 ()/,'.&-]+:[A-Za-z0-9*,]+$",
      "description": "Geography, e.g. 'state:06', 'county:*', 'zip code:10001' (cbp since 2019) or 'us:1'"
    },
    "in": {
      "type": "string",
      "minLength": 3,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9 ()/,'.&:*+-]+$",
      "description": "Parent geography filter, e.g. 'state:06' or 'state:06 county:037'"
    },
    "naics2017": {
      "type": "string",
      "pattern": "^[0-9-]{2,6}$",
      "description": "NAICS 2017 code filter (cbp, zbp), e.g. '72' or '722511'; '00' = all sectors"
    },
    "naics2022": {
      "type": "string",
      "pattern": "^[0-9-]{2,6}$",
      "description": "NAICS 2022 code filter (nonemp from 2022), e.g. '42'"
    },
    "empszes": {
      "type": "string",
      "pattern": "^[0-9]{3}$",
      "description": "Employment size class (cbp), e.g. '001' = all establishments"
    },
    "lfo": {
      "type": "string",
      "pattern": "^[0-9A-Z]{3}$",
      "description": "Legal form of organization, e.g. '001' = all"
    }
  },
  "required": [
    "year",
    "get",
    "for"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "census/business-patterns",
  "input": {
    "year": 2023,
    "dataset": "cbp",
    "get": "NAME,NAICS2017_LABEL,ESTAB,EMP,PAYANN",
    "for": "state:06",
    "naics2017": "72"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain (U.S. Government work); Census Data API Terms of Service.

Attribution: This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau..

[Provider documentation](https://www.census.gov/data/developers/data-sets/cbp-zbp/cbp-api.html)

[REST inspection](https://api.agentik.cc/v1/tools/census/business-patterns) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/census/business-patterns) · [Agent index](/llms.txt)
