---
type: "firecrawl-provider"
description: "GLEIF Golden Copy Legal Entity Identifier (LEI) records by LEI code, with legal name, addresses, jurisdiction, legal form, entity status and managing LOU."
use_when: "GLEIF LEI records."
categories: "Public records"
capabilities: 1
credits_per_record: 1
---
# GLEIF Legal Entities on Firecrawl Alexandria

GLEIF Golden Copy Legal Entity Identifier (LEI) records by LEI code, with legal name, addresses, jurisdiction, legal form, entity status and managing LOU.

- Categories: Public records
- Category index: [Public records category](https://alexandria.firecrawl.dev/agents/categories/public-records)
- Provider key: `firecrawl-gleif`
- Access: Firecrawl credits
- Cost (Legal entity (LEI) by LEI): 1 credit per record

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/firecrawl-gleif)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/firecrawl-gleif/openapi.json)

## 1. Choose this provider when

GLEIF LEI records.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "firecrawl-gleif",
  "capability": "entities/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `ids` (string[], required): 1 to 25 LEIs, such as 984500B50053D2J74975. A source URL or a docId is accepted too. Example: `[]`
- `include` (string[]): fields, markdown or both. Omit for both; ["fields"] skips the body. Example: `[]`
- `maxChars` (number): Most Markdown characters returned per record. Default 40000. Example: `40000`
- `offset` (number): Markdown character to start from: a record's text.nextOffset, to read the rest of a long one. Example: `0`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "firecrawl-gleif",
    capability: "entities/get",
    options: {
      ids: [],
      maxChars: 40000,
      offset: 0,
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "firecrawl-gleif",
  "capability": "entities/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "firecrawl-gleif",
    "capability": "entities/get",
    "options": {
      "ids": [],
      "maxChars": 40000,
      "offset": 0
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'firecrawl-gleif/entities/get' \
  --options '{"ids":[],"maxChars":40000,"offset":0}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "firecrawl-gleif",
  "capability": "entities/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "firecrawl-gleif",
  "capability": "entities/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "records": [
    {
      "dataset": "<dataset>",
      "snapshotId": "<snapshotId>",
      "id": "<id>",
      "docId": "<docId>",
      "sourceUrl": "<sourceUrl>",
      "title": "<title>",
      "docType": "<docType>",
      "publishedAt": "<publishedAt>",
      "fields": {},
      "markdown": "<markdown>",
      "text": {},
      "license": {}
    }
  ]
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Legal entity (LEI) by LEI

- Capability: `entities/get`
- Description: records: one per id found; notFound: each id with no record and why. Only records found are billed.
- Instructions: GLEIF Golden Copy record for one LEI: legal name, legal and headquarters address, jurisdiction, legal form, entity and registration status, registration authority and dates, managing LOU.
- Cost: 1 credit per record
- Capability file: [Legal entity (LEI) by LEI](https://alexandria.firecrawl.dev/agents/providers/firecrawl-gleif/entities/get)

Accepted options:
- `ids` (string[], required): 1 to 25 LEIs, such as 984500B50053D2J74975. A source URL or a docId is accepted too. Example: `[]`
- `include` (string[]): fields, markdown or both. Omit for both; ["fields"] skips the body. Example: `[]`
- `maxChars` (number): Most Markdown characters returned per record. Default 40000. Example: `40000`
- `offset` (number): Markdown character to start from: a record's text.nextOffset, to read the rest of a long one. Example: `0`

Response schema example:
```json
{
  "records": [
    {
      "dataset": "<dataset>",
      "snapshotId": "<snapshotId>",
      "id": "<id>",
      "docId": "<docId>",
      "sourceUrl": "<sourceUrl>",
      "title": "<title>",
      "docType": "<docType>",
      "publishedAt": "<publishedAt>",
      "fields": {},
      "markdown": "<markdown>",
      "text": {},
      "license": {}
    }
  ]
}
```
