Scraper API
GLEIFgleif.searchAvailable
LEI search
Legal entities with an LEI: legal name, legal form code, addresses, the register they are filed in and their number there, status, BICs and the state of the LEI.
Give it Words of a name, a company's national register number, an ISIN or a BIC, and optionally a country.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 8
- Record
- 23 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/gleif.search/runs
sent, and answered
a record of the run23 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 23 fields are set down here; the whole record is below.

What it is used for
- Find an LEI by register number
- Search by
registry_numberandcountryto get the LEI of a company you already know from its national register. - Name the issuer of a security
- Search by
isinto get the legal entity behind a bond or a share, with its addresses and status. - Check a bank by its BIC
- Search by
bicto get the legal name, LEI and status of the institution behind a SWIFT code.
What you send
Words of a name, a company's national register number, an ISIN or a BIC, and optionally a country. These are its 8 inputs, as its schema has them.
namestring At least one- Words of the entity's legal or other names.
registry_numberstring At least one- Its number in its national register, e.g. HRB 6684; with country, the LEI of a company whose number you know.
isinstring At least one- An ISIN the entity issued.
bicstring At least one- A SWIFT BIC of the entity.
countrystring Optional- Only entities whose legal address is in this country, as two letters.
statusstring Optional- active (the default) or any.Default
active max_resultsinteger Optional- Entities a page, up to 200.Default
25 pageinteger Optional- The page of results, from 1.Default
1
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/gleif.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"name":"siemens","country":"DE","max_results":5}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("gleif.search", {
"name": "siemens",
"country": "DE",
"max_results": 5,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("gleif.search", {
name: "siemens",
country: "DE",
max_results: 5,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "gleif.search", map[string]any{"name": "siemens", "country": "DE", "max_results": 5})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("gleif.search", Map.of("name", "siemens", "country", "DE", "max_results", 5));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run gleif.search --input name=siemens --input country=DE --input max_results=5Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Legal entities with an LEI: legal name, legal form code, addresses, the register they are filed in and their number there, status, BICs and the state of the LEI. A record has 23 fields. One we could not read is null, never an empty string or a zero.
{
"lei": "5299008BFMZJMZHC5G85",
"url": "https://search.gleif.org/#/record/5299008BFMZJMZHC5G85",
"legal_name": "Siemens-Fonds Siemens-Rente",
"other_names": [],
"legal_form_code": "Sondervermögen nach deutschem Recht (KAGB)",
"category": "FUND",
"status": "ACTIVE",
"jurisdiction": "DE",
"legal_address": {
"lines": [
"Otto-Hahn-Ring 6"
],
"city": "München",
"region": "DE-BY",
"postal_code": "81739",
"country": "DE"
},
"headquarters_address": {
"lines": [],
"city": "München",
"region": "DE-BY",
"postal_code": "81739",
"country": "DE"
},
"registration_authority_id": "RA000373",
"registry_number": "70132449",
"registration_status": "ISSUED",
"corroboration_level": "FULLY_CORROBORATED",
"created_date": "2006-09-12",
"initial_registration_date": "2013-09-27",
"last_update_date": "2026-07-30",
"next_renewal_date": "2027-09-26",
"managing_lou": "5299000J2N45DDNE4Y28",
"successor_lei": null,
"bics": [],
"opencorporates_id": null,
"fetched_at": "2026-11-24T22:35:23.596342Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
leistring- The entity's Legal Entity Identifier, 20 characters, e.g.
529900QBVWXMWANH7H45. urlstring- The entity's record on GLEIF's search.
legal_namestring- The entity's legal name, as filed.
other_nameslist of strings- Its other names: trading, previous and transliterated names.
legal_form_codestring or null- Its legal form, as an ISO 20275 code (ELF), e.g.
6QQB; or the form in words where it has no code. categorystring or null- GLEIF's category of the entity, e.g.
GENERAL,BRANCH,FUND. statusstring or null- Whether the entity exists:
ACTIVEorINACTIVE. jurisdictionstring or null- The jurisdiction it is formed under, e.g.
DEorUS-DE. legal_addressobject or null- Its legal address.Holds
lines,city,region,postal_code,country. headquarters_addressobject or null- The address of its headquarters.Holds
lines,city,region,postal_code,country. registration_authority_idstring or null- The register it is filed in, as GLEIF's code of registration authorities, e.g.
RA000304. registry_numberstring or null- Its number in that register, e.g.
HRB 237558. registration_statusstring or null- The state of the LEI itself, e.g.
ISSUED,LAPSED,RETIRED. corroboration_levelstring or null- How far the issuer checked the data, e.g.
FULLY_CORROBORATED. created_datestring or null- The day the entity was formed,
YYYY-MM-DD, where filed. initial_registration_datestring or null- The day the LEI was issued,
YYYY-MM-DD. last_update_datestring or null- The day the record last changed,
YYYY-MM-DD. next_renewal_datestring or null- The day the LEI is due for renewal,
YYYY-MM-DD. managing_loustring or null- The LEI of the issuer that manages the record.
successor_leistring or null- The LEI of the entity that succeeded it, for one that merged or was absorbed.
bicslist of strings- The SWIFT BICs mapped to the entity.
opencorporates_idstring or null- The entity's id on OpenCorporates, as GLEIF maps it, e.g.
us_de/4348344. fetched_atdatetime- When GLEIF was asked, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- Sole proprietors, filed by GLEIF as such or with a sole proprietorship's legal form, and French groups of people without legal personality are left out of a page, so it can hold fewer entities than asked; left_out says how many, and a later page can hold fewer, or none.
- The order is GLEIF's, not a ranking by how well the name matches.
- Only entities with an LEI are listed: most small companies have none.
The bounds its schema sets
status- active, any; active unless you say otherwise
max_results- 1 to 200; 25 unless you say otherwise
page- 1 to 100; 1 unless you say otherwise
Questions
What does LEI search return?
Legal entities with an LEI: legal name, legal form code, addresses, the register they are filed in and their number there, status, BICs and the state of the LEI. A record has 23 fields, among them lei, url, legal_name, other_names, legal_form_code and category. A value that could not be read is null, never an empty string or a zero.
What do I send?
Words of a name, a company's national register number, an ISIN or a BIC, and optionally a country. Of name, registry_number, isin and bic, send at least one. Optional: country, status, max_results and page.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: status active, any (active unless you say otherwise); max_results 1 to 200 (25 unless you say otherwise); page 1 to 100 (1 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
Sole proprietors, filed by GLEIF as such or with a sole proprietorship's legal form, and French groups of people without legal personality are left out of a page, so it can hold fewer entities than asked; left_out says how many, and a later page can hold fewer, or none. The order is GLEIF's, not a ranking by how well the name matches. Only entities with an LEI are listed: most small companies have none.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id gleif.search and the same input. It costs what the same API call costs.
GLEIF
Legal entities from the Global LEI Index: the LEI, the register a company is filed in and its number there, BICs and parents, by name, register number, ISIN or BIC.
LEI record
gleif.leiA Legal Entity Identifier (LEI), or the address of its record on GLEIF's search. The entity: legal name and other names, legal form, legal and headquarters addresses, the register it is filed in with its number there, the state of the LEI and its renewal date, BICs, its OpenCorporates id, and its parent and ultimate parent.
- Industry
- Companies and B2B
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.