# Scrape Germany & France LEI Ownership Trees

**Use case:** 

Extracts active German (DE) and French (FR) legal entities from the official GLEIF LEI REST API v1 with Handelsregister / SIREN national registration numbers, BIC codes, and direct/ultimate parent corporate ownership chains.

## Input

```json
{
  "query": "",
  "countries": [
    "DE",
    "FR"
  ],
  "registrationStatus": "ISSUED",
  "enrichParentOwnership": true,
  "maxResults": 25
}
```

## Output

```json
{
  "legalName": {
    "label": "Legal Name",
    "format": "string"
  },
  "lei": {
    "label": "LEI Code",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "entityStatus": {
    "label": "Entity Status",
    "format": "string"
  },
  "registrationStatus": {
    "label": "LEI Status",
    "format": "string"
  },
  "registrationNumber": {
    "label": "Company Reg Number",
    "format": "string"
  },
  "directParentName": {
    "label": "Direct Parent",
    "format": "string"
  },
  "ultimateParentName": {
    "label": "Ultimate Parent",
    "format": "string"
  },
  "kybCompletenessScore": {
    "label": "KYB Score (0-100)",
    "format": "integer"
  },
  "gleifUrl": {
    "label": "GLEIF URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Global Company Registry, KYB Ownership & LEI Lookup (GLEIF) Actor is ready to run with the inputs already set for "Scrape Germany & France LEI Ownership Trees". [Sign up or log in](https://console.apify.com/create-task-from-example/h2zYE0OBN0Srj4bom) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape Germany & France LEI Ownership Trees" task

The Global Company Registry, KYB Ownership & LEI Lookup (GLEIF) Actor will start running based on the input automatically. You can also change all the input fields, like ISO Country Codes (e.g. US, GB, DE, FR), LEI Registration Status, and more, to match your specific use case.

### 3. Receive the "Scrape Germany & France LEI Ownership Trees" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as legal name, LEI Code, country, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scrape Germany & France LEI Ownership Trees" task via API](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md).

## FAQ

### Which European registries are covered in this DE & FR LEI task?

The Germany & France Corporate LEI task extracts issued legal entities registered in DE and FR alongside their national registrationAuthorityId and registrationNumber.

### Does the output show holding and parent companies?

Whenever consolidating parents are reported in GLEIF Level 2 data, directParentName and ultimateParentName are populated automatically.

### How can FinTech KYB and AML teams use this dataset?

Compliance teams and AI agents invoke this GLEIF task via Apify API, n8n, or MCP to verify counterparties and map corporate hierarchies.

### Can I retrieve lapsed or retired entities for audit history?

Change registrationStatus from ISSUED to LAPSED, RETIRED, or ALL in the duplicated task input.

## About this Actor

This example demonstrates how to use [Global Company Registry, KYB Ownership & LEI Lookup (GLEIF)](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/grimbles/global-corporate-lei-ownership-leads.md

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`).
