# US KYB & Compliance Scraper — SEC, LEI, FDA ($1/1k) (`desastreger/us-kyb-compliance-dossier`) Actor

One-call US KYB & vendor due-diligence scraper aggregating GLEIF LEI corporate hierarchy, SEC EDGAR filings/CIK/EIN, FDA openFDA recalls & CFPB complaints with deterministic risk scoring. Early-bird $1/1k (rises to $2.50/1k). +MCP.

- **URL**: https://apify.com/desastreger/us-kyb-compliance-dossier.md
- **Developed by:** [Ignacio De Saeger](https://apify.com/desastreger) (community)
- **Categories:** Automation, Agents, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 multi-registry kyb compliance dossiers

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 KYB & Company Compliance Scraper — GLEIF LEI, SEC EDGAR, FDA & CFPB API

Automate Know-Your-Business (KYB), vendor due diligence, corporate entity verification, and third-party risk management (TPRM) screening in one call across five official public compliance registries: **GLEIF Global LEI**, **SEC EDGAR EFTS**, **FDA openFDA Enforcement**, **CFPB Consumer Complaints**, and **USASpending Federal Contracts**. Each query resolves corporate identity and returns `resolvedLegalName`, 20-character `lei`, 10-digit `primaryCik`, legal `jurisdiction`, `headquartersLocation`, `isFederalContractor`, `registriesMatchedCount`, deterministic `kybVerificationScore` (`0–100`), `verificationStatus` (`VERIFIED_ENTITY`, `PARTIAL_MATCH`, `UNVERIFIED`), `scoreBreakdown`, and machine-readable `riskFlags` (`LAPSED_LEI`, `INACTIVE_ENTITY_STATUS`, `FDA_CLASS_I_RECALL_ACTIVE`, `CFPB_HIGH_COMPLAINT_VOLUME`, `NO_REGISTRY_MATCH`). Fault-isolated per-registry timeouts ensure slow government endpoints never break batch underwriting runs. Works via REST API or native Standby MCP Server in 128 MB RAM. No external API key or proxy required.

### Use cases

- **Fintech & Payments KYB Onboarding:** Verify merchant legal names, active GLEIF LEI status, SEC registration, and consumer complaint risk before approving accounts.
- **Vendor & Supply-Chain Due Diligence (TPRM):** Screen healthcare, pharma, and manufacturing suppliers against FDA openFDA Class I/II/III recall history and federal contractor records.
- **B2B Underwriting & Credit Risk Automation:** Feed deterministic `0–100` KYB scores and standardized `riskFlags` directly into underwriting rules engines.
- **No-Code Compliance Workflows (Clay, n8n, Make):** Enrich CRM company lists in batch with official CIKs, LEIs, headquarters addresses, and federal contract verification.
- **AI Compliance & Procurement Agents via MCP:** Equip Claude Desktop, Cursor, or Google Antigravity with live multi-registry KYB verification tools over `/mcp`.

***

### Launch Pricing (Pay-Per-Event)

> \[!IMPORTANT]
> **Early-Adopter Launch Rate (`$1.00 / 1,000 dossiers`):** Temporary promotional pricing for early Store adopters & integrations.
> **Upcoming Standard Rate (`$2.50 / 1,000 dossiers`):** Price will step up once initial launch benchmarks are met — and even the permanent standard rate remains **75%–95% lower** than comparable compliance & enrichment APIs (`$10–$80/1k`).

Transparent usage-based pricing with zero monthly subscription overhead:

| Event | Description | Early-Adopter Launch (FREE) | Upcoming Standard Rate |
| :--- | :--- | :--- | :--- |
| **`kyb-dossier`** *(primary)* | Multi-registry KYB compliance dossier across GLEIF LEI, SEC EDGAR, FDA openFDA Recalls, CFPB Complaints, and USASpending | **$0.001 / dossier ($1.00 / 1k)** | $0.0025 / dossier ($2.50 / 1k) |
| **`apify-actor-start`** | One-time container start fee per Actor run | **$0.00005 / run** | $0.00005 / run |

***

### 1-Click JSON Input Example

```json
{
  "companies": ["Pfizer", "Medtronic"],
  "includeGleifLei": true,
  "includeSecFilings": true,
  "includeFdaEnforcement": true,
  "includeCfpbComplaints": true,
  "includeFederalAwards": true
}
```

***

### Sample Output JSON

```json
{
  "queriedCompany": "Pfizer",
  "normalizedQuery": "Pfizer",
  "resolvedLegalName": "PFIZER INC.",
  "kybVerificationScore": 100,
  "verificationStatus": "VERIFIED_ENTITY",
  "riskFlags": [
    "FDA_RECALL_HISTORY"
  ],
  "lei": "765LHXWGK1KXCLTFYQ30",
  "primaryCik": "0000078003",
  "jurisdiction": "US-DE",
  "headquartersLocation": "66 HUDSON BOULEVARD EAST, NEW YORK, US-NY, 10001-2192, US",
  "isFederalContractor": true,
  "registriesMatchedCount": 3,
  "scoreBreakdown": {
    "baseline": 20,
    "primaryRegistryVerified": 40,
    "activeIssuedLei": 20,
    "operatingFootprintConfirmed": 20,
    "enforcementRiskDeduction": 0
  }
}
```

***

### API Quickstart (cURL, Node.js, Python)

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/desastreger~us-kyb-compliance-dossier/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"companies": ["Pfizer", "Medtronic"]}'
```

#### Node.js (`apify-client`)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('desastreger/us-kyb-compliance-dossier').call({
  companies: ['Pfizer', 'Medtronic'],
  includeGleifLei: true,
  includeSecFilings: true,
  includeFdaEnforcement: true,
  includeCfpbComplaints: true,
  includeFederalAwards: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("desastreger/us-kyb-compliance-dossier").call(
    run_input={"companies": ["Pfizer", "Medtronic"]}
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

***

### Model Context Protocol (MCP) Standby Server

Connect **Claude Desktop**, **Cursor**, or **Google Antigravity** directly to the live Streamable HTTP MCP endpoint:

```json
{
  "mcpServers": {
    "us-kyb-compliance-dossier": {
      "url": "https://desastreger--us-kyb-compliance-dossier.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

#### Available MCP Tools

- `screen_company_kyb`: Screen a single company across all 5 compliance registries and return its full KYB dossier.
- `batch_screen_companies`: Batch-screen up to 20 companies with automatic Pay-Per-Event budget cap enforcement.

***

### Data Provenance & Reliability

Uses official US Federal Government open data (`17 U.S.C. § 105`) from SEC EDGAR, FDA openFDA, CFPB, and USASpending.gov alongside GLEIF open LEI data (CC0), with strict per-upstream timeouts for resilient batch execution.

# Actor input Schema

## `companies` (type: `array`):

List of company legal or trade names to screen (e.g., \["Pfizer", "Medtronic"]). Defaults to \["Pfizer"] when neither companies nor companyName is provided.

## `companyName` (type: `string`):

Convenience field for screening a single company name (e.g., "Pfizer"). Can be used instead of or alongside Companies to Screen.

## `includeGleifLei` (type: `boolean`):

Cross-check GLEIF Global Legal Entity Identifier (LEI) API for LEI code, ACTIVE/INACTIVE entity status, ISSUED/LAPSED registration status, jurisdiction, and HQ address.

## `includeSecFilings` (type: `boolean`):

Cross-check SEC EDGAR EFTS index for matching CIKs, display names, states/locations, and recent form types (10-K, 10-Q, 8-K, Form D, etc.).

## `includeFdaEnforcement` (type: `boolean`):

Cross-check FDA openFDA Drug and Medical Device Enforcement registries for historical and ongoing Class I/II/III recalls.

## `includeCfpbComplaints` (type: `boolean`):

Cross-check Consumer Financial Protection Bureau (CFPB) complaint database for total complaint volume and recent issues.

## `includeFederalAwards` (type: `boolean`):

Cross-check USASpending.gov prime contract awards (A/B/C/D) to verify federal contractor status, contract USD volume, and awarding agencies.

## Actor input object example

```json
{
  "companies": [
    "Pfizer"
  ],
  "includeGleifLei": true,
  "includeSecFilings": true,
  "includeFdaEnforcement": true,
  "includeCfpbComplaints": true,
  "includeFederalAwards": true
}
```

# Actor output Schema

## `dossiers` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("desastreger/us-kyb-compliance-dossier").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("desastreger/us-kyb-compliance-dossier").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 '{}' |
apify call desastreger/us-kyb-compliance-dossier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,desastreger/us-kyb-compliance-dossier"
        }
    }
}
```

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/7EV7mCkmt19Ds2JBT/builds/JmMYX5M7gbQi0nzqW/openapi.json
