PublicSearch
Search workplaces (POST)
Multi-search body equivalent of the GET endpoint, on the workplaces collection. per_page is capped at 50.
Max+ tier
POSThttps://lens-api.tic.io/search-public/workplaces
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Bodyapplication/json
collectionstring | nullqstring | nullquery_bystring | nullfilter_bystring | nullsort_bystring | nullper_pageinteger | nullpageinteger | nullinclude_fieldsstring | nullexclude_fieldsstring | nullResponses
Typesense multi-search response · application/json
resultsTypesenseCompanyWorkplaceTypesenseSearchResponse[] | nullHide child attributes
facet_countsTypesenseFacetCounts[] | nullShow child attributes
countsTypesenseFacetCountDetails[] | nullShow child attributes
countintegerhighlightedstring | nullvaluestring | nullfield_namestring | nullsampledbooleanstatsTypesenseFacetCountsStatsShow child attributes
total_valuesintegerlocalizedFieldNamestring | nullread-onlyfoundintegerhitsTypesenseCompanyWorkplaceHit[] | 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 | nullgrouped_hitsTypesenseCompanyWorkplaceGroupedHitsShow child attributes
group_keystring[] | nullhitsTypesenseCompanyWorkplaceHit[] | nullShow child attributes
documentTypesenseCompanyWorkplaceShow child attributes
idstring | nullcompanyWorkplaceIdintegerworkplaceCodeinteger | nullfirstSeenAtinteger | nullworkplaceCompaniesCompanyWorkplaceCompany[] | nullworkplaceUnitsCompanyWorkplaceUnit[] | nullworkplaceNameCompanyWorkplaceName[] | nullworkplaceTypeinteger | nullworkplaceTypeDescriptionSvstring | nullemployeesRangeTypeinteger | nullemployeesRangeTypeDescriptionSvstring | nullmostRecentVisitingAddressCompanyWorkplaceAddressGeopointmostRecentMailingAddressCompanyWorkplaceAddressGeopointsniCodesCompanyWorkplaceIndustryCode[] | nullstatusCompanyWorkplaceStatus[] | 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_paramsRequestParamsShow 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 -X POST "https://lens-api.tic.io/search-public/workplaces" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "*",
"query_by": "workplaceCompanies.registrationNumber",
"per_page": 10,
"page": 1
}'Enter your API key to run.