# gleif.search

Legal entities in the Global LEI Index by name, national register number, ISIN or BIC, in a country: LEI, legal name, addresses, register and number, status.

LEI search (GLEIF), one of the GLEIF scrapers.

| | |
| --- | --- |
| Id | `gleif.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/gleif.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | Words of the entity's legal or other names, e.g. `siemens`. Limit: at least 2 characters, at most 200 characters. |
| `registry_number` | string | no | Its number in its national register, as GLEIF holds it, e.g. `HRB 6684`. With `country`, the LEI of a company whose register number you know. Limit: at least 1 characters, at most 100 characters. |
| `isin` | string | no | An ISIN the entity issued, e.g. `US0378331005`. |
| `bic` | string | no | A SWIFT BIC of the entity, e.g. `DEUTDEFFXXX`. |
| `country` | string | no | Only entities whose legal address is in this country, as two letters, e.g. `DE`. |
| `status` | "active" \| "any" | no | `active`: entities that exist; `any`: inactive ones too. Default: `"active"`. |
| `max_results` | integer | no | Entities a page, at most 200. Limit: 1 to 200. Default: `25`. |
| `page` | integer | no | The page of results, from 1. Limit: 1 to 100. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `lei` | string | The entity's Legal Entity Identifier, 20 characters, e.g. `529900QBVWXMWANH7H45`. |
| `url` | string | The entity's record on GLEIF's search. |
| `legal_name` | string | The entity's legal name, as filed. |
| `other_names` | array of string | Its other names: trading, previous and transliterated names. |
| `legal_form_code` | string or null | Its legal form, as an ISO 20275 code (ELF), e.g. `6QQB`; or the form in words where it has no code. |
| `category` | string or null | GLEIF's category of the entity, e.g. `GENERAL`, `BRANCH`, `FUND`. |
| `status` | string or null | Whether the entity exists: `ACTIVE` or `INACTIVE`. |
| `jurisdiction` | string or null | The jurisdiction it is formed under, e.g. `DE` or `US-DE`. |
| `legal_address` | object or null | Its legal address. |
| `legal_address.lines` | array of string | The street lines, as filed. |
| `legal_address.city` | string or null | The city. |
| `legal_address.region` | string or null | The region, as an ISO 3166-2 code where one was filed, e.g. `US-DE`. |
| `legal_address.postal_code` | string or null | The postal code. |
| `legal_address.country` | string or null | The country, as two letters, e.g. `DE`. |
| `headquarters_address` | object or null | The address of its headquarters. |
| `headquarters_address.lines` | array of string | The street lines, as filed. |
| `headquarters_address.city` | string or null | The city. |
| `headquarters_address.region` | string or null | The region, as an ISO 3166-2 code where one was filed, e.g. `US-DE`. |
| `headquarters_address.postal_code` | string or null | The postal code. |
| `headquarters_address.country` | string or null | The country, as two letters, e.g. `DE`. |
| `registration_authority_id` | string or null | The register it is filed in, as GLEIF's code of registration authorities, e.g. `RA000304`. |
| `registry_number` | string or null | Its number in that register, e.g. `HRB 237558`. |
| `registration_status` | string or null | The state of the LEI itself, e.g. `ISSUED`, `LAPSED`, `RETIRED`. |
| `corroboration_level` | string or null | How far the issuer checked the data, e.g. `FULLY_CORROBORATED`. |
| `created_date` | string or null | The day the entity was formed, `YYYY-MM-DD`, where filed. |
| `initial_registration_date` | string or null | The day the LEI was issued, `YYYY-MM-DD`. |
| `last_update_date` | string or null | The day the record last changed, `YYYY-MM-DD`. |
| `next_renewal_date` | string or null | The day the LEI is due for renewal, `YYYY-MM-DD`. |
| `managing_lou` | string or null | The LEI of the issuer that manages the record. |
| `successor_lei` | string or null | The LEI of the entity that succeeded it, for one that merged or was absorbed. |
| `bics` | array of string | The SWIFT BICs mapped to the entity. |
| `opencorporates_id` | string or null | The entity's id on OpenCorporates, as GLEIF maps it, e.g. `us_de/4348344`. |
| `fetched_at` | string (date-time) | When GLEIF was asked, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "gleif.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "name": "siemens",
    "country": "DE",
    "max_results": 5
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "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"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the GLEIF scrapers](https://docs.enrichednow.com/results-and-statuses.md#gleif) are in their own section there.
