Repository navigation
feat(records): OCCRP Aleph and UK Companies House sources - #154
Merged
Merged
Conversation
Both need the user's personal API key (env only), withheld over Tor, with a local request budget, no redirects, capped responses and cleaned strings. Fetched entities are imported through ftm_import. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LaGpHLuSRHzGARb38X7YS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LaGpHLuSRHzGARb38X7YS
…es House read_capped turns off transport retries so every try is counted against the provider's limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LaGpHLuSRHzGARb38X7YS
…el, changelog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LaGpHLuSRHzGARb38X7YS
…ot empty Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016LaGpHLuSRHzGARb38X7YS
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two international records sources, OCCRP Aleph and UK Companies House. Both are reachable through
records search/fetch, andopenfoia searchpicks them up automatically. Part of #55.OCCRP Aleph (now "Aleph Pro")
What's in it: cross-border corporate registries, leaks and court records from 139 countries, as FollowTheMoney entities.
Anonymous search no longer works. This was checked live on 2026-11-19: anonymous calls get 401, even though Aleph's FAQ still describes a public API.
OPENFOIA_ALEPH_API_KEY(env only). It is withheld over Tor.Terms (updated 2026-03-12):
OpenFOIA applies its own cap of 30 requests a minute and 500 a day;
OPENFOIA_ALEPH_IGNORE_BUDGET=1lifts it. The docs say the cap is ours, not OCCRP's.Fetching: a fetch stores the entity and its expanded relations (2 requests). The people and companies are imported as FtM entities into the entity graph, with links.
UK Companies House
OPENFOIA_COMPANIES_HOUSE_API_KEY, sent as HTTP Basic, and withheld over Tor.officer:<id>gets a person's appointments. Both feed the entity graph.Both sources
unavailable_reason()makesopenfoia searchskip the source with a reason, and the CLI stops before sending anything...).nextlinks are never followed, and Companies House officer and Document API links must match exact paths and hosts.What's verified and what isn't
Checks
Generated by Claude Code