Docs/Sources/LEI Lookup

LEI Lookup

Look Up Legal Entity Identifiers and Corporate Parents

OperationalCredits 1 per callp50 284msFinance

Overview

LEI Lookup serves a full copy of the GLEIF golden copy (level 1 entity records and level 2 relationship records), stored in our own sharded index and refreshed every Sunday from GLEIF's weekly change file; if a week is missed it applies the 31-day change file instead. Requests never call GLEIF live. Source: Global Legal Entity Identifier Foundation (GLEIF) golden copy, published under CC0 1.0.

Look up by `lei`, or search by `name`: the search matches the beginning of an entity's legal name, a previous or other name, or a Latin transliteration, ignoring case, accents and punctuation. Results rank an exact name first, then issued and active registrations, then shorter names. `country` limits results to entities with their legal address in that country.

Parents come from GLEIF level 2 data: `directParent` and `ultimateParent` are accounting consolidation parents (IS_DIRECTLY_CONSOLIDATED_BY and IS_ULTIMATELY_CONSOLIDATED_BY), `fundManager`, `umbrellaFund` and `masterFund` are fund relationships and `headOffice` links an international branch to its head office. An active relationship is shown when one exists. `childCounts` counts active relationships pointing at the entity. Many entities report no parent (for example because they are owned by natural persons), and their parent fields are null.

Live Test LEI Lookup Source →

Formula

One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.

=VERVE("leilookup", "legalName")

Inputs

Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.

InputTypeWhere it goesDescription
leiOptionalstring"lei", valueThe 20-character Legal Entity Identifier. Spaces and dashes are ignored; letters may be lower case.

Passing an option

=VERVE("leilookup", "legalName", "lei", "G5GSEF7VJP5I7OUK5573")

What lands in your sheet

The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

=VERVE("leilookup")
Good for exploring, not for filling down

The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.

Response fields

Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.

Use as the fieldTypeExample cell valueDescription
leistringG5GSEF7VJP5I7OUK5573The Legal Entity Identifier
legalNamestringBARCLAYS BANK PLCLegal name as registered
legalNameLanguagestringenLanguage of the legal name (ISO 639-1)
otherNamesPremiumarray[]Other names: {name, type}, where type is e.g. PREVIOUS_LEGAL_NAME or TRADING_OR_OPERATING_NAME
transliteratedNamesPremiumarray[]Names transliterated into Latin script: {name, type}
entityStatusstringACTIVEACTIVE or INACTIVE
entityCategorystringGENERALGENERAL, FUND, BRANCH, SOLE_PROPRIETOR, RESIDENT_GOVERNMENT_ENTITY or INTERNATIONAL_ORGANIZATION
entitySubCategoryobjectnullSub-category for government entities, when given
legalFormobject{…}Legal form: code (ISO 20275 ELF code, 8888 when none fits) and other (free-text form)
legalForm.codestringB6ESISO 20275 entity legal form code
legalForm.otherobjectnullLegal form as text when no ELF code applies
jurisdictionstringGBLegal jurisdiction (ISO 3166 country or subdivision code)
creationDatestring1971-10-04Date the entity was created (YYYY-MM-DD)
expirationobjectnull{date, reason} when the entity has ceased to exist, else null
successorobjectnull{lei, legalName} of the successor entity after a merger, else null
legalAddressobject{…}Registered address: addressLines, addressNumber, addressNumberWithinBuilding, mailRouting, city, region, postalCode, country
legalAddress.addressLinesarray["1 CHURCHILL PLACE"]
legalAddress.addressNumberobjectnull
legalAddress.addressNumberWithinBuildingobjectnull
legalAddress.mailRoutingobjectnull
legalAddress.citystringLONDONCity of the registered address
legalAddress.regionstringGB-LND
legalAddress.postalCodestringE14 5HP
legalAddress.countrystringGBCountry of the registered address (ISO 3166-1 alpha-2)
headquartersAddressPremiumobject{…}Headquarters address, same fields as legalAddress
headquartersAddress.addressLinesPremiumarray["1 CHURCHILL PLACE"]
headquartersAddress.addressNumberPremiumobjectnull
headquartersAddress.addressNumberWithinBuildingPremiumobjectnull
headquartersAddress.mailRoutingPremiumobjectnull
headquartersAddress.cityPremiumstringLONDON
headquartersAddress.regionPremiumstringGB-LND
headquartersAddress.postalCodePremiumstringE14 5HP
headquartersAddress.countryPremiumstringGBCountry filter, or null
registrationAuthorityPremiumobject{…}Business register: id (GLEIF RA code), otherId and entityId (the entity's number in that register)
registrationAuthority.idPremiumstringRA000585
registrationAuthority.otherIdPremiumobjectnull
registrationAuthority.entityIdPremiumstring01026167
registrationobject{…}LEI registration: status, initialRegistrationDate, lastUpdateDate, nextRenewalDate, managingLou, validationSources, conformityFlag
registration.statusstringISSUEDISSUED, LAPSED, RETIRED, ANNULLED, MERGED, DUPLICATE, PENDING_TRANSFER, PENDING_ARCHIVAL or CANCELLED
registration.initialRegistrationDatestring2012-06-06Date the LEI was first issued
registration.lastUpdateDatestring2026-04-13Date the record was last updated
registration.nextRenewalDatePremiumstring2027-04-30Date the registration must be renewed by
registration.managingLoustring213800WAVVOPS85N2205LEI of the Local Operating Unit that manages the registration
registration.validationSourcesstringFULLY_CORROBORATEDFULLY_CORROBORATED, PARTIALLY_CORROBORATED, ENTITY_SUPPLIED_ONLY or PENDING
registration.conformityFlagstringCONFORMINGCONFORMING or NON_CONFORMING with current GLEIF data quality rules
directParentPremiumobject{…}Direct accounting parent: {lei, legalName, country, relationshipStatus, startDate}, or null
directParent.leiPremiumstring213800LBQA1Y9L22JB70The Legal Entity Identifier
directParent.legalNamePremiumstringBARCLAYS PLCLegal name as registered
directParent.countryPremiumstringGBCountry filter, or null
directParent.relationshipStatusPremiumstringACTIVE
directParent.startDatePremiumstring2024-01-01
ultimateParentPremiumobject{…}Ultimate accounting parent, same fields, or null
ultimateParent.leiPremiumstring213800LBQA1Y9L22JB70The Legal Entity Identifier
ultimateParent.legalNamePremiumstringBARCLAYS PLCLegal name as registered
ultimateParent.countryPremiumstringGBCountry filter, or null
ultimateParent.relationshipStatusPremiumstringACTIVE
ultimateParent.startDatePremiumstring2024-01-01
fundManagerPremiumobjectnullFund management entity for funds, same fields, or null
umbrellaFundPremiumobjectnullUmbrella fund of a sub-fund, same fields, or null
masterFundPremiumobjectnullMaster fund of a feeder fund, same fields, or null
headOfficePremiumobjectnullHead office of an international branch, same fields, or null
childCountsPremiumobject{…}Active related entities that point to this one: directChildren, ultimateChildren, managedFunds, subFunds, feederFunds, branches
childCounts.directChildrenPremiumnumber73
childCounts.ultimateChildrenPremiumnumber0
childCounts.managedFundsPremiumnumber32
childCounts.subFundsPremiumnumber0
childCounts.feederFundsPremiumnumber0
childCounts.branchesPremiumnumber3
dataAsOfstring2026-11-28GLEIF golden copy publish date of the index (YYYY-MM-DD)

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in leilookupAn option name this source does not take. The message lists the ones it does.
#ERR No data point "…"The field path is not in the response. Check it against the table above.
#PREMIUM(field)The field exists but your plan does not include it.
#ERR Out of creditsThe cycle's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

Use cases

KYC and Onboarding
Onboarding flows check a client's LEI is issued and current, then prefill the legal name, jurisdiction and registered address from the official record.
Regulatory Reporting
Trade and transaction reporting pipelines validate every counterparty LEI before submission and flag lapsed registrations that need renewal.
Corporate Hierarchies
Risk and credit teams roll exposures up to the ultimate parent by following the direct and ultimate parent relationships GLEIF publishes.
Entity Resolution
Data teams match supplier and customer names to LEIs with name search, filtered by country, to attach a stable global identifier to each record.

Other ways to use LEI Lookup

Set up LEI Lookup on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Finance:

Was this page helpful?