Home / Guides / How to Look Up a Company's LEI Code

Updated

How to Look Up a Company's LEI Code (Free GLEIF API)

Use the free GLEIF API, no key needed: https://api.gleif.org/api/v1/lei-records?filter[entity.legalName]=Equinor%20ASA returns LEI OW6OFBNCKXC4US5C7523 for EQUINOR ASA (status ISSUED, jurisdiction NO). To check a known code, call https://api.gleif.org/api/v1/lei-records/<LEI>.

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  ISSUED

2. 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

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

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.

Related tool