# California WARN Layoff Notices – EDD Closures & Layoffs Feed (`gazidev/warn-layoff-notices`) Actor

California WARN Act layoff, closure and relocation notices from the official EDD report: company, address, city, county, notice/effective dates, employees affected and NAICS industry. Filters, onlyNew mode for schedules. $1 per 1,000 notices.

- **URL**: https://apify.com/gazidev/warn-layoff-notices.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 warn notices

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## California WARN Layoff Notices – EDD Closures & Layoffs Feed

Get every **California WARN Act notice** (layoffs, plant closures and relocations) as clean JSON, CSV or Excel, straight from the **official California EDD WARN report**. Each notice has the company, street address, city, ZIP, county, notice / processed / effective dates, employees affected, permanent or temporary, and the NAICS industry sector. Filter by county, industry, size and type, and run it on a schedule with **onlyNew** to get only the notices EDD added since your last run.

**Price: $1 per 1,000 notices** ($0.001 per notice, plus a $0.00005 start fee). The default run (last 30 days, up to 100 notices) costs about $0.10 or less.

### What it does

- Downloads EDD's published WARN file (`warn_report1.xlsx`, updated by EDD every Tuesday and Thursday). One HTTP request per run, no browser, no proxy.
- Normalises the rows: ISO dates, `Layoff` / `Closure` / `Relocation` + `permanent: true/false/null`, employees as numbers, the address split into street / city / ZIP, NAICS code split from the sector label.
- Adds `daysUntilEffective` (negative = already happened) and a stable `noticeId`.
- Optional: EDD's separate call-center relocation sheet.
- **Never an empty answer by surprise:** if nothing falls inside your `daysBack` window (for example in early July, when EDD starts a new programme-year file), the Actor returns up to 10 of the latest notices that match your other filters instead, from the current file or from EDD's previous programme-year report. These rows carry `fallback: true` and the run summary says so. Turn it off with `fallbackToLatest: false`. It never applies with `onlyNew`.

### Use cases

- **Recruiters and staffing agencies:** know which employers in your county are releasing 50+ workers next month.
- **B2B sales (outplacement, PEO, benefits, commercial real estate, liquidators, movers):** closures are leads, often 60 days before they happen.
- **Journalists and researchers:** a weekly feed of layoffs by industry and county.
- **Investors and analysts:** track layoffs at public companies (`companyContains`).
- **Workforce boards and job-seeker services:** reach affected workers early.

### Input example

```json
{
  "states": ["CA"],
  "daysBack": 30,
  "dateField": "processedDate",
  "minEmployees": 50,
  "layoffTypes": ["Closure", "Layoff"],
  "counties": ["Los Angeles", "Orange"],
  "industries": ["Manufacturing", "51"],
  "onlyUpcoming": true,
  "onlyNew": false,
  "maxItems": 100
}
```

All fields are optional. `daysBack: 0` returns the whole file (the current programme year, ~600 notices by November).

### Output example

```json
{
  "state": "CA",
  "company": "Crunchbase, Inc.",
  "type": "Layoff",
  "permanent": true,
  "layoffClosure": "Layoff Permanent",
  "employeesAffected": 67,
  "noticeDate": "2026-11-18",
  "processedDate": "2026-11-18",
  "effectiveDate": "2027-01-17",
  "daysUntilEffective": 56,
  "county": "San Francisco County",
  "address": "564 Market Street, Suite 500  San Francisco CA 94104",
  "street": "564 Market Street, Suite 500",
  "city": "San Francisco",
  "postalCode": "94104",
  "naicsCode": "51",
  "industry": "Information",
  "callCenterRelocation": false,
  "reportPeriod": "07/01/26 - 11/18/2026",
  "source": "California EDD WARN report",
  "sourceUrl": "https://edd.ca.gov/siteassets/files/jobs_and_training/warn/warn_report1.xlsx",
  "noticeId": "c02fa94b791e368f",
  "fallback": false
}
```

The run summary (notices, employees affected, filtered out, already seen, file period) is saved as `OUTPUT` in the key-value store.

### Scheduled feed (onlyNew)

Turn on **Only new notices** and schedule the Actor (e.g. every Wednesday and Friday, after EDD's Tuesday/Thursday updates). Seen notice IDs are kept in a named key-value store in your account (`warn-layoff-notices-seen` by default; use one name per filter set). You pay only for notices not output before. An amended notice with a new date or headcount counts as new.

### Pricing

| Actor | Coverage | Price |
|---|---|---|
| **This Actor** | California (official EDD file) | **$0.001 / notice** + $0.00005 start |
| us-warn-notices (extensive_necklace_zmp) | 9 states | $0.005 / row |
| warn-layoff-notices (wakachobi) | 22 states | $0.005 / row |
| warn-layoffs-aggregator (jungle_synthesizer) | multi-state | $0.10 / start + $0.001 / row |

Rival prices as listed in the Apify Store on 22 Nov 2026. Filtered-out and already-seen notices are free.

### What this listing does that our other listings don't

Our other public-records feeds cover other events: [H-1B LCA sponsors](https://apify.com/gazidev/h1b-lca-sponsors) (who is hiring foreign workers), [SEC Form D funding tracker](https://apify.com/gazidev/sec-form-d-funding-tracker) (who just raised money), [UK Gazette insolvency alerts](https://apify.com/gazidev/uk-gazette-insolvency-alerts) (UK insolvencies) and [California contractor leads](https://apify.com/gazidev/california-contractor-leads). This one is the only one with **layoffs and closures**. To find contacts for the companies, pass the names to [Company Enrichment](https://apify.com/gazidev/company-enrichment).

### Limits (honest)

- **California only for now.** We checked other states: New York's notice pages stopped in March 2025 (newer notices are on a Tableau dashboard, which we don't scrape), Washington's data is a dashboard too, and Texas did not answer. More states will be added only where an official file exists.
- The EDD file holds the **current programme year** (from 1 July). Older years are PDFs on the EDD site; only the most recent one is read, and only for the fallback above (PDF rows have no industry field, so an industry filter matches none of them).
- Data is as published by EDD. No contact names, phone numbers or e-mails are in the source.
- A few addresses have no clear city break; then `city` is empty but `street` and `postalCode` are filled.
- If EDD changes the sheet layout the run fails with a clear message and charges nothing.

### Source and licence

California Employment Development Department, [WARN page](https://edd.ca.gov/en/jobs_and_training/Layoff_Services_WARN). ca.gov Conditions of Use treat state website content as public domain; every row carries its `sourceUrl`. edd.ca.gov robots.txt allows the file. The Actor sends an honest User-Agent (`gazidev-warn-layoff-notices/0.1`) and makes one request per run. This Actor is not affiliated with EDD.

### Use with AI agents / Apify MCP

Add the Actor to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com) (`gazidev/warn-layoff-notices`). Ask "Which Los Angeles manufacturers filed WARN closures this month?" and the agent calls it with `counties` and `industries`. Or call it from the Apify API, Make, Zapier or n8n.

### FAQ

**How fresh is it?** EDD updates the file every Tuesday and Thursday; each run downloads the current file.
**What is the processed date?** The date EDD processed the notice. Use it for a "new this week" feed; use `effectiveDate` for "layoffs happening soon".
**Why California only?** It is the largest WARN state and publishes a clean official file. We don't scrape dashboards.
**Can I get CSV/Excel?** Yes, export the dataset from the Output tab or the API.

# Actor input Schema

## `states` (type: `array`):

This version covers California (CA) only, from the official EDD WARN report. Other states are ignored with a warning.

## `daysBack` (type: `integer`):

Only notices whose date (see 'Date to filter on') is within this many days of today. 0 = the whole file. The EDD file holds the current programme year (from 1 July).

## `dateField` (type: `string`):

Which date 'Days back' and the sort order use. 'Processed date' is when EDD received/processed the notice (best for a daily feed).

## `minEmployees` (type: `integer`):

Skip notices with fewer affected employees. 0 = no minimum.

## `layoffTypes` (type: `array`):

Leave empty for all types.

## `permanence` (type: `string`):

Filter on the 'Permanent / Temporary' part of the EDD notice type. Some notices say 'Not known at this time'.

## `counties` (type: `array`):

Optional California counties, e.g. 'Los Angeles', 'Santa Clara' ('County' is optional). Leave empty for the whole state.

## `industries` (type: `array`):

Optional. Matches the NAICS sector code or label EDD gives, e.g. '31-33', 'Manufacturing', 'Health', 'Information'.

## `companyContains` (type: `array`):

Optional keywords; a notice is kept when its company name contains any of them (case-insensitive).

## `onlyUpcoming` (type: `boolean`):

Keep only notices whose effective date is today or later.

## `fallbackToLatest` (type: `boolean`):

When 'Days back' finds no notice (e.g. in early July, when EDD starts a new programme-year file), output up to 10 of the latest notices matching your other filters instead, from the current file or from EDD's previous programme-year report (PDF; no industry field). Rows get fallback: true. Off = return nothing. Never used with onlyNew.

## `includeCallCenterRelocations` (type: `boolean`):

Also read EDD's separate call-center relocation sheet (covers 2023 onwards, usually a handful of rows).

## `onlyNew` (type: `boolean`):

Remember notices already output in a named key-value store and output (and charge) only notices not seen in earlier runs.

## `stateStoreName` (type: `string`):

Name of the key-value store in your account that remembers seen notices. Use a different name per schedule/filter set.

## `maxItems` (type: `integer`):

Cap on notices output (newest first). 0 = no cap.

## Actor input object example

```json
{
  "states": [
    "CA"
  ],
  "daysBack": 30,
  "dateField": "processedDate",
  "minEmployees": 0,
  "permanence": "any",
  "onlyUpcoming": false,
  "fallbackToLatest": true,
  "includeCallCenterRelocations": false,
  "onlyNew": false,
  "stateStoreName": "warn-layoff-notices-seen",
  "maxItems": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `details` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `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 = {
    "states": [
        "CA"
    ],
    "daysBack": 30,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/warn-layoff-notices").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 = {
    "states": ["CA"],
    "daysBack": 30,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("gazidev/warn-layoff-notices").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 '{
  "states": [
    "CA"
  ],
  "daysBack": 30,
  "maxItems": 100
}' |
apify call gazidev/warn-layoff-notices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/warn-layoff-notices"
        }
    }
}
```

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/tPBFYa0nZk696LwbU/builds/p8p1EzFCzt4CDgbYe/openapi.json
