# ISIN / CUSIP / Ticker to FIGI + LEI Mapper (`kotablue-tools/figi-lei-identifier-mapper`) Actor

Bulk-map ISIN, CUSIP, SEDOL, ticker or FIGI to OpenFIGI security data (FIGI, name, exchange, security type) and the issuer's GLEIF LEI. Official free APIs, no login, no scraping.

- **URL**: https://apify.com/kotablue-tools/figi-lei-identifier-mapper.md
- **Developed by:** [KotaBlue Toolsmith](https://apify.com/kotablue-tools) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## ISIN / CUSIP / Ticker to FIGI + LEI Mapper (OpenFIGI + GLEIF)

**Paste ISINs, CUSIPs, SEDOLs, tickers or FIGIs and get one spreadsheet-ready row per identifier: FIGI, composite and share-class FIGI, name, ticker, exchange and security type, plus, for ISINs, the issuer's LEI with legal name, status and next renewal date.**

Up to 5,000 identifiers per run from the free, official **OpenFIGI** and **GLEIF** APIs. No API key, browser, scraping or login needed.

### What does this identifier mapper do?

- **Maps mixed lists in bulk.** ISINs, CUSIPs, SEDOLs, tickers and FIGIs can share one list. They go to the OpenFIGI mapping API in batches (10 per request without a key, 100 with your own free key).
- **Detects the type for you.** On `AUTO`, each value is checked as FIGI, then ISIN, CUSIP and SEDOL check digits; anything else is a ticker. Force a type per line with a prefix such as `TICKER:VOD`.
- **Validates check digits locally.** ISIN-like values with a wrong check digit, and typed ISINs, CUSIPs or SEDOLs that fail, come back as `INVALID` rows and are never sent to OpenFIGI.
- **Picks one listing per identifier.** `BEST_MATCH` returns the exchange you asked for (tickers), otherwise the ISIN's home market (for example `LN` for GB, `GR` for DE ISINs), otherwise the first composite. `ALL_LISTINGS` returns one row per exchange listing.
- **Adds the issuer LEI for ISINs** (on by default) from GLEIF's ISIN-to-LEI mapping.
- **Flat, spreadsheet-ready output.** Every input line gets a row with a `status`. Export to CSV, Excel or JSON, or use the Apify API.

### Who is this for?

- **Security master and reference data teams.** Reconcile custodian, broker and vendor files that use different identifier types, and join them on FIGI.
- **KYC and onboarding teams.** Get issuer LEIs, legal names and LEI status for a list of ISINs.
- **Regulatory reporting preparers.** Collect issuer LEIs with registration status and next renewal date for ISIN lists.
- **Fund administrators and portfolio operations.** Turn CUSIP or SEDOL holdings files into names, tickers and exchanges.
- **Fintech and data engineers.** Call it from the Apify API as an identifier crosswalk step instead of writing rate-limited OpenFIGI and GLEIF clients.
- **Quant researchers and analysts.** Map tickers to composite and share-class FIGIs so data from different sources lines up.
- **Compliance and risk teams.** Check that issuers behind ISINs have an LEI that is still `ISSUED`, and when it is due for renewal.
- **Spreadsheet users.** Paste a column of identifiers and export CSV or Excel, no code needed.

### How to use it

1. Paste identifiers into **Identifiers**, one per line. Tickers can carry an exchange code (`VOD LN`, `VOD/LN`).
2. Leave **Identifier type** on **Auto-detect** for mixed lists.
3. Set **Default exchange code for tickers** (default `US`), or leave it empty to search all exchanges.
4. Choose **Best match** (one row per identifier) or **All listings** (one row per exchange listing, up to **Max listings per identifier**).
5. Leave **Add issuer LEI (GLEIF)** on, or turn it off for a faster run. Optionally add your own free **OpenFIGI API key**.
6. Click **Start**, then filter the **Output** tab on `status` and export as CSV, Excel or JSON.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `identifiers` | list of strings | required | Up to 5,000 per run, e.g. `US0378331005`, `594918104`, `VOD LN` or `TICKER:VOD`. |
| `idType` | AUTO / ID_ISIN / ID_CUSIP / ID_SEDOL / ID_BB_GLOBAL / TICKER | AUTO | AUTO detects each line's type. |
| `defaultExchCode` | string | `US` | Exchange for bare tickers; empty = all exchanges. |
| `outputMode` | BEST_MATCH / ALL_LISTINGS | BEST_MATCH | One row per identifier, or one per listing. |
| `maxListingsPerIdentifier` | integer | 25 | Applies to ALL_LISTINGS only. |
| `includeLei` | boolean | true | Looks up the issuer LEI in GLEIF (ISIN inputs only). |
| `openFigiApiKey` | secret string | none | Optional. Raises OpenFIGI limits (see below). |

Example input (from the cloud run shown below; `US0378331006` has a wrong check digit and `ZZZZZZQQ` is made up):

```json
{
  "identifiers": [
    "US0378331005",
    "594918104",
    "IBM",
    "BBG000BLNNH6",
    "GB0002634946",
    "DE0007164600",
    "NL0010273215",
    "JP3633400001",
    "VOD LN",
    "ZZZZZZQQ",
    "US0378331006",
    "2046251"
  ],
  "includeLei": true,
  "idType": "AUTO",
  "defaultExchCode": "US",
  "outputMode": "BEST_MATCH",
  "maxListingsPerIdentifier": 25
}
```

### Output

Each input identifier gives one dataset row (or one row per listing in `ALL_LISTINGS` mode). Fields:

`input, idType, idValue, exchCodeRequested, status, message, figi, compositeFIGI, shareClassFIGI, name, ticker, exchCode, securityType, securityType2, marketSector, securityDescription, listingsFound, lei, leiLegalName, leiEntityStatus, leiRegistrationStatus, leiNextRenewalDate, leiJurisdiction, leiLegalCountry, leiHqCountry, leiLookup, sources, retrievedAt`

Below are real rows from a cloud run on Nov 2, 2026 with the example input above. Values are as of that date.

An ISIN mapped to its FIGIs, with the issuer's LEI from GLEIF:

```json
{
  "input": "US0378331005",
  "idType": "ID_ISIN",
  "idValue": "US0378331005",
  "exchCodeRequested": null,
  "status": "MAPPED",
  "message": null,
  "figi": "BBG000B9XRY4",
  "compositeFIGI": "BBG000B9XRY4",
  "shareClassFIGI": "BBG001S5N8V8",
  "name": "APPLE INC",
  "ticker": "AAPL",
  "exchCode": "US",
  "securityType": "Common Stock",
  "securityType2": "Common Stock",
  "marketSector": "Equity",
  "securityDescription": "AAPL",
  "listingsFound": 303,
  "lei": "HWUPKR0MPOU8FGXBT394",
  "leiLegalName": "Apple Inc.",
  "leiEntityStatus": "ACTIVE",
  "leiRegistrationStatus": "ISSUED",
  "leiNextRenewalDate": "2027-03-08T17:27:20Z",
  "leiJurisdiction": "US-CA",
  "leiLegalCountry": "US",
  "leiHqCountry": "US",
  "leiLookup": "FOUND",
  "sources": "OpenFIGI; GLEIF",
  "retrievedAt": "2026-11-02T22:59:42.717Z"
}
```

Other rows from the same run: the CUSIP `594918104` mapped to MICROSOFT CORP (`MSFT`, `US`, `leiLookup` `SKIPPED_NOT_ISIN`, because LEIs are looked up for ISINs only); the ticker `VOD LN` mapped to VODAFONE GROUP PLC on `LN`; the German ISIN `DE0007164600` mapped to SAP SE on `GR` with LEI `529900D6BF99LW9R2E68`; the made-up ticker `ZZZZZZQQ` came back as `NOT_FOUND`; and `US0378331006` came back as `INVALID` (*"Looks like an ISIN but the check digit is wrong"*) without being sent to OpenFIGI. Ten of the 12 identifiers were mapped and five LEIs were found.

Possible `status` values:

- **MAPPED**: OpenFIGI returned at least one listing for the identifier.
- **NOT_FOUND**: OpenFIGI had no match. `message` carries OpenFIGI's warning text when it gives one.
- **INVALID**: the check digit or format is wrong, caught locally.
- **ERROR**: the OpenFIGI request failed after retries, or OpenFIGI returned an error for that identifier. `message` has the reason.

`leiLookup` is `FOUND`, `NOT_FOUND`, `SKIPPED_NOT_ISIN`, `DISABLED` or `ERROR` (GLEIF failed; the row keeps its OpenFIGI data).

A run summary with counts is saved as `OUTPUT` in the run's key-value store.

### Using your own OpenFIGI API key (optional)

Keys are free: sign up at https://www.openfigi.com/user/signup and copy the key from your account page. It is a secret input (stored encrypted), sent only to `api.openfigi.com` in the `X-OPENFIGI-APIKEY` header, and never logged or written to the dataset. If OpenFIGI rejects it (HTTP 401 or 403), the run warns you and continues without a key.

### Pricing

- **This Actor is currently free to use.** There is no Actor fee; you only use your normal Apify platform credits for compute (the 12-identifier cloud run above used about $0.00026 of platform usage).

### Limits and performance

- Up to 5,000 identifiers per run. Extra identifiers are skipped with a warning in the log.
- The Actor follows OpenFIGI's published limits (https://www.openfigi.com/api/documentation):

| | Without a key (default) | With your own free key |
|---|---|---|
| Requests per minute | 25 | 250 |
| Identifiers per request | 10 | 100 |
| Request spacing | one every 2.5 s | one every 0.26 s |

- GLEIF lookups are paced at about 55 per minute (GLEIF allows about 60), adding about 1 second per ISIN.

- Default memory is 128 MB; it uses no browser and needs no proxy. The 12-identifier run above took about 6 seconds and peaked at about 53 MB; a later 2-identifier test run at 128 MB peaked at about 51 MB.

- It honours OpenFIGI's `ratelimit-remaining` / `ratelimit-reset` headers. HTTP 429 (using `retry-after`), 5xx errors and timeouts are retried with backoff, up to 6 times; HTTP 413 batches are split and resent. If a batch still fails, its identifiers come back as `ERROR` rows and the run continues.

- LEI lookup works **only for ISIN inputs** that GLEIF has mapped to an LEI. Only equities have been tested so far; bonds, funds and derivatives have not.

### FAQ

**How do I convert a list of ISINs or CUSIPs to tickers?**
Paste them in, keep **Auto-detect** and **Best match**, and run. Each `MAPPED` row has `ticker`, `exchCode` and `name`.

**How do I find the LEI for an ISIN?**
Leave **Add issuer LEI (GLEIF)** on. ISIN rows get `lei`, `leiLegalName`, `leiRegistrationStatus` and `leiNextRenewalDate`; other types show `leiLookup: SKIPPED_NOT_ISIN`.

**What is the difference between FIGI, composite FIGI and share-class FIGI?**
OpenFIGI gives a FIGI to each exchange listing, a composite FIGI to the country-level listing, and a share-class FIGI across countries. All three are returned, so you can join data at the level you need.

**Why did my CUSIP come back as a ticker or NOT_FOUND?**
On Auto-detect, a value whose CUSIP check digit fails is treated as a ticker, so it usually comes back `NOT_FOUND`. Prefix it with `ID_CUSIP:` to get an `INVALID` row with the reason.

**Do I need an OpenFIGI API key?**
No. Without a key it stays within OpenFIGI's public limits (25 requests of 10 identifiers per minute). A free key raises them to 250 requests of 100 identifiers.

**What happens with duplicate identifiers?**
Every input line gets its own row, so repeats appear again. GLEIF is asked once per ISIN per run.

**Which export formats are supported? Can I use the API?**
CSV, Excel, JSON, JSONL, XML and HTML. You can also start runs from the Apify API, schedule them, or connect them to Make, Zapier, n8n or webhooks.

**Is this an official OpenFIGI, Bloomberg or GLEIF service?**
No. It is an independent tool that reads the public OpenFIGI and GLEIF APIs. Check critical results at the source before using them for regulatory filings.

### Related tools

Other free tools for public official data from the same publisher:

- [LEI Lookup & LEI Renewal Checker (GLEIF)](https://apify.com/kotablue-tools/gleif-lei-renewal-checker): bulk LEI status, next renewal date and lapsed-LEI flags from the GLEIF register.
- [SEC EDGAR Company Lookup](https://apify.com/kotablue-tools/sec-edgar-company-lookup): tickers or CIKs to CIK, EIN, SIC code, addresses and the latest 10-K, 10-Q and 8-K filings.
- [Bulk VIN Decoder & Recall Checker (NHTSA)](https://apify.com/kotablue-tools/nhtsa-vin-decoder): decode VINs in bulk to make, model and year, with NHTSA recall campaigns.
- [ClinicalTrials.gov NCT Lookup](https://apify.com/kotablue-tools/clinicaltrials-study-status-checker): bulk trial status, sponsor portfolios and a results-due estimate for lists of NCT numbers.

### Data sources and attribution

- **OpenFIGI** (https://www.openfigi.com): Bloomberg "dedicates FIGI Identifiers to the public domain" and recognizes they "may be freely reproduced, distributed ... by anyone for any purpose, commercial or non-commercial" (https://www.openfigi.com/docs/terms-of-service). OpenFIGI's FAQ says there are no "licensing or re-use restrictions or hidden fees for access, use, or redistribution of the FIGI symbology" (https://www.openfigi.com/about/faq). FIGI® and OpenFIGI are marks of Bloomberg Finance L.P. and are used here only to refer to the data.
- **GLEIF**: LEI data from the Global Legal Entity Identifier Foundation (https://www.gleif.org), available under CC0.
- This Actor is independent. It is **not affiliated with, endorsed by or sponsored by GLEIF, OpenFIGI or Bloomberg**.
- Data is returned as the sources provide it, with no warranty. Check it before you use it for regulatory filings.

### Free Apify plan users

This Actor works on the Apify free plan with the same limits as paid plans. Runs count against your monthly Apify usage credit.

# Actor input Schema

## `identifiers` (type: `array`):

One identifier per line: ISIN, CUSIP, SEDOL, FIGI or ticker. Types are auto-detected using check digits. You can force a type with a prefix, e.g. TICKER:IBM or ID_CUSIP:037833100. Tickers can include an exchange code: "VOD LN". Max 5,000 per run.

## `idType` (type: `string`):

Leave on Auto-detect unless all your identifiers are the same type.

## `defaultExchCode` (type: `string`):

OpenFIGI exchange code used for tickers that don't include one (e.g. US, LN, GR, JP). Leave empty to search all exchanges.

## `outputMode` (type: `string`):

Best match returns one row per identifier (the country-level composite listing when available). All listings returns one row per exchange listing. You are charged once per mapped identifier either way.

## `maxListingsPerIdentifier` (type: `integer`):

Only used with All listings.

## `includeLei` (type: `boolean`):

For ISIN inputs, look up the issuer's Legal Entity Identifier, legal name, status and next renewal date in the GLEIF register. GLEIF allows 60 requests/min, so this adds about 1 second per ISIN.

## `openFigiApiKey` (type: `string`):

Optional. Your own free key from openfigi.com (sign up, then copy it from your account page). It raises OpenFIGI limits from 25 to 250 requests/min and from 10 to 100 identifiers per request. It is stored encrypted as a secret input, sent only to api.openfigi.com, and never logged or written to the output. If OpenFIGI rejects it, the run continues without a key.

## Actor input object example

```json
{
  "identifiers": [
    "US0378331005",
    "594918104",
    "IBM",
    "BBG000BLNNH6"
  ],
  "idType": "AUTO",
  "defaultExchCode": "US",
  "outputMode": "BEST_MATCH",
  "maxListingsPerIdentifier": 25,
  "includeLei": true
}
```

# Actor output Schema

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

One row per identifier (or per listing in All listings mode) with FIGI security data and, for ISINs, the issuer's GLEIF LEI.

## `summary` (type: `string`):

Counts of mapped, not found, invalid and errored identifiers.

# 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 = {
    "identifiers": [
        "US0378331005",
        "594918104",
        "IBM",
        "BBG000BLNNH6"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kotablue-tools/figi-lei-identifier-mapper").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 = { "identifiers": [
        "US0378331005",
        "594918104",
        "IBM",
        "BBG000BLNNH6",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kotablue-tools/figi-lei-identifier-mapper").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 '{
  "identifiers": [
    "US0378331005",
    "594918104",
    "IBM",
    "BBG000BLNNH6"
  ]
}' |
apify call kotablue-tools/figi-lei-identifier-mapper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kotablue-tools/figi-lei-identifier-mapper"
        }
    }
}
```

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/CeV0H6GYp1Eb1fjdr/builds/lEHbG0fJ0hsejrnaZ/openapi.json
