Overview
Most teams know a company's CIN or name, not its LEI. Banks collecting LEIs from borrowers, brokers onboarding corporate clients and data teams enriching a customer master need to find the LEI that belongs to a company, if it has one. Searching GLEIF by name alone can return similar names or foreign entities, so a search keyed on the CIN, which GLEIF records as registeredAs for Indian entities, gives a cleaner answer.
GET /api/v1/lei/search takes cin for an exact match on GLEIF registeredAs, or q for a legal name, and limit up to 50. It returns {total, matched_by, results, note}, where matched_by tells you whether the match came from the CIN, an exact legal name or full text. Each result can be opened with the LEI Lookup API for the full record, and the Company Master Data API carries the LEI on the company record when one is matched.
- Input
- cin (CIN or LLPIN, exact) or q (legal name); limit up to 50
- Returns
- total, matched_by, results and note
- Coverage
- Indian LEIs on the GLEIF index
- Source
- GLEIF
- Auth
- API key as Authorization: Bearer (or X-API-Key header); OAuth sign-in through the IndiaCos MCP server
- Register
- IndiaCos (indiacos.com)
- 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
totalNumber of matching LEIs reported by GLEIF
matched_byHow the match was made: cin (exact registeredAs), exact_legal_name or fulltext
results[].leiThe 20-character LEI
results[].legal_nameLegal name held by GLEIF
results[].registered_asThe CIN or LLPIN recorded by GLEIF
results[].registration.statusStatus of the LEI, for example ISSUED or LAPSED, with next_renewal alongside
noteA fixed reminder that a CIN match is exact, while a name match is GLEIF's own and can include look-alike names
Use cases
Collecting LEIs from borrowers
A bank that must record LEIs for large corporate borrowers runs a monthly job that searches by each borrower's CIN. Borrowers with an issued LEI are updated in the loan system automatically, and those without one, or with a lapsed LEI, are contacted by the relationship manager.
Enriching a customer master
A data team holding CINs for thousands of corporate customers searches each CIN and stores the LEI when matched_by shows an exact registeredAs match. Name-based matches are kept aside for review, since similar names can belong to different entities and a wrong LEI on file causes reporting errors later.
Finding the LEI of an LLP
An investment platform onboarding an LLP investor searches by LLPIN, which GLEIF also records in registeredAs for Indian LLPs. If none is found, the platform asks the investor for its LEI or notes that the LLP does not yet have one.
How to use it
- Get an API key at indiacos.com/signup.
- Call GET https://indiacos.com/api/v1/lei/search?cin={CIN} for an exact match, or ?q={legal name}, with Authorization: Bearer YOUR_KEY.
- Check matched_by: prefer CIN matches; review name matches before relying on them.
- Open a result with GET /api/v1/lei/{lei} for the full record and renewal date.
Parameters
cin query See the documentation. Example: L22210MH1995PLC084781 q query See the documentation. limit query See the documentation. Example: 10 Example
Request
curl "https://indiacos.com/api/v1/lei/search?cin=L22210MH1995PLC084781&limit=10" \
-H "Authorization: Bearer YOUR_KEY" Response (illustrative)
{
"total": 1,
"matched_by": "cin",
"results": [
{
"lei": "335800EXAMPLE0000123",
"legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
"registered_as": "U51909MH2019PTC123456",
"entity_status": "ACTIVE",
"registration": {
"status": "ISSUED",
"next_renewal": "2027-03-18"
},
"company": {
"cin": "U51909MH2019PTC123456",
"api": "https://indiacos.com/api/v1/company/U51909MH2019PTC123456"
}
}
],
"note": "From GLEIF. A CIN match is exact; a name match is GLEIF's own and can include look-alike names."
} 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.
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.
- registeredAs
- The GLEIF field that records an entity's ID in its home business register. For Indian companies it normally holds the CIN and for LLPs the LLPIN, which allows an exact search from Indian registry identifiers to LEIs.
Good to know
- Searches Indian LEIs only.
- Up to 50 results per request; HTTP 503 can occur when GLEIF is unavailable.
Frequently asked questions
How do I find the LEI of a company from its CIN?
Call GET https://indiacos.com/api/v1/lei/search?cin={CIN}. The search matches the CIN exactly against the registeredAs field in GLEIF, which is where Indian companies' CINs are recorded, and returns the LEI with its legal name and status. matched_by in the response confirms it was a CIN match.
Can I search LEIs by company name?
Yes. Pass q with the legal name. The search tries an exact legal-name match first and, only when there is none, GLEIF full-text matching; matched_by says which was used. q needs at least 3 characters. Name matches can include similar names, so check registered_as against the company's CIN before relying on a result, or search by CIN when you have it.
What if a company has no LEI?
If nothing matches, total is 0 and results is empty. Many smaller Indian companies have no LEI, since it is needed mainly for certain financial transactions. A company that once had one may also show a lapsed LEI, which means it was not renewed.
How does this compare with searching GLEIF directly?
GLEIF's search works by LEI, name and other fields globally. This endpoint is set up for Indian identifiers, searching registeredAs by CIN or LLPIN, and returns matched_by so your system knows how reliable the match is. Each result carries a company link when registered_as is a CIN or LLPIN, so the company record is one call away.
Can an AI assistant find a company's LEI?
Yes. With the IndiaCos MCP server connected at https://indiacos.com/mcp, ask "does Example Traders Private Limited have an LEI?". The assistant can call get_company, whose record carries the LEI when one is matched, or get_lei for the full GLEIF record with its renewal date and managing LOU.
Does it cover LLPs?
Yes. The cin parameter takes a CIN or an LLPIN, and GLEIF records the LLPIN in registeredAs for Indian LLPs that hold an LEI. The search is limited to Indian LEIs; foreign group entities are reached through the LEI Lookup API record of a known LEI.