# Changelog of LEI Lookup API: Legal Entity Identifiers & Company Ownership (`yourevenings/lei-company-lookup`) Actor

- **URL**: https://apify.com/yourevenings/lei-company-lookup/changelog.md
- **Full Actor documentation**: https://apify.com/yourevenings/lei-company-lookup.md

## Changelog

### Store copy (1 Nov 2026)

- Clearer Store title and description. No change to code, input, output rows or charging.

### 0.1, build 0.1.9 (1 Nov 2026)

- Fix: `hasDirectParent` and `hasUltimateParent` were always `false`, even on rows where `directParentLei` / `ultimateParentLei` were filled in. The code looked for a `related` link on GLEIF's parent relationships, but GLEIF marks a reported parent with `lei-record` and `relationship-record` links. Both flags now read those links, and are also set to `true` when the parent lookup returns a parent LEI. Rows with only a reporting exception stay `false`. No change to other fields or charging.

### 0.1, build 0.1.8 (31 Oct 2026)

- Input problems (no LEI in lookup mode, a bad country code or date, unknown status, no search filter, or a bad parent LEI) now give a free `invalid_input` status row that says what to fix, instead of a `source_error` row. No change to data rows or charging.

### 0.1, build 0.1.4 (30 Oct 2026)

- README Limits: monitor memory line. Actor description matches the Store listing.

### 0.1, build 0.1.3 (30 Oct 2026)

- Every record row carries `licence`, `licenceUrl` and `attribution` for GLEIF (CC0 1.0).
- Fixed: a search or subsidiaries list with more than 10,000 matches failed with a GLEIF "deep pagination" error once it reached the 10,000th result (monitor mode or a large `maxResults`). It now stops there with a free `scan_limit` row.

### 0.1, build 0.1.2 (30 Oct 2026)

- Records whose legal form is a trust are skipped and never charged, with free `skipped_trust` (lookup) and `skipped_trusts` (search and subsidiaries) status rows and a `skippedTrusts` count in SUMMARY. Trust companies and trust banks are still returned.
- Fixed: the legal form code filter was sent to GLEIF as `filter[entity.legalForm.id]`, which GLEIF rejects (HTTP 400); it now uses `filter[entity.legalForm]`.
- Outside monitor mode, a search stops after reading 1,000 records beyond the maximum results and adds a free `scan_limit` row, so a filter that matches mostly skipped records can't run for long.

### 0.1 (30 Oct 2026)

- First version: LEI lookup (up to 500 LEIs, check digits validated), search of the Global LEI Index, and direct or ultimate subsidiaries of a parent LEI.
- Direct and ultimate parents (or the reported exception) and legal form names added to each record.
- Sole-proprietor records (individuals) are skipped and never charged.
- Monitor mode (new or updated records) with a once-per-run alert event, free status rows and a SUMMARY record.
