It worked for me with the live API key:
Get: https://api.company-information.service.gov.uk/company/01624297
Authorization: Basic Auth (username: {your api key}, Password: blank)
Response:
{
“undeliverable_registered_office_address”: false,
“type”: “ltd”,
“date_of_creation”: “1982-03-24”,
“has_been_liquidated”: false,
“company_name”: “MICROSOFT LIMITED”,
“jurisdiction”: “england-wales”,
“accounts”: {
“overdue”: false,
“last_accounts”: {
“type”: “full”,
“period_end_on”: “2022-06-30”,
“made_up_to”: “2022-06-30”,
“period_start_on”: “2021-07-01”
},
“next_accounts”: {
“period_end_on”: “2023-06-30”,
“period_start_on”: “2022-07-01”,
“due_on”: “2024-03-31”,
“overdue”: false
},
“accounting_reference_date”: {
“day”: “30”,
“month”: “06”
},
“next_made_up_to”: “2023-06-30”,
“next_due”: “2024-03-31”
},
“company_number”: “01624297”,
“registered_office_address”: {
“address_line_1”: “Microsoft Campus”,
“region”: “Berkshire”,
“postal_code”: “RG6 1WG”,
“address_line_2”: “Thames Valley Park”,
“locality”: “Reading”
},
“sic_codes”: [
“62020”
],
“last_full_members_list_date”: “2016-06-24”,
“company_status”: “active”,
“has_insolvency_history”: false,
“etag”: “c12dfbc102246d5febcec29bf2718c4beb5e15ab”,
“has_charges”: true,
“previous_company_names”: [
{
“name”: “MICROSOFT EUROPE LIMITED”,
“ceased_on”: “1983-06-16”,
“effective_from”: “1982-05-25”
},
{
“name”: “DIALMAIN LIMITED”,
“ceased_on”: “1982-05-25”,
“effective_from”: “1982-03-24”
}
],
“confirmation_statement”: {
“overdue”: false,
“last_made_up_to”: “2022-06-23”,
“next_due”: “2023-07-07”,
“next_made_up_to”: “2023-06-23”
},
“links”: {
“self”: “/company/01624297”,
“filing_history”: “/company/01624297/filing-history”,
“officers”: “/company/01624297/officers”,
“charges”: “/company/01624297/charges”,
“persons_with_significant_control_statements”: “/company/01624297/persons-with-significant-control-statements”,
“persons_with_significant_control”: “/company/01624297/persons-with-significant-control”
},
“registered_office_is_in_dispute”: false,
“has_super_secure_pscs”: false,
“can_file”: true
}