Search companies

GET {{baseUrl}}/search?freeText=TestKOMMUNE

Search companies matching query string parameters.

Request Params

KeyDatatypeRequiredDescription
requestKeystringUsed when paging in a previous searched result
pageSizestringNumber of results to return per pagination page
fromstringfirst result to return from the resultset that is being paged through
townstringTown the searched for company should be registered in
townstringTown the searched for company should be registered in
communestringCommune the searched for company should be registered in
communestringCommune the searched for company should be registered in
zipCodestringZip code the searched for company should be registered in
zipCodestringZip code the searched for company should be registered in
industryCodestringThe primary industry code the company to search for belongs to
industryCodestringThe primary industry code the company to search for belongs to
legalGroupCodestringThe legal group code for the type of company to search for
statusCodestringStatus code that the searched for company should be referenced as
companyRegistrationDatestringThe date the company searched for should have been registered, range input with : between is accepted
numberCompanyUnitsstringNumber of units the company searched for should have, range input with : between is accepted
numberEmployeesIntervalstringNumber of employees (interval) the company searched for should have
legalGroupTextstringThe legal group name for the type of company to search for
legalGroupTextstringThe legal group name for the type of company to search for
freeTextstringSearch 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":{"commune":"\u003cobject\u003e","industryCode":"\u003cobject\u003e","legalGroupCode":"\u003cobject\u003e","legalGroupText":"\u003cobject\u003e","numberCompanyUnits":"\u003cobject\u003e","numberEmployeesInterval":"\u003cobject\u003e","statusCode":"\u003cobject\u003e","town":"\u003cobject\u003e","zipCode":"\u003cobject\u003e"},"next":"\u003cstring\u003e","previous":"\u003cstring\u003e","requestKey":"\u003cstring\u003e"}