# US Healthcare Exclusion & Sanctions Leads Scraper (`kailouis_labs/us-healthcare-exclusion-leads-scraper`) Actor

Official HHS OIG LEIE exclusion list: excluded doctors, nurses, home health agencies and medical suppliers with NPI, address, exclusion authority, dates and NPI Registry enrichment. Compliance leads for staffing, credentialing and M\&A teams.

- **URL**: https://apify.com/kailouis_labs/us-healthcare-exclusion-leads-scraper.md
- **Developed by:** [Kailouis Labs](https://apify.com/kailouis_labs) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 us healthcare exclusion leads

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 Healthcare Exclusion & Sanctions Leads Scraper — OIG LEIE + NPI Registry

Extract the official **U.S. HHS OIG List of Excluded Individuals/Entities (LEIE)** into a clean, CRM-ready lead list: excluded doctors, nurses, home health agencies, hospice, DME suppliers and pharmacies, with exclusion authority, exclusion date, reinstatement/waiver data and live **NPI Registry** enrichment. No browser, no proxy, no API key — the actor streams the OGL/public-domain federal CSV straight from `oig.hhs.gov` and filters it in memory.

**Who buys this:** healthcare staffing and locum agencies, credentialing and provider-enrollment vendors, compliance consultants, revenue-cycle and RCM firms, home-health and hospice operators, DME suppliers, healthcare M\&A/diligence teams, and background-screening vendors.

***

### Why this dataset converts

An excluded provider cannot bill Medicare, Medicaid or any federal healthcare program — billing one is a **per-claim civil monetary penalty**. Every staffing placement, contract and acquisition needs this check. Instead of a 84,000-row CSV dump, this actor returns only the rows that match your market, with a written `buyerAngle` on every lead so a sales team can act on it immediately.

***

### What you get (29 fields per lead)

| Field | Example |
| --- | --- |
| `leadId` | `LEIE-1128b7-FL-19970620-143_MEDICAL_EQUIPMENT_CO` |
| `displayName` | `143 MEDICAL EQUIPMENT CO` |
| `entityType` | `Business` / `Individual` |
| `businessName`, `fullName` | as filed with OIG |
| `npi`, `upin` | federal provider identifiers |
| `generalCategory`, `specialty` | `DME COMPANY`, `DME - OXYGEN` |
| `address`, `city`, `state`, `zip` | practice address from LEIE |
| `exclusionTypeCode`, `exclusionType` | `1128b7`, `Fraud, kickbacks or other prohibited activities` |
| `exclusionDate`, `reinstatementDate`, `waiverDate`, `waiverState` | ISO dates |
| `currentlyExcluded`, `yearsExcluded` | `true`, `29.4` |
| `complianceRiskTier` | `High - fraud, abuse or controlled substance authority` |
| `buyerAngle` | `Supplier / vendor risk: screen before contracting or renewing a vendor agreement.` |
| `npiEnrichment` | taxonomy, credential, practice address & phone from the NPI Registry |
| `sourceName`, `sourceUrl`, `sourceFileBytes`, `scrapedAt` | full provenance |

Run summary is written to the run's key-value store (`SUMMARY`), and the dataset has a ready-to-read overview table.

***

### Input

| Input | Type | Default | What it does |
| --- | --- | --- | --- |
| `states` | array | `["CA","TX","FL","NY"]` | Two-letter state filter. Empty = all states. |
| `exclusionTypes` | array | `[]` | Filter by exclusion authority (`1128a1` … `1128b15`). Empty = all. |
| `onlyBusinesses` | boolean | `false` | Keep only organisations, skip individual practitioners. |
| `minExclusionDate` | string | `""` | `YYYY-MM-DD` lower bound. Recent exclusions = freshest trigger. |
| `enrichWithNpi` | boolean | `true` | Add NPI Registry taxonomy, credential, practice address and phone. |
| `maxItems` | integer | `100` | Stop after N leads. `0` = no limit (full filtered list). |

```json
{
  "states": ["CA", "TX", "FL", "NY"],
  "exclusionTypes": ["1128a2", "1128a3"],
  "onlyBusinesses": true,
  "enrichWithNpi": true,
  "maxItems": 500
}
```

***

### Common jobs

- **Staffing and locum agencies** — screen candidates before placement; Florida and Texas carry the largest excluded populations.
- **Credentialing and enrollment vendors** — monthly exclusion sweep for every provider roster you manage.
- **Home health, hospice and DME operators** — vendor-risk screening plus employee re-verification (mandatory monthly under 42 CFR 1001.1901).
- **M\&A and diligence** — check every target's provider numbers and owners against active exclusions.
- **Compliance consultants** — sell a recurring "exclusion monitoring" feed to clients.

Filter `exclusionTypes: ["1128a2"]` for patient-abuse exclusions (nursing homes, home health), `["1128a3"]` for felony healthcare fraud (individuals and owners), and `onlyBusinesses: true` for facility and vendor lists.

***

### Pricing model for resale

Charge per lead: 25 leads = a $150 one-off screening list, a full state at 1,000+ leads = a $250–$450 dataset, and an automated weekly feed = $500–$800/month. The output is already CRM-shaped, so it drops into HubSpot, Pipedrive, Salesforce or a Google Sheet without cleanup.

***

### Notes on the source

- Source: HHS OIG LEIE, `https://oig.hhs.gov/exclusions/downloadables/UPDATED.csv` (public domain, refreshed monthly by OIG).
- Enrichment: CMS NPI Registry API (`https://npiregistry.cms.hhs.gov/api/`), free, no key.
- `currentlyExcluded` is computed from the exclusion date and any reinstatement date; the actor always keeps active exclusions by default.
- Only public record data is returned. Do not use this dataset to make employment, credit or housing decisions that law restricts — it is built for healthcare compliance screening, which is exactly what the source list is for.

***

### Local development

```bash
npm install
node test/run-local.mjs '{"states":["CA"],"maxItems":25}' my-test
```

The runner mimics an Apify run (`npm start`), samples the child's `VmHWM` for Peak RSS and prints a field-level summary. Local results: baseline 25 leads in ~4.6 s at 115 MB peak; 200 business-only leads in ~26 s at 115 MB peak; default input in ~6 s.

Built and maintained by **Kailouis Labs**. Issues or a custom filter request: open an issue on the actor page.

# Actor input Schema

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

Two-letter US state codes to keep (e.g. CA, TX, FL). Leave empty to keep every state.

## `exclusionTypes` (type: `array`):

Keep only these exclusion authorities. 1128a1 = program-related conviction, 1128a2 = patient abuse/neglect, 1128a3 = felony healthcare fraud, 1128a4 = licence revocation, 1128b4 = default on health education loan, 1128b8 = entity controlled by an excluded person.

## `onlyBusinesses` (type: `boolean`):

Keep only rows that name a business or facility (BUSNAME set) instead of an individual person. Useful for vendor and facility screening lists.

## `minExclusionDate` (type: `string`):

ISO date (YYYY-MM-DD). Leave empty for no lower bound. Recent exclusions are the freshest sales trigger.

## `enrichWithNpi` (type: `boolean`):

Look up every row that has an NPI in the free CMS NPI Registry API. Adds specialty, credential and practice phone at roughly one extra request per lead.

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

Stop after this many leads. 0 = no limit (full filtered list).

## Actor input object example

```json
{
  "states": [
    "CA",
    "TX",
    "FL",
    "NY"
  ],
  "exclusionTypes": [],
  "onlyBusinesses": false,
  "minExclusionDate": "",
  "enrichWithNpi": true,
  "maxItems": 100
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

No description

## `datasetItemsCsv` (type: `string`):

No description

## `runSummary` (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",
        "TX",
        "FL",
        "NY"
    ],
    "exclusionTypes": [],
    "minExclusionDate": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("kailouis_labs/us-healthcare-exclusion-leads-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 = {
    "states": [
        "CA",
        "TX",
        "FL",
        "NY",
    ],
    "exclusionTypes": [],
    "minExclusionDate": "",
}

# Run the Actor and wait for it to finish
run = client.actor("kailouis_labs/us-healthcare-exclusion-leads-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 '{
  "states": [
    "CA",
    "TX",
    "FL",
    "NY"
  ],
  "exclusionTypes": [],
  "minExclusionDate": ""
}' |
apify call kailouis_labs/us-healthcare-exclusion-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kailouis_labs/us-healthcare-exclusion-leads-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/rwNsABIfI5MalxabF/builds/znGum2IQjs855HuYO/openapi.json
