# Look up LEIs for a list of company names

**Use case:** 

Find the Legal Entity Identifier (LEI) for each company name using the public GLEIF API: Siemens, Spotify and Apple as examples. Exact name matches first, then the best similar match. Replace the names with your own list.

## Input

```json
{
  "leis": [],
  "names": [
    "Siemens Aktiengesellschaft",
    "Spotify AB",
    "Apple Inc."
  ],
  "bics": [],
  "isins": [],
  "nameMatching": "exact_then_similar",
  "maxCandidatesPerName": 1,
  "preferPrimaryRecord": true,
  "entityStatus": "ANY",
  "includeDirectParent": false,
  "includeUltimateParent": false,
  "includeDirectChildren": false,
  "includeUltimateChildren": false,
  "maxChildrenPerEntity": 100,
  "maxRequestsPerMinute": 50,
  "includeRawRecord": false
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "inputType": {
    "label": "Type",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "lei": {
    "label": "LEI",
    "format": "string"
  },
  "legalName": {
    "label": "Legal name",
    "format": "string"
  },
  "legalCountry": {
    "label": "Country",
    "format": "string"
  },
  "entityStatus": {
    "label": "Entity",
    "format": "string"
  },
  "registrationStatus": {
    "label": "LEI status",
    "format": "string"
  },
  "nextRenewalDate": {
    "label": "Next renewal",
    "format": "string"
  },
  "ultimateParentName": {
    "label": "Ultimate parent",
    "format": "string"
  },
  "statusDetail": {
    "label": "Detail",
    "format": "string"
  }
}
```

## How it works

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

The LEI Lookup & GLEIF API: Batch LEI, Name, BIC & ISIN Search Actor is ready to run with the inputs already set for "Look up LEIs for a list of company names". [Sign up or log in](https://console.apify.com/create-task-from-example/xUjSphdMHljDAzirL) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Look up LEIs for a list of company names" task

The LEI Lookup & GLEIF API: Batch LEI, Name, BIC & ISIN Search Actor will start running based on the input automatically. You can also change all the input fields, like LEIs, company names, and more, to match your specific use case.

### 3. Receive the "Look up LEIs for a list of company names" 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 input, type, status, 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 "Look up LEIs for a list of company names" task via API](https://apify.com/clearpath-data/lei-lookup.md).

## About this Actor

This example demonstrates how to use [LEI Lookup & GLEIF API: Batch LEI, Name, BIC & ISIN Search](https://apify.com/clearpath-data/lei-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/clearpath-data/lei-lookup.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/clearpath-data/lei-lookup.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`).
