Search

The main endpoint for retrieving businesses is /companies/. When called without any parameters, this will return all available businesses in the database.

In order to perform searches, various filters are added to the companies. These can all be combined together; for example, to retrieve all manufacturing (SIC section D) companies near the centre of Oldham the query would be:

https://api2.redflagalert.net/v4/companies/?sic_section=D&postcode=OL11HD&distance=3miles

Results per page

By default a single search response page contains 50 results. This can be overridden by sending the results_per_page parameter as a valid integer:

https://api2.redflagalert.net/v4/companies/?postcode=OL11HD&results_per_page=100

Search Parameters

Various search filters are available and we expect these to be steadily added to as the API develops. If you require a search which is not currently available, please contact us to suggest it.

Last updated