PublicSearch
Search workplaces (GET)
Searches the workplaces collection using standard query-string parameters. per_page is capped at 50.
Max+ tier
GEThttps://lens-api.tic.io/search-public/workplaces
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Responses
Typesense search response · application/json
facet_countsTypesenseFacetCounts[] | nullHide child attributes
countsTypesenseFacetCountDetails[] | nullShow child attributes
countintegerhighlightedstring | nullvaluestring | nullfield_namestring | nullsampledbooleanstatsTypesenseFacetCountsStatsShow child attributes
total_valuesintegerlocalizedFieldNamestring | nullread-onlyfoundintegerhitsTypesenseCompanyWorkplaceHit[] | nullHide child attributes
documentTypesenseCompanyWorkplaceShow child attributes
idstring | nullcompanyWorkplaceIdintegerworkplaceCodeinteger | nullfirstSeenAtinteger | nullworkplaceCompaniesCompanyWorkplaceCompany[] | nullShow child attributes
companyIdintegerfromDateinteger | nulltoDateinteger | nullregistrationNumberstring | nullmostRecentNamestring | nulllegalEntityTypestring | nulllocalCompanyCodestring | nullelfCodestring | nullregistrationDateinteger | nullceasedDateinteger | nullisCeasedbooleanworkplaceUnitsCompanyWorkplaceUnit[] | nullShow child attributes
companyIdintegerunitIdentifierintegerfirstSeenAtinteger | nulllastSeenAtinteger | nullworkplaceNameCompanyWorkplaceName[] | nullShow child attributes
nameOrIdentifierstring | nullfirstSeenAtinteger | nulllastSeenAtinteger | nullworkplaceTypeinteger | nullworkplaceTypeDescriptionSvstring | nullemployeesRangeTypeinteger | nullemployeesRangeTypeDescriptionSvstring | nullmostRecentVisitingAddressCompanyWorkplaceAddressGeopointShow child attributes
costring | nullstreetAddressstring | nullpostalCodestring | nullread-onlycitystring | nullread-onlycountryCodeAlpha3string | nulllocationnumber[] | nullread-onlyfirstSeenAtinteger | nulllantmaterietLocationalAddressIdstring | nulllantmaterietLocatedOnPropertyIdstring | nulllantmaterietLocationalSupplementalNumberstring | nullmunicipalityCodestring | nullcountyCodestring | nullnykostring | nullnykoYearinteger | nulladdressIdinteger | nullmostRecentMailingAddressCompanyWorkplaceAddressGeopointShow child attributes
costring | nullstreetAddressstring | nullpostalCodestring | nullread-onlycitystring | nullread-onlycountryCodeAlpha3string | nulllocationnumber[] | nullread-onlyfirstSeenAtinteger | nulllantmaterietLocationalAddressIdstring | nulllantmaterietLocatedOnPropertyIdstring | nulllantmaterietLocationalSupplementalNumberstring | nullmunicipalityCodestring | nullcountyCodestring | nullnykostring | nullnykoYearinteger | nulladdressIdinteger | nullsniCodesCompanyWorkplaceIndustryCode[] | nullShow child attributes
sni_2007Codestring | nullsni_2007Namestring | nullsni_2007Sectionstring | nullsni_2025Codestring | nullsni_2025Namestring | nullsni_2025Sectionstring | nullrankinteger | nullstatusCompanyWorkplaceStatus[] | nullShow child attributes
statusTypestringstatusDateinteger | nullstatusDescriptionstring | nullgeo_distance_metersanyhighlightanyhighlightsHighlightElement[] | nullShow child attributes
fieldstring | nullmatched_tokensstring[] | nullsnippetstring | nulltext_matchnumber | nulltext_match_infoTextMatchInfoShow child attributes
best_field_scorestring | nullbest_field_weightinteger | nullfields_matchedinteger | nullnum_tokens_droppedinteger | nullscorestring | nulltokens_matchedinteger | nulltypo_prefix_scoreinteger | nullgrouped_hitsTypesenseCompanyWorkplaceGroupedHitsHide child attributes
group_keystring[] | nullhitsTypesenseCompanyWorkplaceHit[] | nullShow child attributes
documentTypesenseCompanyWorkplaceShow child attributes
idstring | nullcompanyWorkplaceIdintegerworkplaceCodeinteger | nullfirstSeenAtinteger | nullworkplaceCompaniesCompanyWorkplaceCompany[] | nullShow child attributes
companyIdintegerfromDateinteger | nulltoDateinteger | nullregistrationNumberstring | nullmostRecentNamestring | nulllegalEntityTypestring | nulllocalCompanyCodestring | nullelfCodestring | nullregistrationDateinteger | nullceasedDateinteger | nullisCeasedbooleanworkplaceUnitsCompanyWorkplaceUnit[] | nullShow child attributes
companyIdintegerunitIdentifierintegerfirstSeenAtinteger | nulllastSeenAtinteger | nullworkplaceNameCompanyWorkplaceName[] | nullShow child attributes
nameOrIdentifierstring | nullfirstSeenAtinteger | nulllastSeenAtinteger | nullworkplaceTypeinteger | nullworkplaceTypeDescriptionSvstring | nullemployeesRangeTypeinteger | nullemployeesRangeTypeDescriptionSvstring | nullmostRecentVisitingAddressCompanyWorkplaceAddressGeopointShow child attributes
costring | nullstreetAddressstring | nullpostalCodestring | nullread-onlycitystring | nullread-onlycountryCodeAlpha3string | nulllocationnumber[] | nullread-onlyfirstSeenAtinteger | nulllantmaterietLocationalAddressIdstring | nulllantmaterietLocatedOnPropertyIdstring | nulllantmaterietLocationalSupplementalNumberstring | nullmunicipalityCodestring | nullcountyCodestring | nullnykostring | nullnykoYearinteger | nulladdressIdinteger | nullmostRecentMailingAddressCompanyWorkplaceAddressGeopointShow child attributes
costring | nullstreetAddressstring | nullpostalCodestring | nullread-onlycitystring | nullread-onlycountryCodeAlpha3string | nulllocationnumber[] | nullread-onlyfirstSeenAtinteger | nulllantmaterietLocationalAddressIdstring | nulllantmaterietLocatedOnPropertyIdstring | nulllantmaterietLocationalSupplementalNumberstring | nullmunicipalityCodestring | nullcountyCodestring | nullnykostring | nullnykoYearinteger | nulladdressIdinteger | nullsniCodesCompanyWorkplaceIndustryCode[] | nullShow child attributes
sni_2007Codestring | nullsni_2007Namestring | nullsni_2007Sectionstring | nullsni_2025Codestring | nullsni_2025Namestring | nullsni_2025Sectionstring | nullrankinteger | nullstatusCompanyWorkplaceStatus[] | nullShow child attributes
statusTypestringstatusDateinteger | nullstatusDescriptionstring | nullgeo_distance_metersanyhighlightanyhighlightsHighlightElement[] | nullShow child attributes
fieldstring | nullmatched_tokensstring[] | nullsnippetstring | nulltext_matchnumber | nulltext_match_infoTextMatchInfoShow child attributes
best_field_scorestring | nullbest_field_weightinteger | nullfields_matchedinteger | nullnum_tokens_droppedinteger | nullscorestring | nulltokens_matchedinteger | nulltypo_prefix_scoreinteger | nullout_ofintegerpageintegerrequest_paramsRequestParamsHide child attributes
collection_namestring | nullfirst_qstring | nullper_pageinteger | nullqstring | nullsearch_cutoffboolean | nullsearch_time_msintegerUpstream Typesense error
Query builder
Compose query_by, filter_by and sort_by from the collection's fields and run the search through the proxy.
Query builder · workplaces
Authorization
Stored in this browser only (until you forget it) and sent as the x-api-key header through the documentation proxy.
filter_by
sort_by
Request
curl "https://lens-api.tic.io/search-public/workplaces?q=*&query_by=workplaceCompanies.registrationNumber&per_page=10&page=1" \
-H "x-api-key: YOUR_API_KEY"Enter your API key to run.