# US Census County Business Patterns – State-Level Business Statistics

> US Census County Business Patterns – State-Level Business Statistics is a paid API for AI agents from api.companyrecords-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns US Census Bureau County Business Patterns data (establishments, employees, payroll) for a given state FIPS code and optional NAICS industry code

## Facts

- Endpoint: GET https://api.companyrecords-api.workers.dev/api/b2b/census-business-builder?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-census-county-business-patterns-state-level-business-statistics-6c18595b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2ep8xE-LXGL2ahV9BrKU7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-census-county-business-patterns-state-level-business-statistics-6c18595b
```

Example prompt: Pull the latest US Census County Business Patterns data for California (state FIPS 06) — I want to see total establishments, paid employees, and annual payroll for all industries combined.

## When to prefer this

Choose this endpoint when you need authoritative, official US government statistics on business counts, employment, and payroll aggregated at the state level by industry. It is ideal for market sizing, economic research, competitive landscape analysis, and labor market benchmarking where NAICS-level granularity and Census-grade accuracy are required. Prefer this over commercial business databases when you need aggregate counts (not individual company records) and want data directly sourced from the US Census Bureau's County Business Patterns program.

## Known failure modes

- Invalid or non-existent state FIPS code returns an error
- NAICS code outside 2–6 digits or not matching a valid code may return empty or error
- Data may lag up to a year since it reflects the latest published Census year
- Noise infusion flags (H or J) indicate lower precision for small-population industries
- Network or Workers.dev availability issues causing 5xx errors

## How this service works

Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

A JSON object containing the state name, reference year, NAICS code (if specified), total number of establishments, paid employee count (as of March 12 payroll week), first-quarter payroll in USD, annual payroll in USD, an employee noise flag (G=low, H=medium, J=high Census noise infusion), the source Census file URL, and the timestamp when the data was last fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "state"
     ],
     "properties": {
      "naics": {
       "type": "string",
       "description": "Optional NAICS code, 2 to 6 digits, e.g. 54 (professional services) or 541511"
      },
      "state": {
       "type": "string",
       "description": "2-digit state FIPS code, e.g. 06 for California"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "California",
  "note": "employeesNoiseFlag: Census noise-infusion level (G low, H medium, J high); counts are for paid employees in the week of March 12.",
  "year": 2023,
  "naics": null,
  "state": "06",
  "source": "https://www2.census.gov/programs-surveys/cbp/datasets/2023/cbp23st.zip",
  "checkedAt": "2026-10-23T09:37:40.466Z",
  "employees": 16405436,
  "q1PayrollUsd": 359843348000,
  "establishments": 1029689,
  "annualPayrollUsd": 1429217482000,
  "employeesNoiseFlag": "G"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-census-county-business-patterns-state-level-business-statistics-6c18595b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.companyrecords-api.workers.dev](https://www.zero.xyz/host/api.companyrecords-api.workers.dev/llms.txt)
