Checks to find any matching companies filtered on company name and/or postcode. You can filter on any partial name or partial postcode - a wildcard is assumed.
The status parameter allows you to restrict the results to only the status code you want. The most useful of these is "Active" which restricts only currently active companies.
The return value includes an array of CompaniesHousePartialResult records that include a summary of the information of each company that matches the search. The details from one or more of these matches can then be passed to the GetCompanyDetails method to retrieve the full details of that match.
To connect to this service you'll need to use one of these endpoints:
| Protocol | URL |
|---|---|
| JSON |
JSON
https://webservices.data-8.co.uk/CompaniesHouse/FindCompanyByNameOrPostcode.json |
| OPEN API |
OPEN API
https://webservices.data-8.co.uk/swagger/CompaniesHouse/swagger.json |
| SOAP |
SOAP
https://webservices.data-8.co.uk/companieshouse.asmx |
| MCP |
MCP
https://webservices.data-8.co.uk/mcp/companieshouse
find_company_by_name_or_postcode) |
| Name | Description |
|---|---|
| username | username
See the available authentication methods. If you are using username & password authentication, specify the username to authenticate as. If you are using API Key authentication and you are not using the JSON, Javascript or ADO APIs, use your API Key here with the prefix |
| password | password
If you are using username & password authentication, specify the password to use for authentication. Otherwise leave this blank. |
| companyname | companyname
The company name to search for. Fuzzy matching is applied, so this does not need to be exact. Leave as |
| postcode | postcode
The postcode to search in. Note that this is based on the registered address of the company, not any trading addresses. Leave as |
| companystatus | companystatus
The status a company must have in order to be included in the results. This filter is ignored if it is left as The most useful value for this parameter is normally |
| options | options
An array of options that control further details of how this method operates. See the |
option parameter. Each option is specified as a key/value pair.
The list of available names is shown below, along with a description of the allowable values for that name.
| Name | Description |
|---|---|
| Common Options | |
| ApplicationName |
ApplicationName
Gives the name of the calling application - used to break down usage by application in the usage reports on the dashboard.
|
| Name | Description |
|---|---|
| Status | Status
Indicates whether the method call was successful, or if some error occurred. If the |
| Results | Results
Contains an array of
|
Requests to this method do not consume credits, but you must have some CompaniesHouse credits available.
Request Format
{
"companyname": "Data8",
"postcode": "",
"companystatus": "Active",
"options": {}
}
Response Format
{
"Status": {
"Success": true,
"CreditsRemaining": 1000
},
"Results": [
{
"CompanyName": "DATA8 LIMITED",
"CompanyNumber": "04773536",
"CompanyCategory": "Private Limited Company",
"CompanyStatus": "Active",
"Town": "WREXHAM"
},
{
"CompanyName": "DATA85 LTD",
"CompanyNumber": "10719428",
"CompanyCategory": "Private Limited Company",
"CompanyStatus": "Active",
"Town": ""
}
]
}
Depending on your chosen authentication method you will need to modify this request slightly:
API Key
https://webservices.data-8.co.uk/CompaniesHouse/FindCompanyByNameOrPostcode.json?key=your-api-keyand do NOT include the
username or password properties in the request JSON document.
Username and Password
https://webservices.data-8.co.uk/CompaniesHouse/FindCompanyByNameOrPostcode.jsonand include
username and password properties in the request JSON document.Do not use for client-side requests!
JWT Token
https://webservices.data-8.co.uk/CompaniesHouse/FindCompanyByNameOrPostcode.jsonInclude the JWT token in the request headers as:
Authorization: Bearer your-jwt-token| Parameter | Value |
|---|---|
| Parameters | |
| companyname | companyname
|
| postcode | postcode
|
| companystatus | companystatus
|
| Common Options | |
| ApplicationName |
ApplicationName
|
Credits Remaining Today: 5 | |