Search Company through Town Name

I want to search company through Town Name. as an Example
In search box i type Sandhurst as a town name , as a result I get all company name existing in Sandhurst
Kindly guide if there is any possible method in company house API through which we can list company name based on City or Town search

You may want to check this thread out:

I have no idea if it’s still supported or not though.

Thank you Ash.
Yes, as Ash pointed out, there is an experimental search facility that allows you to restrict search terms to addresses.
so you could try adding
location:“sandhurst” to your search term, so
search/companies?q=electrical+location%3A"Sandhurst"

Please NOTE:
It is not officially released or supported and maybe removed in future releases.
You cannot use this to find ALL companies in a particular town due to restrictions in the number of search results returned.