Companies House · Authentication Profile

Companies House Authentication

Authentication

Companies House secures its APIs with apiKey, http, and oauth2 across 3 declared security schemes, as derived from its OpenAPI definitions.

CompaniesUK GovernmentBusiness RegistrationCompany SearchOfficersFiling HistoryInsolvencyChargesPersons of Significant ControlOpen Data
Methods: apiKey, http, oauth2 Schemes: 3 OAuth flows: API key in: header

Security Schemes

api_key apiKey
scheme: Basic · in: header (Authorization)
stream_key apiKey
scheme: Basic · in: header (Authorization)
oauth2 oauth2

Source

Authentication Profile

Raw ↑
generated: '2026-11-25'
method: searched
source: https://developer.company-information.service.gov.uk/authentication
docs: https://developer.company-information.service.gov.uk/authentication
related_docs:
- https://developer-specs.company-information.service.gov.uk/guides/authorisation
- https://developer.company-information.service.gov.uk/how-to-create-an-application
summary:
  types:
  - apiKey
  - http
  - oauth2
  api_key_in:
  - header
  note: >
    Three client credential types are issued by the Companies House Developer Hub:
    API key, stream key, and OAuth web client. API key and stream key are transmitted
    using HTTP Basic access authentication (RFC 2617) — the key is placed in the
    username position of the Basic credential and the password is left blank. OAuth
    web clients use HTTP Bearer authentication with an access token obtained through
    the OAuth 2.0 authorization_code grant.
schemes:
- name: api_key
  type: apiKey
  in: header
  parameter: Authorization
  scheme: Basic
  description: >
    API key sent in the HTTP Authorization header using Basic authentication. The
    API key is the username; the password is left blank. Used for GET requests to
    the Public Data API and Document API.
  example: 'Authorization: Basic bXlfYXBpX2tleTo='
  sources:
  - https://developer.company-information.service.gov.uk/authentication
  - https://developer-specs.company-information.service.gov.uk/guides/authorisation
  - openapi/companies-house-public-data-api-openapi.yml
  - openapi/companies-house-document-api-openapi.yml
- name: stream_key
  type: apiKey
  in: header
  parameter: Authorization
  scheme: Basic
  description: >
    Stream key sent in the HTTP Authorization header using Basic authentication
    (same mechanism as api_key). Issued as a separate credential type for Streaming
    API connections. Each account is limited to two concurrent streaming connections.
  sources:
  - https://developer.company-information.service.gov.uk/authentication
  - openapi/companies-house-streaming-api-openapi.yml
- name: oauth2
  type: oauth2
  flow: authorizationCode
  authorization_url: https://identity.company-information.service.gov.uk/oauth2/authorise
  token_url: https://identity.company-information.service.gov.uk/oauth2/token
  verify_url: https://identity.company-information.service.gov.uk/oauth2/verify
  description: >
    OAuth 2.0 authorization_code flow for end-user interaction with filing and
    account-scoped functionality. Developers register an OAuth web client in the
    Developer Hub to obtain a client_id and client_secret. The end user signs in
    to Companies House and may be required to provide a Company authentication
    code when the requested scopes contain a specific company number. Access tokens
    can be refreshed using the refresh_token grant. The Authorization header carries
    a Bearer token.
  grants:
  - authorization_code
  - refresh_token
  token_type: Bearer
  example: 'Authorization: Bearer my_access_token'
  sources:
  - https://developer.company-information.service.gov.uk/authentication
  - https://developer-specs.company-information.service.gov.uk/guides/authorisation
notes:
- The OAuth 2.0 service URLs above are the identity-service hosts referenced in
  the sandbox docs; the live identity host is identity.company-information.service.gov.uk
  and the sandbox host is identity-sandbox.company-information.service.gov.uk.

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/companies-house-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.