Skip to the content

FindCompanyByNameAndAddress

Find companies matching a name and address search

Live Demo

To connect to this service you'll need to use one of these endpoints:

JSON
Open API
SOAP

Description

Checks to find any matching companies at the full address supplied.

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.

Note that this search will only find results where the company is registered at the address supplied in the input.Address. If the address you supply is a different trading address you may not receive the results you expect.

Credit Usage

Requests to this method do not consume credits, but you must have some CompaniesHouse credits available.

Parameters

The following parameters can be supplied to this method

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 apikey-, e.g. apikey-ABCD-1234-EFGH-5678
password

password

If you are using username & password authentication, specify the password to use for authentication. Otherwise leave this blank.
record

record

A BusinessInputRecord structure with the following properties:

  • CompanyName - set this to the company name to search for
  • Address - a string array containing the address to search for the company at

The structure also has a Name property which is not used in this method.

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 null or "".

The most useful value for this parameter is normally "Active", so only currently active companies are returned.

Advanced Options

The following options can be specified as part of 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.

Common Options
Name Description
ApplicationName

ApplicationName

Gives the name of the calling application - used to break down usage by application in the usage reports on the dashboard

Results

This method returns an object containing the following fields:

Status

Status

Indicates whether the method call was successful, or if some error occurred. If the Success field is true, the other results described below can be used to get the results of the method. If Success is false, some error occurred in calling the method, such as the authentication failed or the account is out of credits. The details of the error can be obtained from the ErrorMessage field, and any other results should be ignored
Results

Results

Contains an array of CompaniesHousePartialResult structures that contain a summary of the matching companies. Each entry in the array has the following properties:

  • CompanyName - the legal name of the company
  • CompanyNumber - the company registration number. Pass this number to the GetCompanyDetails method to get more information on the company
  • CompanyCategory - the category for the company (Public Limited Company, Private Limited Company etc.)
  • CompanyStatus - the status of the company (Active, Dissolved etc.)
  • Town - the town in which the company is registered

Live Demo

record

CompanyName

Name

Sorry, this parameter type is not currently supported in Live Demo

Address

Sorry, this parameter type is not currently supported in Live Demo
companystatus
options
Name Value
Common Options

Sample Code