Companies House Document Location API

Document Location

GitHub OpenAPI

Operations 1

GET /document/{document_id}/content Fetch a document #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/companies-house:companies-house-documentlocation-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

companies-house-documentlocation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Document Location API
  description: API suite providing company filing history document metadata and downloads.
servers:
- url: https://document-api.company-information.service.gov.uk
- url: http://document-api.company-information.service.gov.uk
security:
- api_key: []
tags:
- name: documentLocation
  description: Document Location
paths:
  /document/{document_id}/content:
    get:
      summary: Fetch a document
      tags:
      - documentLocation
      parameters:
      - name: document_id
        in: path
        description: the id of the document
        required: true
        schema:
          type: string
      - name: Accept
        description: Gives the Content-Type that the document will be returned as. If the Content-Type is unsupported, a 406 error will be generated. The Content-Types that the document is available as can be found by requesting the metadata for the document.
        in: header
        required: true
        schema:
          type: string
      responses:
        '302':
          description: Document location
          headers:
            Location:
              description: A redirect is being made to the resource to be returned
              schema:
                type: string
        '401':
          description: Not authorised to retrieve document
      operationId: getDocumentByDocumentIdContent
      x-operation-id-source: derived
components:
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: header