Search companies
GET {{baseUrl}}/search?freeText=Company P
Search companies matching query string parameters.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
requestKey | string | Used when paging in a previous searched result | |
pageSize | string | Number of results to return per pagination page | |
from | string | first result to return from the resultset that is being paged through | |
town | string | Town the searched for company should be registered in | |
town | string | Town the searched for company should be registered in | |
zipCode | string | Zip code the searched for company should be registered in | |
zipCode | string | Zip code the searched for company should be registered in | |
domicileCode | string | Domicile code the searched for company should be registered in | |
domicileCode | string | Domicile code the searched for company should be registered in | |
domicileText | string | Domicile text the searched for company should be registered in | |
domicileText | string | Domicile text the searched for company should be registered in | |
industryCode | string | The primary industry code the company to search for belongs to | |
industryCode | string | The primary industry code the company to search for belongs to | |
legalGroupCode | string | The legal group code for the type of company to search for | |
legalGroupText | string | The legal group text for the type of company to search for | |
statusCode | string | Status code that the searched for company should be referenced as | |
companyRegistrationDate | string | The date the company searched for should have been registered, range input with : between is accepted | |
freeText | string | Search by either company name or company id |
RESPONSES
status: OK
{"hitCount":"\u003cinteger\u003e","hits":[{"companyId":"\u003cstring\u003e","companyName":"\u003cstring\u003e","legalGroupCode":"\u003cstring\u003e","legalGroupText":"\u003cstring\u003e","town":"\u003cstring\u003e"},{"companyId":"\u003cstring\u003e","companyName":"\u003cstring\u003e","legalGroupCode":"\u003cstring\u003e","legalGroupText":"\u003cstring\u003e","town":"\u003cstring\u003e"}],"metrics":{"domicileCode":"\u003cobject\u003e","domicileText":"\u003cobject\u003e","industryCode":"\u003cobject\u003e","legalGroupCode":"\u003cobject\u003e","legalGroupText":"\u003cobject\u003e","postTown":"\u003cobject\u003e","postZipCode":"\u003cobject\u003e","statusCode":"\u003cobject\u003e"},"next":"\u003cstring\u003e","previous":"\u003cstring\u003e","requestKey":"\u003cstring\u003e"}