We noticed that the advanced search API has been published (Yay!).
However, we couldn’t find a doc reference on how to use the search parameters, especially company_name
For example, we tried the following
https://api.company-information.service.gov.uk/advanced-search/companies?company_name=biffa+waste+services
which returns 10000 results, all of them irrelevant.
This is the equivalent of: Search results - Advanced company search - Find and update company information - GOV.UK
which in turn returns the correct 3 results.
1 Like
You can do this using the query:
https://api.company-information.service.gov.uk/advanced-search/companies?company_name_includes=biffa+waste+services
This is not documented so may well change but is what is called if you look at the network activity from the search page.
3 Likes
Any news on the API address search?
james7
March 18, 2022, 1:05pm
4
It’d be really good if the documentation could be updated to reflect that compnay_name_includes is the correct route, not company_name as I spent quite a lot of time trying to bug fix my code as I got the same results every time with company_name.
2 Likes