Overview
Banks, treasury teams, brokers and compliance teams deal with LEIs whenever an entity takes part in large-value payments, derivatives, securities or borrowing, since RBI rules require LEIs in several of these markets. They need to know that an LEI is valid, whose it is and whether it has lapsed because the entity did not renew it. Checking the GLEIF record and then finding the matching Indian company record are usually two separate jobs.
GET /api/v1/lei/{lei} reads the record live from GLEIF, cached for a day, and returns legal name, registered_as, entity and registration status, renewal date, managing LOU and legal and headquarters addresses. When registered_as is a CIN, the response links the matched company, so the Company Master Data API can be called next. The company record itself also carries its LEI. To find an LEI from a CIN or a name, use the LEI Search API.
- Input
- LEI (20 characters: 18 letters or digits plus 2 check digits)
- Returns
- Legal name, registered_as, entity and registration status, renewal date, managing LOU, addresses, linked company
- Coverage
- Any LEI on the GLEIF global index
- Source
- GLEIF, read live
- Freshness
- Read live from GLEIF and cached for a day
- Auth
- API key as Authorization: Bearer (or X-API-Key header); OAuth sign-in through the IndiaCos MCP server
- Register
- IndiaCos (indiacos.com)
- MCP tool
get_lei- Data source
- Public government records: the Ministry of Corporate Affairs register, GST registrations, IP India journals and registers, Udyam, EPFO, official defaulter and wanted lists, rating-agency rationales and court records.
What it returns
leiThe 20-character Legal Entity Identifier
legal_nameLegal name of the entity as held by GLEIF
registered_asThe entity's ID in its home business register; for Indian companies, the CIN
entity_statusWhether the entity is active or inactive
registration.statusStatus of the LEI itself, for example ISSUED or LAPSED
registration.next_renewalDate by which the LEI must be renewed
registration.managing_louLEI of the Local Operating Unit that maintains the record
legal_addressLegal address as registered with GLEIF (lines, city, region, country, postal_code), with headquarters_address alongside
companyLinked IndiaCos company (CIN and links) when registered_as is a CIN or LLPIN
Use cases
Checking a counterparty LEI before a payment
A bank's operations team receives an LEI with a large-value payment instruction from a corporate customer. It looks up the LEI to confirm the legal name matches the remitter, the registration has not lapsed and the CIN in registered_as belongs to the same company on the MCA register, before releasing the payment.
Annual LEI renewal tracking
A treasury team holding LEIs for a group of companies checks each LEI's renewal date every month. Entries close to lapsing are sent to the company secretarial team, so the group does not lose access to markets where an active LEI is required for trading or borrowing.
Reconciling LEIs with company master data
A broker's onboarding system stores both the CIN and the LEI of corporate clients. A periodic job looks up each LEI and compares registered_as with the stored CIN, flagging mismatches that may mean a wrong LEI was captured or the company's CIN has changed.
How to use it
- Get an API key at indiacos.com/signup.
- Call GET https://indiacos.com/api/v1/lei/{lei} with Authorization: Bearer YOUR_KEY.
- Check registration.status and registration.next_renewal; a lapsed LEI has not been renewed.
- If registered_as is a CIN, open the linked company with GET /api/v1/company/{cin}.
Parameters
lei required path See the documentation. Example: 335800ZJKU9GPQRE2U66 Example
Request
curl "https://indiacos.com/api/v1/lei/335800ZJKU9GPQRE2U66" \
-H "Authorization: Bearer YOUR_KEY" Response (illustrative)
{
"lei": "335800EXAMPLE0000123",
"legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
"registered_as": "U51909MH2019PTC123456",
"entity_status": "ACTIVE",
"registration": {
"status": "ISSUED",
"initial_registration": "2021-03-18",
"next_renewal": "2027-03-18",
"managing_lou": "335800EXAMPLELOU0042"
},
"legal_address": {
"lines": [
"Unit 4, Example Estate, Andheri East"
],
"city": "Mumbai",
"region": "IN-MH",
"country": "IN",
"postal_code": "400069"
},
"company": {
"cin": "U51909MH2019PTC123456",
"url": "https://indiacos.com/company/U51909MH2019PTC123456",
"api": "https://indiacos.com/api/v1/company/U51909MH2019PTC123456"
},
"source": "GLEIF (Global Legal Entity Identifier Foundation), read live; GLEIF data is published under CC0"
} Authenticate with Authorization: Bearer <key>. Every response field is documented in the IndiaCos API documentation. Assistants can also call this through the IndiaCos MCP server as the get_lei tool.
Glossary
- LEI
- Legal Entity Identifier: a 20-character code under ISO 17442 that identifies a legal entity taking part in financial transactions. It is issued by a Local Operating Unit accredited by GLEIF and must be renewed every year to stay current.
- LOU
- Local Operating Unit: an organisation accredited by GLEIF to issue and renew LEIs. In India, Legal Entity Identifier India Ltd issues LEIs; the managing LOU of an LEI is the unit that currently maintains that record.
- registered_as
- The identifier of the entity in its home business register, as recorded by GLEIF. For an Indian company this is normally the CIN, which lets an LEI be tied to the company's record on the MCA register.
Good to know
- Read live from GLEIF and cached for a day; HTTP 503 can occur when GLEIF is unavailable.
Frequently asked questions
How do I verify an LEI code?
Call GET https://indiacos.com/api/v1/lei/{lei} with your API key. The record is read live from GLEIF, cached for a day, and returns the legal name, registration status, renewal date and managing LOU. A lapsed registration status means the LEI was not renewed on time, even if the code itself is valid.
Can I find the company CIN from an LEI?
Yes. registered_as holds the entity's ID in its home business register, which for Indian companies is the CIN. When it is a CIN, the response also links the matching IndiaCos company record, so you can open the MCA details with the Company Master Data API in the next call.
How fresh is the LEI data?
The record is read live from GLEIF and cached for a day, so it reflects GLEIF's data as of the last day at most. If GLEIF cannot be reached the API may return HTTP 503, and you should retry later rather than treat the LEI as invalid.
How is this different from searching on the GLEIF website?
GLEIF's site and API cover the LEI record itself. This endpoint returns the same core fields and adds the link to the Indian company record when registered_as is a CIN, so status on the MCA register, GSTINs and directors are one call away.
Can an AI assistant check an LEI?
Yes. Connect the IndiaCos MCP server at https://indiacos.com/mcp in Claude, ChatGPT, Cursor or Claude Code and ask, for example, "is LEI 335800EXAMPLE0000123 still active and whose is it?". The assistant calls get_lei and can follow with get_company when the LEI links to a CIN.
What format does an LEI have?
An LEI is 20 characters: 18 letters or digits followed by two numeric check digits, under the ISO 17442 standard. The endpoint rejects values that do not fit that pattern with HTTP 400, so validate the format before you call it.