# US Form 5500: 401(k) & Benefits Plan Leads (`afkdigital/newapi29-form-5500-benefits-plan-leads`) Actor

Historical DOL Form 5500 and 5500-SF corporate benefit plans, verified Schedule H/I assets, participant counts and business contacts. JSON/CSV; no API key needed.

- **URL**: https://apify.com/afkdigital/newapi29-form-5500-benefits-plan-leads.md
- **Developed by:** [AFK Digital](https://apify.com/afkdigital) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.00 / 1,000 unique plan filing records

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

## US Form 5500: 401(k) & Benefits Plan Leads

Find historical corporate retirement and welfare benefit plan filings in official US Department of Labor EBSA structured datasets. No DOL API key or buyer credentials required.

### Price

$0.008 per unique sponsor EIN + plan number + form-year record delivered: $8 per 1,000 records. Pay per event, no startup fee. Platform execution costs are included in this price; post-run storage access may incur Apify's standard storage charges. Set maxCostUsd and Apify's run spending limit to control result charges. Zero result budget returns no records. The same sponsor's separate plans remain separate records.

### Example input

```json
{"filingYears":[2024],"formType":"ALL","state":"TX","planType":"401K","minActiveParticipants":50,"minAssetsUsd":1000000,"maxResults":100,"maxCostUsd":0.8}
```

Supported form years: 2024 and 2025, with mappings checked against the corresponding DOL data dictionaries. Form type ALL covers both 5500 and 5500-SF. Plan types: ALL, 401K (benefit code 2J), DEFINED_CONTRIBUTION (2-series codes), DEFINED_BENEFIT (1-series codes), WELFARE (reported welfare codes). State means sponsor mailing state.

### What a year means

DOL's post-2008 folders represent **form year**, the version printed on the form. For compatibility, filing_year is this form year, also explicitly returned as form_year. It is NOT the year the filing was received. Use received_date for receipt, and plan_year_begin / plan_year_end for the actual financial period. plan_year is the beginning year of that period. Active participants and assets are reported historical plan figures, never current employer headcount or current wealth. Source updates can include late or amended filings.

### Financial accuracy

- Form 5500: join financial schedules by ACK_ID, sponsor EIN, plan number AND matching beginning/end dates. Schedule H total assets: TOT_ASSETS_EOY_AMT, line 1f(b). Schedule I: SMALL_TOT_ASSETS_EOY_AMT, line 1a(b).
- Form 5500-SF: SF_TOT_ASSETS_EOY_AMT, line 7a(b), on that same filing.
- Figures are total (gross) plan assets at year end in USD; liabilities are not subtracted. Missing, invalid, unmatched or ambiguous schedules produce null and asset_status; they never become zero. Conflicting H/I schedules are not guessed.
- Participants: Form 5500 TOT_ACTIVE_PARTCP_CNT (6a(2)); SF SF_TOT_ACT_PARTCP_EOY_CNT (5b(2)). Both refer to year end. Missing participant values remain null.
- Positive thresholds exclude unknown values. A zero threshold permits unknown values.

### Deduplication and completeness

Uses official Latest datasets, FILING_RECEIVED rows. For each EIN + plan number + form year, selects the newest received_date and uses ACK_ID as a deterministic tie breaker. Deduplicates across 5500 and SF; newer nonmatching filings suppress older matching versions. Different sponsor plans and different form years remain distinct. Within one form-version folder, multiple plan periods for the same EIN/plan are represented by the latest received filing, as one billable record.
Every selected form source is scanned completely before delivering records. A bounded or failed scan fails explicitly; no partial scan is labelled a complete search. maxResults caps returned records, not source completeness.

### Output and provenance

Dataset supports native JSON, CSV and Excel exports. RESULTS and RESULTS-CSV are also saved in the default key-value store. Output includes plan_number, sponsor_dfe_name, ein, sponsor_address, business_phone, plan_name, total_active_participants, total_plan_assets_usd, admin_name, filing_year, plan_year, source_file, source_url and observed_at. Additional form, date, financial-field and asset-status fields make the mapping auditable. RUN-REPORT contains source URLs, ETag, Last-Modified, SHA-256, scan counts, elapsed time and completion status.

### Bounded processing and restart

Official ZIP responses stream to disk; CSV rows stream through a disk-backed SQLite join/dedup index. No full dataset is held in memory. Downloads have three bounded attempts and HTTP Range/If-Range resume for an interrupted response when the same source version supports it. Source version changes invalidate partial files.
Default limits: 600 MB new downloaded bytes, 240 seconds processing, 300 seconds cloud timeout. Narrow form coverage if a full-source scan exceeds your configured limit. After a cloud restart/resurrection, sources are replayed as needed; existing dataset keys are reconciled and not emitted or billed again. Partial downloaded bytes survive only while the runtime disk survives. CHECKPOINT and the dataset preserve emitted record identity. A failed source does not generate guessed results.
No proxy, private account, attachment download or personal enrichment is used. Only allowlisted public filing business fields are returned. Signatures, signer names, SSNs, participant details and nonpublic attachments are excluded. Business contact fields may be missing or historical; no email addresses are inferred.

### Official sources

[EBSA Form 5500 Datasets](https://www.dol.gov/agencies/ebsa/about-ebsa/our-activities/public-disclosure/foia/form-5500-datasets)
[DOL Datasets Guide](https://www.dol.gov/sites/dolgov/files/ebsa/pdf_files/form-5500-datasets-guide.pdf)
Use the annual data dictionary links on the official dataset page. DOL's raw, self-reported filing data may contain filer errors and is not independently endorsed by this Actor. The Actor is not affiliated with DOL.

# Actor input Schema

## `filingYears` (type: `array`):

Verified DOL form years 2024 and 2025. This is the printed form version, not receipt year. Plan dates are returned separately.

## `state` (type: `string`):

Optional two-letter US state or territory code, for example TX. Empty means all.

## `formType` (type: `string`):

5500 uses Schedule H/I; 5500-SF uses its own line 7a(b).

## `planType` (type: `string`):

401K requires reported benefit code 2J. Other types use reported pension/welfare codes.

## `minActiveParticipants` (type: `integer`):

Reported end-of-plan-year active count. Unknown counts fail a positive threshold.

## `minAssetsUsd` (type: `integer`):

Gross assets at plan year end, not net assets or current assets. Missing values stay null and fail a positive threshold.

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

Maximum unique records.

## `maxCostUsd` (type: `number`):

$0.008 per unique plan/form-year record. Actor returns at most floor(budget/0.008). Platform run spending limit is also honored. No startup fee.

## `maxDownloadMB` (type: `integer`):

Total new response bytes. Exceeding the limit fails explicitly rather than claiming an incomplete search is complete.

## `maxRuntimeSecs` (type: `integer`):

Processing deadline (seconds).

## Actor input object example

```json
{
  "filingYears": [
    2024
  ],
  "formType": "ALL",
  "planType": "401K",
  "minActiveParticipants": 0,
  "minAssetsUsd": 0,
  "maxResults": 10,
  "maxCostUsd": 0.08,
  "maxDownloadMB": 600,
  "maxRuntimeSecs": 240
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `csv` (type: `string`):

No description

## `report` (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 = {
    "filingYears": [
        2024
    ],
    "planType": "401K",
    "maxResults": 10,
    "maxCostUsd": 0.08
};

// Run the Actor and wait for it to finish
const run = await client.actor("afkdigital/newapi29-form-5500-benefits-plan-leads").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 = {
    "filingYears": [2024],
    "planType": "401K",
    "maxResults": 10,
    "maxCostUsd": 0.08,
}

# Run the Actor and wait for it to finish
run = client.actor("afkdigital/newapi29-form-5500-benefits-plan-leads").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 '{
  "filingYears": [
    2024
  ],
  "planType": "401K",
  "maxResults": 10,
  "maxCostUsd": 0.08
}' |
apify call afkdigital/newapi29-form-5500-benefits-plan-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afkdigital/newapi29-form-5500-benefits-plan-leads"
        }
    }
}
```

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/SLCAo3nBYGoiUOzOI/builds/I0fKtE54fpzpyeseD/openapi.json
