apyhub
Back
▣ RETRIEVAL KIT · VERIFICATION KIT

LEI Company Lookup API

What it does

The LEI lookup API finds legal entities in the global Legal Entity Identifier register run by GLEIF. Send an lei for an exact match, or a name to search, and get back structured company records as JSON.

For an exact match, send the 20-character lei, such as HWUPKR0MPOU8FGXBT394 for Apple Inc. Upper or lower case both work. To search, send name with a company name or words from it. Add country with a two-letter code, such as DE, to keep only companies with a legal address there. limit sets how many results a name search returns.

Each record has the legal name, other names, LEI status and entity status. It also has the issue, last update and next renewal dates. You get the legal and headquarters addresses, the jurisdiction, the legal form code and the local registry ID. A url links to the record on GLEIF. When nothing matches, you get found: false with a note.

Teams use the LEI lookup API for KYB checks during onboarding, vendor record cleanup and filling in company data from an LEI search.

Only companies and funds that applied for an LEI are in the register, so a missing record does not mean a company does not exist.

Next, screen the company with the Sanctions Screening API and check its EU VAT number with the VAT Validation API. The SWIFT BIC Code Validation API checks the returned BIC.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.