Find a business telephone number

Find out what you can do with our API...

Back to Phone Numbers

Full API method list


API method to use: business_search


Search the phone book and companies house for a business.

Updated daily, you won't find a more up to date source of company/business information.

We employ a method of 'fuzzy-matching' when performing searches, meaning that even if a name or address is inaccurate or entered incorrectly, we will search the closest possible matches. If there is information on a company/business available, we'll find it.

Most limited and non-limited companies return a company number/ID which can be used with the company_details method to obtain full information on that organisation.

Mandatory Parameters

Name Description
api_key or javascript_key Use your API key if invoking server-side. If invoking from the browser via JavaScript, generate a JavaScript key using the javascript_key method.

Optional Parameters

Name Description
client You can optionally include an identifier for your final client or user. This is logged in your usage log and you will be able to view your usage statistics by client.
output Set to json for a JSON response; the default response is XML. Not applicable to the SOAP API.
callback When using JSON, specify a JSONP wrapper in which the JSON response is to be wrapped.
name The business name.
use_non_company Set to false to NOT search phone book data. Defaults to true.
use_company Set to false to NOT search company data. Defaults to true.
company_number Specify a company number to check if it is valid.
records_per_page Specify the number of records to return on the current page. We offer page caching for this method - once your search is invoked, we store the pages on our server for 60 minutes; a subsequent request for a page of results from that search is displayed from the cache, at no charge to you. See result page caching.
page_num Zero based integer - current page number to return.
place Enter a UK place, postcode, or postcode area. Do not specify this to do a national UK search.
street The street name.
premises The building number or name.

Returned Values

The XML response is contained within a <business_search_res> element.

Name Description
status Returns ok if the operation has succeeded, or error if an error has occurred; Returns the error_code for error details.
error_code Returns the error code when the status is error. See below for error codes.
t2a_version_number The current API version number.
credit_used The number of credits used in order to execute the request.
mode Returns normal or test when executed in the free test mode.

An array of business records.

place_list An array of place records. This is present if the place name is ambiguous. No charge is made when a place_list is retuned.

The total number of records, irrespective of the number displayed on any page.

This is only used when a business_list is present.


Current page being displayed, a zero-based integer.

This is only used when a business_list is present.

Error Codes

See the common error codes. There are no errors which are specific to this method.

Free Test Mode

When operating in the free test mode errors are returned if mandatory parameters are missing, or it returns a dummy data response, in an identical format to a real response.

Note that the mode is returned as test when the method is operating in the free test mode.

The free test mode for this method operates in the following manner:-

  • If the place parameter is set to leeds, a place_list is returned.
  • If not, a dummy business_list is returned.