After some investigation, I have discovered that there is an error in the documentation. The query parameter company_name has been changed to company_name_includes.
So sorry about this. I am trying to get the documentation corrected.
So a call to
https://api.company-information.service.gov.uk/advanced-search/companies?company_name_includes=vodaphone
will get something like
{
:
:
“top_hit”: {
“company_name”: “VODAPHONE LIMITED”,
“company_number”: “02373469”,
“company_status”: “active”,
“company_type”: “ltd”,
“kind”: “search-results#company”,
“links”: {
“company_profile”: “/company/02373469”
},
“date_of_creation”: “1989-04-18”,
“registered_office_address”: {
“address_line_1”: “Vodafone House”,
“address_line_2”: “The Connection”,
“locality”: “Newbury”,
“postal_code”: “RG14 2FN”,
“region”: “Berkshire”
},
“sic_codes”: [“70100”]
},
“items”: [{
“company_name”: “VODAPHONE LIMITED”,
“company_number”: “02373469”,
“company_status”: “active”,
“company_type”: “ltd”,
“kind”: “search-results#company”,
“links”: {
“company_profile”: “/company/02373469”
},
“date_of_creation”: “1989-04-18”,
“registered_office_address”: {
“address_line_1”: “Vodafone House”,
“address_line_2”: “The Connection”,
“locality”: “Newbury”,
“postal_code”: “RG14 2FN”,
“region”: “Berkshire”
},
“sic_codes”: [“70100”]
}],
“kind”: “search#advanced-search”,
“hits”: 1
}
Hope that helps (more)