# Global Sanctions's Economic Group & PEP Screening by CNPJ/taxID (`brasildados/global-sanctions`) Actor

Screen a Brazilian company's entire economic group (by CNPJ / Tax ID) for sanctions and PEP exposure. Every related company and person with national + international hits (OFAC, EU, UN, UK, INTERPOL) and a group risk summary. Up to 1,000 CNPJs. Standby API POST /check.

- **URL**: https://apify.com/brasildados/global-sanctions.md
- **Developed by:** [BrasilDados.org](https://apify.com/brasildados) (community)
- **Categories:** Automation, Real estate, Other
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $430.00 / 1,000 economic group screeneds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

#### 🌐 Economic Group Sanctions & PEP Screening

**Economic Group Sanctions** screens the **entire economic group** of a Brazilian company (CNPJ) for **sanctions** and **PEP exposure** in a single call. Send up to **1,000 CNPJs** per run; each one expands to every **related company and person** in its economic group, with national and international sanction hits and politically-exposed-person flags, plus a **group-level risk summary**. Export to **JSON, CSV, Excel or XML**, or call the **REST API** in real time.

> **One CNPJ in = the whole group's risk profile out.** Raw normalized facts for your business rules (approve / review / reject). Low-confidence name matches are filtered out so you don't drown in false positives. Invalid check digits are skipped locally and are **not charged**.

##### What does it return?

| | |
|---|---|
| 📊 **Group summary** | Sanctioned/PEP company and people counts, total sanction records, PEP percentage, first/last sanction date, `hasSanctions`/`hasPEP` flags |
| 🏢 **Companies** | Every CNPJ in the group (public), each with its PEP block and sanction records |
| 👤 **People** | Every related person, with **masked tax IDs** and **personal names omitted** (data protection), each with PEP block and sanction records |
| ⚖️ **Sanction detail** | Source, type, standardized category, process number, institution, phase, dates, match confidence (0-100), active-on-source flag |
| 🏛️ **PEP block** | Current flag plus occurrence counters (1/3/5/+5 years) and first/last occurrence dates |

##### What can this Actor do?

- 🌐 **Whole-group screening:** sanctions + PEP for every company and person tied to the CNPJ
- 🌍 **National + international sources:** Brazilian regulators (CVM, CNEP, CEIS and others) and OFAC, EU, UN, UK, INTERPOL and more
- 🎯 **False-positive control:** low-confidence international name matches are filtered out automatically
- 🔒 **Privacy by design:** people's tax IDs are masked and personal names omitted
- 📋 **Bulk:** up to 1,000 CNPJs per batch run
- 📤 **Multiple exports:** JSON, CSV, Excel, XML from the Apify Dataset
- ⚡ **Standby REST API:** `POST /check` for real-time integration

Built for **AML**, **KYC/KYB**, **banking and fintech onboarding**, **supplier and counterparty due diligence**, **M&A screening** and **continuous monitoring**.

---

### Why screen the economic group, not just the company?

Risk hides in the group. A clean company can sit inside a group with sanctioned affiliates or politically exposed partners. Screening only the queried CNPJ misses that exposure. This Actor surfaces sanctions and PEP across **every company and person** in the economic group, so your AML and due-diligence decisions see the full picture.

- **AML compliance:** structured group-wide inputs for anti-money-laundering workflows
- **Onboarding:** sanctions and PEP exposure across the whole group before account opening
- **Supplier & counterparty vetting:** regulatory exposure beyond the contracting entity
- **M&A and investment:** timestamped, group-level screening records
- **Continuous monitoring:** detect new sanctions or PEP changes anywhere in the group

Consolidated from credentialed official sources. No external API key required from the end user.

---

### How do I screen in bulk?

1. Open the actor on [Apify Console](https://console.apify.com/?fpr=t5lwzq) and go to the **Input** tab.
2. Paste CNPJs in the **`cnpjs` string list** (any format).
3. Click **Start** and wait for the run to finish.
4. Open **Dataset** > **Export** > choose **XLSX**, CSV or JSON.

**Example input:**

```json
{
  "cnpjs": [
    "02916265000160",
    "33.000.167/0001-01"
  ]
}
````

***

#### ⬇️ Input

| Field | Required | Description |
|---|---|---|
| `cnpjs` | ✅ Yes | CNPJs (string list). Max **1,000** per run. Any format. Each expands to its full economic group. Invalid check digits are skipped (not billed). |

***

#### ⬆️ Output

Download from the **Dataset** tab. One record per valid CNPJ.

> **Abbreviated sample.** Full output includes the complete `companies[]` and `people[]` arrays, each with full `pep` and `sanctions.list[]`. See the **Dataset schema** tab for every field.

```json
{
  "cnpj": "02916265000160",
  "cnpjFormatted": "02.916.265/0001-60",
  "queriedAt": "2026-06-04T03:00:00.000Z",
  "found": true,
  "groupSummary": {
    "totalCompanies": 283,
    "totalPeople": 5,
    "companiesSanctioned": 1,
    "peopleSanctioned": 2,
    "currentlySanctioned": 0,
    "historicallySanctioned": 3,
    "totalSanctions": 6,
    "currentlyPEP": 1,
    "historicallyPEP": 1,
    "pepPercentage": 0.35,
    "firstSanctionDate": "2012-10-25T03:00:00Z",
    "lastSanctionDate": "2024-06-05T03:00:00Z",
    "hasSanctions": true,
    "hasPEP": true
  },
  "companies": [
    {
      "document": "56108743000134",
      "documentFormatted": "56.108.743/0001-34",
      "documentType": "CNPJ",
      "pep": { "isCurrentPEP": false },
      "sanctions": {
        "currentlyActive": false,
        "previouslySanctioned": true,
        "historicalTotal": 1,
        "list": [
          {
            "type": "Multa",
            "source": "cnep",
            "processNumber": "00190105434201842",
            "matchConfidence": 100,
            "startDate": "2024-06-05T03:00:00Z",
            "activeOnSource": false
          }
        ]
      }
    }
  ],
  "people": [
    {
      "documentMasked": "***811954**",
      "documentType": "CPF",
      "pep": { "isCurrentPEP": false },
      "sanctions": {
        "previouslySanctioned": true,
        "historicalTotal": 1,
        "list": [
          {
            "type": "Judged Sanctions",
            "normalizedType": "CORRUPTION",
            "source": "Comissao de Valores Mobiliarios",
            "processNumber": "19957.007245/2021-20 (RJ2012/12931)",
            "currentPhase": "ENCERRADO/EXTINTO",
            "matchConfidence": 100
          }
        ]
      }
    }
  ]
}
```

***

#### 🔌 API integration

**Batch run:**

```bash
curl -X POST "https://api.apify.com/v2/acts/brasildados~global-sanctions/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"cnpjs":["02916265000160","33.000.167/0001-01"]}'
```

**Standby (`POST /check`):**

```bash
curl -X POST "https://brasildados--global-sanctions.apify.actor/check" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  --compressed \
  -d '{"cnpjs":["02916265000160"]}'
```

Interactive docs (Swagger UI) in the **Endpoints** tab.

***

### Related Actors

| Actor | When to use |
|---|---|
| [CNPJ KYC & PEP Checker](https://apify.com/brasildados/cnpj-kyc-compliance-pep-checker?fpr=t5lwzq) | KYC, sanctions and PEP for a single CNPJ (not the whole group) |
| [Sanctions Check](https://apify.com/brasildados/sanctions-check?fpr=t5lwzq) | Cheap Brazilian CEIS/CNEP/FGTS triage at $0.002/doc |
| [CNPJ Enrichment](https://apify.com/brasildados/brazil-enrich-data-lead-by-cnpj?fpr=t5lwzq) | Full company profile and ownership (QSA) |
| [CNPJ Lawsuits Check](https://apify.com/brasildados/cnpj-lawsuits-check?fpr=t5lwzq) | Civil, labor and criminal litigation exposure |

***

### FAQ

#### What counts as the "economic group"?

Every company and person the source links to the queried CNPJ through ownership and control ties. The Actor returns each of them with their own sanctions and PEP detail, plus a group-level summary.

#### How are false positives handled?

International sanction lists (OFAC, INTERPOL, EU, UN, UK and others) match by name and produce many low-confidence false positives. The Actor drops hits below a confidence threshold and keeps tax-id-matched national sanctions (which arrive at full confidence). The group summary is computed only from the hits that pass, so the totals match the detail.

#### What sanction sources are covered?

National Brazilian regulators (e.g. CVM, CNEP, CEIS) and international lists (OFAC, EU, UN, UK, INTERPOL and others).

#### How is personal data handled?

People are returned with **masked tax IDs**, and personal names and free-text descriptions that identify individuals are **omitted** for data protection. Company names (public) are kept.

#### What CNPJ formats are accepted?

Any format. Check digits are validated locally. Max 1,000 CNPJs per run.

#### Batch vs Standby?

Both accept up to 1,000 CNPJs. Standby returns JSON directly via `POST /check`.

#### Am I charged for invalid or not-found CNPJs?

Invalid check digits are skipped and never billed. Charging applies only to CNPJs found in the source.

#### Is it legal to use this data?

Use compliance data only with a legitimate business purpose and in line with LGPD/GDPR. Personal data in PEP and group-member fields requires a proper legal basis.

# Actor input Schema

## `cnpjs` (type: `array`):

List of CNPJs to screen (any format). Each one expands to its full economic group. Max 1,000 per run. Invalid check digits are skipped.

## Actor input object example

```json
{
  "cnpjs": [
    "02916265000160",
    "33.000.167/0001-01"
  ]
}
```

# Actor output Schema

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

Dataset with one record per CNPJ. Each record contains a group summary plus per-member sanctions and PEP exposure for every company and person in the economic group (sources include OFAC, EU, UN, UK, INTERPOL and Brazilian regulators). Low-confidence name matches are filtered out.

# 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 = {
    "cnpjs": [
        "02916265000160",
        "33.000.167/0001-01"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("brasildados/global-sanctions").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 = { "cnpjs": [
        "02916265000160",
        "33.000.167/0001-01",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("brasildados/global-sanctions").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "cnpjs": [
    "02916265000160",
    "33.000.167/0001-01"
  ]
}' |
apify call brasildados/global-sanctions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=brasildados/global-sanctions",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Global Sanctions's Economic Group & PEP Screening by CNPJ/taxID",
        "description": "Screen a Brazilian company's entire economic group (by CNPJ / Tax ID) for sanctions and PEP exposure. Every related company and person with national + international hits (OFAC, EU, UN, UK, INTERPOL) and a group risk summary. Up to 1,000 CNPJs. Standby API POST /check.",
        "version": "1.0",
        "x-build-id": "VhpmIplVCZFSEte7g"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/brasildados~global-sanctions/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-brasildados-global-sanctions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/brasildados~global-sanctions/runs": {
            "post": {
                "operationId": "runs-sync-brasildados-global-sanctions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/brasildados~global-sanctions/run-sync": {
            "post": {
                "operationId": "run-sync-brasildados-global-sanctions",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "cnpjs"
                ],
                "properties": {
                    "cnpjs": {
                        "title": "CNPJs",
                        "minItems": 1,
                        "maxItems": 1000,
                        "type": "array",
                        "description": "List of CNPJs to screen (any format). Each one expands to its full economic group. Max 1,000 per run. Invalid check digits are skipped.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
