# EU Enforcement & Compliance Search API (`hamzamihaidaniel/eu-enforcement-compliance-search-api`) Actor

Search official EU GDPR decisions, competition cases, and dangerous-product alerts through one normalized API.

- **URL**: https://apify.com/hamzamihaidaniel/eu-enforcement-compliance-search-api.md
- **Developed by:** [Hamza Mihai Daniel](https://apify.com/hamzamihaidaniel) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 enforcement results

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/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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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

## EU Enforcement & Compliance Search API

Search three official European enforcement sources through one Apify Actor:

- EDPB Register of final one-stop-shop GDPR decisions
- European Commission Competition Case Search
- European Commission Safety Gate dangerous-product alerts

The Actor accepts a company, product, legal topic, alert number, or case number and returns normalized dataset records with official source links.

### Why this Actor

Official EU enforcement data is split across unrelated portals with different fields, filters, and output formats. This Actor provides one input and one output contract that can feed due-diligence tools, market monitoring, compliance dashboards, research pipelines, and alerts.

It is intentionally different from sanctions-screening Actors and generic EUR-Lex scrapers. It focuses on enforcement actions and dangerous-product alerts.

### Input

```json
{
  "query": "Google",
  "sources": ["edpb", "competition", "safety_gate"],
  "competitionCaseTypes": ["AT", "M", "SA", "DMA", "FS"],
  "countries": [],
  "dateFrom": "2021-01-01",
  "dateTo": "2026-07-23",
  "lookbackYears": 5,
  "maxResults": 50
}
````

`dateFrom` and `dateTo` are optional. If `dateFrom` is omitted, the Actor searches the number of years specified by `lookbackYears`.

Country filters use ISO alpha-2 codes such as `DE`, `FR`, `IT`, and `RO`.

### Output

Each dataset item represents one official record:

```json
{
  "source": "competition",
  "recordType": "competition-case",
  "recordId": "AT.39740",
  "title": "Google Search (Shopping)",
  "summary": "Commission case summary...",
  "authority": "European Commission — Directorate-General for Competition",
  "country": null,
  "decisionDate": "2017-06-26T22:00:00.000Z",
  "publicationDate": null,
  "caseType": "Antitrust / cartel",
  "entities": ["Google"],
  "legalBasis": [],
  "topics": ["Antitrust / cartel"],
  "outcome": null,
  "riskLevel": null,
  "officialUrl": "https://competition-cases.ec.europa.eu/cases/AT.39740",
  "documentUrls": [],
  "imageUrls": [],
  "matchedQuery": "Google",
  "retrievedAt": "2026-07-23T12:00:00.000Z",
  "sourceData": {}
}
```

The `REPORT` key in the default key-value store contains per-source status, duration, result counts, and partial-failure information.

### Source-specific behavior

Competition Case Search uses the Commission's own full-text search service and returns one normalized record per case.

Safety Gate searches official weekly XML reports. It checks product, brand, model, barcode, alert number, risk, description, measures, and country fields.

The EDPB register exposes decision metadata rather than controller names for many records. EDPB matching covers the decision ID, legal references, supervisory authorities, topics, and outcome shown in the public register.

### API use

Run synchronously and read dataset items:

```bash
curl "https://api.apify.com/v2/acts/YOUR_USERNAME~eu-enforcement-compliance-search-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query":"Google","maxResults":25}'
```

### Reliability

- Requests use timeouts, retries, and exponential backoff.
- Sources run independently; one unavailable source does not discard results from the others.
- Results are deduplicated by source and official record ID.
- Every result links back to an official EU page.

### Responsible use

This Actor is an informational research tool. It is not legal advice, sanctions screening, or a substitute for checking the current official record. Do not use it as the sole basis for automated adverse decisions about individuals.

### Official sources

- EDPB: https://www.edpb.europa.eu/registers/register-of-final-one-stop-shop-decisions\_en
- Competition cases: https://competition-cases.ec.europa.eu/
- Safety Gate: https://ec.europa.eu/safety-gate-alerts/screen/search

# Actor input Schema

## `query` (type: `string`):

Company, product, brand, legal topic, alert number, or case number to search for.

## `sources` (type: `array`):

Official EU registers to search. Select one or more sources.

## `competitionCaseTypes` (type: `array`):

Limit Competition Case Search results by procedure type.

## `countries` (type: `array`):

Optional ISO alpha-2 country codes, such as DE, FR, IT, or RO. Leave empty to search all countries.

## `dateFrom` (type: `string`):

Optional inclusive start date in YYYY-MM-DD format. If omitted, the lookback period is used.

## `dateTo` (type: `string`):

Optional inclusive end date in YYYY-MM-DD format. Defaults to today.

## `lookbackYears` (type: `integer`):

Number of years to search when Date from is empty. Increase this for older cases, at the cost of a longer Safety Gate search.

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

Maximum normalized records saved to the dataset across all selected sources.

## Actor input object example

```json
{
  "query": "Google",
  "sources": [
    "edpb",
    "competition",
    "safety_gate"
  ],
  "competitionCaseTypes": [
    "AT",
    "M",
    "SA",
    "DMA",
    "FS"
  ],
  "countries": [],
  "lookbackYears": 5,
  "maxResults": 50
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "query": "Google"
};

// Run the Actor and wait for it to finish
const run = await client.actor("hamzamihaidaniel/eu-enforcement-compliance-search-api").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 = { "query": "Google" }

# Run the Actor and wait for it to finish
run = client.actor("hamzamihaidaniel/eu-enforcement-compliance-search-api").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 '{
  "query": "Google"
}' |
apify call hamzamihaidaniel/eu-enforcement-compliance-search-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hamzamihaidaniel/eu-enforcement-compliance-search-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "EU Enforcement & Compliance Search API",
        "description": "Search official EU GDPR decisions, competition cases, and dangerous-product alerts through one normalized API.",
        "version": "0.1",
        "x-build-id": "086OgVxP1rS6bBLXj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/hamzamihaidaniel~eu-enforcement-compliance-search-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-hamzamihaidaniel-eu-enforcement-compliance-search-api",
                "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/hamzamihaidaniel~eu-enforcement-compliance-search-api/runs": {
            "post": {
                "operationId": "runs-sync-hamzamihaidaniel-eu-enforcement-compliance-search-api",
                "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/hamzamihaidaniel~eu-enforcement-compliance-search-api/run-sync": {
            "post": {
                "operationId": "run-sync-hamzamihaidaniel-eu-enforcement-compliance-search-api",
                "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": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Search query",
                        "minLength": 1,
                        "maxLength": 250,
                        "type": "string",
                        "description": "Company, product, brand, legal topic, alert number, or case number to search for."
                    },
                    "sources": {
                        "title": "Official sources",
                        "minItems": 1,
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Official EU registers to search. Select one or more sources.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "edpb",
                                "competition",
                                "safety_gate"
                            ],
                            "enumTitles": [
                                "EDPB GDPR decisions",
                                "European Commission competition cases",
                                "EU Safety Gate product alerts"
                            ]
                        },
                        "default": [
                            "edpb",
                            "competition",
                            "safety_gate"
                        ]
                    },
                    "competitionCaseTypes": {
                        "title": "Competition case types",
                        "minItems": 1,
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Limit Competition Case Search results by procedure type.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "AT",
                                "M",
                                "SA",
                                "DMA",
                                "FS"
                            ],
                            "enumTitles": [
                                "Antitrust and cartels",
                                "Mergers",
                                "State aid",
                                "Digital Markets Act",
                                "Foreign Subsidies"
                            ]
                        },
                        "default": [
                            "AT",
                            "M",
                            "SA",
                            "DMA",
                            "FS"
                        ]
                    },
                    "countries": {
                        "title": "Countries",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Optional ISO alpha-2 country codes, such as DE, FR, IT, or RO. Leave empty to search all countries.",
                        "items": {
                            "type": "string",
                            "pattern": "^[A-Za-z]{2}$"
                        },
                        "default": []
                    },
                    "dateFrom": {
                        "title": "Date from",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Optional inclusive start date in YYYY-MM-DD format. If omitted, the lookback period is used."
                    },
                    "dateTo": {
                        "title": "Date to",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Optional inclusive end date in YYYY-MM-DD format. Defaults to today."
                    },
                    "lookbackYears": {
                        "title": "Default lookback",
                        "minimum": 1,
                        "maximum": 25,
                        "type": "integer",
                        "description": "Number of years to search when Date from is empty. Increase this for older cases, at the cost of a longer Safety Gate search.",
                        "default": 5
                    },
                    "maxResults": {
                        "title": "Maximum results",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Maximum normalized records saved to the dataset across all selected sources.",
                        "default": 50
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
