PublicSearch
Search Swedish company bankruptcies (POST)
Multi-search body equivalent of the GET endpoint, on the bankruptcies_se collection. per_page is capped at 50.
Max+ tier
POSThttps://lens-api.tic.io/search-public/bankruptcies
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
resultsTypesenseCompanyBankruptcyDocumentTypesenseSearchResponse[] | nullHide child attributes
facet_countsTypesenseFacetCounts[] | nullShow child attributes
countsTypesenseFacetCountDetails[] | nullShow child attributes
countintegerhighlightedstring | nullvaluestring | nullfield_namestring | nullsampledbooleanstatsTypesenseFacetCountsStatsShow child attributes
total_valuesintegerlocalizedFieldNamestring | nullread-onlyfoundintegerhitsTypesenseCompanyBankruptcyDocumentHit[] | nullShow child attributes
documentTypesenseCompanyBankruptcyDocumentShow child attributes
idstring | nullcompanyIdinteger | nullregistrationNumberstring | nulllegalEntityTypestring | nulllocalCompanyCodestring | nullelfCodestring | nullregistrationDateinteger | nullmostRecentPurposestring | nullcompanyNamestring | nullbankruptcyStatusCodestring | nullbankruptcyStatusDescriptionSvstring | nullbankruptcyStatusDescriptionEnstring | nullsniCodesCompanyIndustryCode[] | nullShow child attributes
sni_2007Codestring | nullsni_2007Namestring | nullsni_2007Sectionstring | nullsni_2025Codestring | nullsni_2025Namestring | nullsni_2025Sectionstring | nullrankinteger | nullcourtCasestring | nullcourtNamestring | nullcourtCodestring | nullcourtEmailstring | nullinitiatedDateinteger | nullinitiatedBystring | nullterminatedDateinteger | nullrepealedDateinteger | nullhasTrusteebooleantrusteeNamestring | nulltrusteeCOstring | nulltrusteeAddressStreetstring | nulltrusteeAddressPostalCodestring | nulltrusteeAdddressCitystring | nullregisteredOfficeMunicipalitystring | nullregisteredOfficeMunicipalityCodestring | nullregisteredOfficeCountystring | nullregisteredOfficeCountyCodestring | nullmostRecentRegisteredAddressCompanyAddressGeopointShow child attributes
costring | nullstreetAddressstring | nullpostalCodestring | nullcitystring | nullcountryCodeAlpha3string | nulllocationnumber[] | nullfirstSeenAtinteger | nulllantmaterietLocationalAddressIdstring | nulllantmaterietLocatedOnPropertyIdstring | nulladdressIdinteger | nullpropertyIdinteger | nulllantmaterietLocationalSupplementalNumberstring | nullmostRecentFinancialSummaryCompanyFinancialSummaryShow child attributes
periodStartintegerperiodEndintegerrs_NetSalesKinteger | nullrs_OtherOperatingIncomeKinteger | nullrs_OperatingProfitOrLossKinteger | nullrs_SumFinancialItemsKinteger | nullrs_ProfitAfterFinancialItemsKinteger | nullbs_TotalAssetsKinteger | nullfn_NumberOfEmployeesnumber | nullkm_OperatingMarginnumber | nullkm_NetProfitMarginnumber | nullkm_EquityAssetsRationumber | nullkm_GrossMarginnumber | nullisAuditedboolean | nullsoftwarestring | nullapplicationIfAnystring | nullisPublicSectorVendorbooleanapproxInvoicedToPublicSectorPublicSector[] | nullShow child attributes
yearintegerapproxInvoicednumberlastUpdatedinteger | nullurlSlugstring | nullisCeasedbooleanceasedDateinteger | 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_hitsTypesenseCompanyBankruptcyDocumentGroupedHitsShow child attributes
group_keystring[] | nullhitsTypesenseCompanyBankruptcyDocumentHit[] | nullShow child attributes
documentTypesenseCompanyBankruptcyDocumentShow child attributes
idstring | nullcompanyIdinteger | nullregistrationNumberstring | nulllegalEntityTypestring | nulllocalCompanyCodestring | nullelfCodestring | nullregistrationDateinteger | nullmostRecentPurposestring | nullcompanyNamestring | nullbankruptcyStatusCodestring | nullbankruptcyStatusDescriptionSvstring | nullbankruptcyStatusDescriptionEnstring | nullsniCodesCompanyIndustryCode[] | nullcourtCasestring | nullcourtNamestring | nullcourtCodestring | nullcourtEmailstring | nullinitiatedDateinteger | nullinitiatedBystring | nullterminatedDateinteger | nullrepealedDateinteger | nullhasTrusteebooleantrusteeNamestring | nulltrusteeCOstring | nulltrusteeAddressStreetstring | nulltrusteeAddressPostalCodestring | nulltrusteeAdddressCitystring | nullregisteredOfficeMunicipalitystring | nullregisteredOfficeMunicipalityCodestring | nullregisteredOfficeCountystring | nullregisteredOfficeCountyCodestring | nullmostRecentRegisteredAddressCompanyAddressGeopointmostRecentFinancialSummaryCompanyFinancialSummaryapplicationIfAnystring | nullisPublicSectorVendorbooleanapproxInvoicedToPublicSectorPublicSector[] | nulllastUpdatedinteger | nullurlSlugstring | nullisCeasedbooleanceasedDateinteger | 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 · bankruptcies
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/bankruptcies" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "*",
"query_by": "companyName",
"per_page": 10,
"page": 1
}'Enter your API key to run.