# BLS QCEW Employment, Establishments & Wages Scraper (`logiover/bls-qcew-employment-wages-scraper`) Actor

Export official BLS Quarterly Census of Employment and Wages data by area, industry, ownership and quarter. Millions of records for labor-market analytics, site selection, economic research, recruiting and commercial real estate.

- **URL**: https://apify.com/logiover/bls-qcew-employment-wages-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## BLS QCEW Employment, Establishments & Wages Scraper

Export official U.S. Bureau of Labor Statistics Quarterly Census of Employment and Wages records by geography, industry, ownership and quarter. QCEW covers more than 95% of U.S. jobs and publishes detailed establishment, employment and wage cells across a multi-million-record archive.

The Actor uses BLS's keyless Open Data CSV slices, automatically resolves the latest published quarter and writes records continuously without a browser or proxy.

### Use cases

- Labor-market, workforce and compensation analytics.
- Site selection, economic development and commercial real-estate research.
- Industry concentration and location-quotient models.
- Recruiting territory and talent-pool analysis.
- Regional growth, establishment and wage trend dashboards.

### Input

| Field | Description |
| --- | --- |
| `years` | Empty uses the latest available quarter; explicit years enable historical exports. |
| `quarters` | Quarters 1-4; empty with explicit years means all quarters. |
| `industryCodes` | Exact QCEW industry slice codes; `10` is total, all industries. |
| `areaFipsPrefixes` | BLS area-code prefix filters. |
| `ownershipCodes` | Total, private and government ownership codes. |
| `aggregationLevels` | Exact QCEW aggregation-level codes. |
| `minEmployment`, `minEstablishments` | Minimum labor-market size. |
| `minQuarterlyWages` | Minimum total quarterly wages. |
| `disclosedOnly` | Exclude suppressed cells. |
| `maxResults` | Up to 500,000 items per run. |

```json
{
  "years": ["2025", "2024"],
  "quarters": ["1", "2", "3", "4"],
  "industryCodes": ["10", "31-33", "54"],
  "areaFipsPrefixes": ["06"],
  "ownershipCodes": ["5"],
  "minEmployment": 100,
  "maxResults": 50000
}
```

### Output

Each item is a unique year–quarter–area–ownership–industry–aggregation cell. Output includes establishments, all three monthly employment levels, average employment, total and taxable wages, contributions, average weekly wage, location quotients and year-over-year changes.

```json
{
  "year": 2025,
  "quarter": 4,
  "areaFips": "01000",
  "ownershipCode": "0",
  "industryCode": "10",
  "establishments": 165321,
  "averageMonthlyEmployment": 2120000,
  "totalQuarterlyWages": 36100000000,
  "averageWeeklyWage": 1310
}
```

### Scale

One current `10` industry slice already contains roughly 19,000 records. Combining detailed industry codes, four quarters and multiple years opens a much larger pool. For exports above the 500,000-item run cap, segment by year, quarter, industry or area.

### API and integrations

Use Apify Console, REST API, JavaScript, Python or MCP. Export JSON, JSONL, CSV, Excel, XML and RSS and connect schedules, webhooks, Make, Zapier, Google Sheets, databases and BI platforms.

```bash
curl -X POST "https://api.apify.com/v2/acts/logiover~bls-qcew-employment-wages-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"industryCodes":["10"],"areaFipsPrefixes":["48"],"maxResults":10000}'
```

### FAQ

**Does it require a BLS API key?** No.

**What does empty input do?** It finds the latest published QCEW quarter and exports the total-all-industries slice.

**What is `areaFips`?** It is BLS's five-character QCEW area identifier, covering national, state, county, metropolitan and other statistical areas.

**Why are some measures null?** BLS suppresses cells to protect employer confidentiality. Use `disclosedOnly` to omit records with a disclosure code.

**Can I request a NAICS range?** Use BLS's exact industry slice code, including values such as `31-33`; the Actor converts the filename format automatically.

### Responsible use

This Actor is not affiliated with or endorsed by BLS. QCEW values are aggregate statistical cells, not individual employer records. Revisions and disclosure controls are preserved from the official source.

### Changelog

#### 2026-08-05

- Initial BLS QCEW employment and wage exporter.
- Added latest-period discovery, multi-slice processing, normalized metrics and commercial filters.
- Verified live source behavior and high-volume output.

# Actor input Schema

## `years` (type: `array`):

Four-digit QCEW years. Empty automatically selects the latest published quarter.

## `quarters` (type: `array`):

Quarter numbers 1-4. With explicit years, empty means all four quarters.

## `industryCodes` (type: `array`):

Exact QCEW/NAICS slice codes. 10 means total, all industries; hyphenated codes such as 31-33 are supported.

## `areaFipsPrefixes` (type: `array`):

Match BLS area identifiers by prefix, for example 06 for California or US for national records.

## `ownershipCodes` (type: `array`):

0 total, 1 federal, 2 state, 3 local, 5 private, 8 total government, 9 total UI covered.

## `aggregationLevels` (type: `array`):

Exact QCEW aggregation level codes, such as 50 statewide total or 70 county total.

## `minEmployment` (type: `number`):

Minimum average of the three monthly employment levels.

## `minEstablishments` (type: `number`):

Minimum quarterly establishment count.

## `minQuarterlyWages` (type: `number`):

Minimum reported total quarterly wages in USD.

## `disclosedOnly` (type: `boolean`):

Exclude records carrying a disclosure code.

## `maxResults` (type: `integer`):

Maximum unique QCEW records saved.

## Actor input object example

```json
{
  "years": [],
  "quarters": [],
  "industryCodes": [
    "10"
  ],
  "areaFipsPrefixes": [],
  "ownershipCodes": [],
  "aggregationLevels": [],
  "disclosedOnly": false,
  "maxResults": 200
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/bls-qcew-employment-wages-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "maxResults": 200 }

# Run the Actor and wait for it to finish
run = client.actor("logiover/bls-qcew-employment-wages-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxResults": 200
}' |
apify call logiover/bls-qcew-employment-wages-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,logiover/bls-qcew-employment-wages-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bjmfReTCDYVr08zw7/builds/udOUDgWSPeA02Bi5e/openapi.json
