Updated
How to Look Up a Company's LEI Code (Free GLEIF API)
1. Search by name
curl -s 'https://api.gleif.org/api/v1/lei-records?filter%5Bentity.legalName%5D=Equinor%20ASA&page%5Bsize%5D=2' \
| jq -r '.data[].attributes | [.lei, .entity.legalName.name, .registration.status] | @tsv'
# OW6OFBNCKXC4US5C7523 EQUINOR ASA ISSUED2. Validate a code
An LEI has 20 characters and ends with two check digits computed with ISO 7064 MOD 97-10, like an IBAN. Check the digits locally first, then call /api/v1/lei-records/<LEI> to confirm that it exists and read its legal address and registration status.
3. Read the status
- ISSUED: the record is current.
- LAPSED: the annual renewal was not paid; the company may still exist.
- RETIRED / MERGED: the entity no longer uses the code.
4. From LEI to the national register
The GLEIF record holds the registration authority and the local company number. Plainprobe Company Registry Lookup takes an LEI, a national number, a VAT number or a name and returns the official register record for France, Norway, Finland and Estonia with the LEI attached, at $0.003 per company.
Limits to keep in mind
- Only entities active in financial markets usually have an LEI; many small companies have none.
- Name search matches the registered legal name, so try the full legal form (ASA, SA, Oyj).
FAQ
What is an LEI code?
A Legal Entity Identifier is a 20-character code (ISO 17442) that identifies a legal entity in financial transactions. The global LEI index is published by GLEIF as open data.
How do I find a company's LEI?
Search the GLEIF API by legal name: https://api.gleif.org/api/v1/lei-records?filter[entity.legalName]=Equinor%20ASA returns the matching records with their LEI, status and address.
Is GLEIF data free to use?
Yes. GLEIF publishes LEI data under the CC0 licence, free of charge, and its API needs no key.
Does an LEI tell me whether a company is still active?
Only partly: the LEI registration status (ISSUED, LAPSED, RETIRED) is about the code, not the company. Check the national register for the company's legal status.