D61 — Who is behind a company is its chain of controlling companies, from the register; people are counted, never named¶
- Status: Accepted — amends D37; amended by D63 (the company pages read what the graph believes, as of the day the site is built)
- Date: 2026-09-29
- Origin: slice 36. Campaigners scrutinising Scottish data-centre proposals asked who is behind each company. The applicants are SPVs, among them six "Apatura DC Project N Ltd", and the graph could not say who controls them.
- Area: findings
Decision¶
kg import companies-house-api <file>reads the Companies House API for each organisation behind a scope's sites: applicants on their permits, and their developers, operators and owners. It also reads any company listed by number.- A name becomes a company number only by an exact match on the register (case, Ltd or Limited, trailing punctuation). Anything else is kept as a lead, never guessed.
- Control is an edge, and the chain is followed. A company with significant
control becomes
organisation.controlled_by: - dated from
notified_ontoceased_on; - with attributes from its natures of control (
sharesandvotesas a band,appoints_directors,significant_influence, andasa firm or a trust).
The chain is followed through controllers on the register, to max_depth,
with loops caught. A controller registered elsewhere ends it, and the
report says where.
- controlled_by replaces subsidiary_of, which was declared and never
used. The register records control, not subsidiary status, and a pack
holds one canonical edge between organisations (D9).
- A family is confirmed by control, never by name (D37b). Its name is
searched for, and a company is added only when its own control record names
a company already in the chain. A sibling with no site is kept as a lead
(no_site), so a site can be looked for before any application is filed.
- People are counted, never named. An individual with significant control
gives:
- a count (individual_controllers);
- their control, in the register's words (individual_control).
A director gives a count (active_directors). A protected (super-secure)
entry is counted as such.
- Each response is reduced to rows as it is read. A person's name, birth
date, nationality and address are dropped there, so no claim, event,
capture or reads-log entry holds one.
- The public site links to the register's own page, which names them.
- The key comes from the environment, or else from a .env file beside
kg.yaml (~/.kg/.env), outside any repository. COMPANIES_HOUSE_API_KEY is
sent as HTTP Basic auth to that host alone (fetch.CREDENTIALS). It is never
in a URL, kg.yaml, a capture or the reads log, and .env is git-ignored.
- Without a key the importer refuses before asking anything. Replayed
sessions need none.
- The API gets its own pause and daily cap (polite.HOST_LIMITS: 0.6 s and
2,000 a day), under its published limit of 600 requests in 5 minutes.
Pages are read once within refresh_hours, and once in a run (D58).
- Where it shows:
- kg path from a site to the top of its chain;
- the site's "Who is behind them" (companies.html) and a line on each
site page;
- the pack's companies-house channel template for Scotland.
Why¶
- The graph could not close a naming convention. The free bulk product carries no control, so "is Apatura DC Project 1 an Apatura company" was open since slice 10. The API states it, dated, with the nature of control.
- Naming the people would make the site a register of private individuals.
- The project stores no member of the public's name.
- A republisher of officer and PSC data becomes a data controller under UK GDPR, which Companies House says is the republisher's responsibility.
Counting, describing the control, and linking to the register gives a reader everything, one click from the authority that publishes it. - A family's name is not evidence. A look-alike with a different controller is a different company; only its own control record joins it to the family.
Alternatives¶
- The 2.2 GB PSC snapshot. It has everything, but no officers, and it is a daily file, not a lookup. The API reads the few companies a scope needs, within its limits.
- Name controllers and directors. Chosen against with the person, for the reasons above.
- Group by registered office. A formation agent's address holds hundreds of unrelated companies (D37b).