With our search for bankruptcies you can search by text and data within bankruptcies and visualize bankruptcies over geographic areas and industries.

We provide an easy to use search API based on Typesense lightning-fast search database. That means that all features described in Typesense API version 27 is available in our API. Data is continously reindexed as new data arrives.

Search index is stored on RAM memory meaning requests to our search serves very fast and you can use it for search-as-you-type, autocomplete and other applications.

We today provide four rich search collections:

With our search you can query (query_by) based on a number fields listed in the next chapter.

Examples on what you can query on:

  • Bankruptcies per day, week, month, year
  • Bankruptcies per sector, industry type per SNI code
  • Trustee
  • Status

The response model (schema) depends on your query and if you use faceting. If you do plain search we have added to our OpenAPI Schema the default response model.

OpenAPI Schema

Look for the model name TypesenseCompanyBankruptcyDocument in the schema definition.

Bankruptcy status codes

Please note that filed applications have bankruptcyStatusCode 255. If a bankruptcy is commenced the status code would change to 20 (from 255). If the status code keeps being 255 it means that the application could have been withdrawn, still pending court decision or that the bankruptcy is not monitored by Swedish companies registration office. Therefore 255 doesn’t not mean that the proceedings have commenced.

These are the status codes that could appear in bankruptcyStatusCode:

CodeSwedish textEnglish textProperty for event date
20Konkurs inleddBankruptcy proceedings commencedinitiatedDate
21Konkurs avslutadBankruptcy proceedings terminatedterminatedDate
22Konkurs avslutad med överskottBankruptcy terminated with surplusterminatedDate
24Konkurs upphävd av rättBankruptcy repealed by courtrepealedDate
255KonkursansökanBankruptcy application filedinitiatedDate

Fields indexed

The following fields are currently indexed in memory. These can be used in the query_by and filter_by parameter.

initiatedDate contains the date when the bankruptcy was commenced (status code 20). But in the event that the bankruptcy has not started it will represented the filed date at the court (status code 255).

FieldTypeDescription
companyIdInt32Our global internal company identifier
companyNameStringThe name in the financial report
registrationNumberStringThe local registration number in Sweden
legalEntityTypeStringThe legal entity type as appeared locally
localCompanyCodeStringThe local code for the legal entity type
elfCodeStringAn ISO code for the legal entity type (ISO 20275: Entity Legal Forms Code)
registrationDateInt64Unix epoch
mostRecentPurposeStringThe company’s most recent purpose
bankruptcyStatusCodeStringA status code for the bankruptcy
sniCodes.sni_2007NameStringSNI 2007 name
sniCodes.sni_2007CodeStringSNI 2007 code
courtCaseStringThe case number at the court
courtNameStringThe name of the court
courtCodeStringThe code of the court
courtEmailStringThe email address to the court
initiatedByInt64Information and who applied to bankrupcty (from 2024 and onwards)
initiatedDateInt64Unix epoch
terminatedDateInt64Unix epoch when the bankruptcy was terminated
repealedDateInt64Unix epoch of the appeal date
hasTrusteeBoolHelp flag if the trustee exists
trusteeNameStringThe email address to the court
trusteeCOStringThe C/O of the trustee
trusteeAddressStreetStringThe address to the trustee
trusteeAddressPostalCodeStringThe postalcode to the trustee
trusteeAdddressCityStringThe city to to the trustee
registeredOfficeMunicipalityStringThe municipality name of the registered office (säte)
registeredOfficeMunicipalityCodeStringThe municipality code (4 characters) as specified by SCB
registeredOfficeCountyStringThe county name (län)
registeredOfficeCountyCodeStringThe county code (2 characters) as specified by SCB
mostRecentRegisteredAddress.coStringC/O = care of address
mostRecentRegisteredAddress.streetStringStreet name
mostRecentRegisteredAddress.houseNumberStringThe street number
mostRecentRegisteredAddress.cityStringCity
mostRecentRegisteredAddress.postalCodeStringPostal Code
mostRecentRegisteredAddress.locationGeoPointAllows geosearch
mostRecentRegisteredAddress.addressTypeInt320 = mailAddress, 1 = visitingAddress, 2 = bothMailAndVisitingAddress
mostRecentRegisteredAddress.countryCodeAlpha3StringCountry code 3 char alpha
mostRecentFinancialSummary.annualReportPeriodInt32The endpoint report of the annual report in YYYYMM as Int32
mostRecentFinancialSummary.periodStartInt64Start period epoch seconds
mostRecentFinancialSummary.periodEndInt64End period epoch seconds
mostRecentFinancialSummary.rs_NetSalesKInt32Net sales in K (thousands)
mostRecentFinancialSummary.rs_OtherOperatingIncomeKInt32Other operating income in K (thousands)
mostRecentFinancialSummary.rs_OperatingProfitOrLossKInt32Operating profit or loss in K (thousands)
mostRecentFinancialSummary.rs_SumFinancialItemsKInt32Sum of financial items in K (thousands)
mostRecentFinancialSummary.rs_ProfitAfterFinancialItemsKInt32Profit after financial items in K (thousands)
mostRecentFinancialSummary.bs_TotalAssetsKInt32Total assets in balance sheet in K (thouands)
mostRecentFinancialSummary.fn_NumberOfEmployeesFloatNumber of employees with one decimal
mostRecentFinancialSummary.km_OperatingMarginFloatOperating margin with four decimals
mostRecentFinancialSummary.km_NetProfitMarginFloatNet profit margin with four decimals
mostRecentFinancialSummary.km_EquityAssetsRatioFloatEquity asset ratio with four decimals
mostRecentFinancialSummary.km_GrossMarginFloatGross margin with four decimals
mostRecentFinancialSummary.softwareStringSoftware used to generate the financial report (if known)
applicationIfAnyStringLink to the application (from january 2024 and onwards)
isPublicSectorVendorBoolIf the company exists as a vendor to the public sector
approxInvoicedToPublicSector2022DecimalApprox value invoices by the vendor to the public sector 2022
approxInvoicedToPublicSector2023DecimalApprox value invoices by the vendor to the public sector 2023

Examples

We have put togheter a few example of how you can use search in financial reports to easy find data.

Search for bankruptcies initiated from 2024-12-09 00:00:00 and forward

cURL
curl https://api.tic.io/search/companies/bankruptcies/se?q=*&query_by=registrationNumber&filter_by=initiatedDate:>=1733702400&key=your_api_key
{
    "facet_counts": [],
    "found": 61,
    "hits": [
        {
            "document": {
                "bankruptcyStatusCode": "20",
                "bankruptcyStatusDescriptionEn": "Bankruptcy proceedings commenced",
                "bankruptcyStatusDescriptionSv": "Konkurs inledd",
                "companyId": 3367569,
                "companyName": "Mix Ranch AB",
                "courtCase": "K 1651-24",
                "courtCode": "TGO",
                "courtEmail": "gotlands.tingsratt@dom.se",
                "courtName": "Gotlands tingsrätt",
                "elfCode": "XJHM",
                "hasTrustee": true,
                "id": "299652",
                "initiatedDate": 1733702400,
                "legalEntityType": "Aktiebolag",
                "localCompanyCode": "AB",
                "mostRecentFinancialSummary": {
                    "bs_TotalAssetsK": 773,
                    "isAudited": false,
                    "km_EquityAssetsRatio": 0.123,
                    "periodEnd": 1672444800,
                    "periodStart": 1640995200,
                    "rs_NetSalesK": 0,
                    "rs_OperatingProfitOrLossK": -9,
                    "rs_OtherOperatingIncomeK": 0,
                    "rs_ProfitAfterFinancialItemsK": -35,
                    "rs_SumFinancialItemsK": -26
                },
                "mostRecentPurpose": "Bolaget verksamhet skall bestå i bedrivande av nöjesanläggning, / restaurang, säkerhetsutbildningar, personskydd, MC- och / bilverkstad samt därmed förenlig verksamhet.",
                "mostRecentRegisteredAddress": {
                    "addressType": "mailAddress",
                    "city": "Tingstäde",
                    "co": "C/O Edmarg",
                    "countryCodeAlpha3": "SWE",
                    "houseNumber": "641",
                    "location": [
                        57.7984,
                        18.54896
                    ],
                    "postalCode": "62442",
                    "street": "Stenkyrka Broungs"
                },
                "registeredOfficeCounty": "Gotlands län",
                "registeredOfficeCountyCode": "09",
                "registeredOfficeMunicipality": "Gotland",
                "registeredOfficeMunicipalityCode": "0980",
                "registrationDate": 1124064000,
                "registrationNumber": "5566845250",
                "sniCodes": [
                    {
                        "sni_2007Code": "55202",
                        "sni_2007Name": "Stugbyverksamhet m.m."
                    },
                    {
                        "sni_2007Code": "55300",
                        "sni_2007Name": "Campingplatsverksamhet"
                    },
                    {
                        "sni_2007Code": "56100",
                        "sni_2007Name": "Restaurangverksamhet"
                    },
                    {
                        "sni_2007Code": "93290",
                        "sni_2007Name": "Övrig fritids- och nöjesverksamhet"
                    }
                ],
                "trusteeAdddressCity": "STOCKHOLM",
                "trusteeAddressPostalCode": "111 22",
                "trusteeAddressStreet": "Olof Palmes gata 23",
                "trusteeCO": "c/o Merino Advokatbyrå AB",
                "trusteeName": "XXX"
            },
            "highlight": {},
            "highlights": []
        }...

Search for bankruptcies from 2024-10-09 00:00:00 and onwards with the trustee C/O Fylgia law firm

cURL
curl https://api.tic.io/search/companies/bankruptcies/se?q=*&query_by=registrationNumber&filter_by=initiatedDate:>=1733702400&key=your_api_key
{
    "facet_counts": [],
    "found": 2,
    "hits": [
        {
            "document": {
                "bankruptcyStatusCode": "20",
                "bankruptcyStatusDescriptionEn": "Bankruptcy proceedings commenced",
                "bankruptcyStatusDescriptionSv": "Konkurs inledd",
                "companyId": 3319268,
                "companyName": "Kemze Konsult AB",
                "courtCase": "K 11798-24",
                "courtCode": "TVA",
                "courtEmail": "varbergs.tingsratt@dom.se",
                "courtName": "Varbergs tingsrätt",
                "elfCode": "XJHM",
                "hasTrustee": true,
                "id": "299600",
                "initiatedDate": 1733702400,
                "legalEntityType": "Aktiebolag",
                "localCompanyCode": "AB",
                "mostRecentFinancialSummary": {
                    "bs_TotalAssetsK": 1,
                    "isAudited": false,
                    "km_EquityAssetsRatio": 1.0,
                    "periodEnd": 1688083200,
                    "periodStart": 1656633600,
                    "rs_NetSalesK": 0,
                    "rs_OperatingProfitOrLossK": -22,
                    "rs_OtherOperatingIncomeK": 0,
                    "rs_ProfitAfterFinancialItemsK": -22,
                    "rs_SumFinancialItemsK": 0,
                    "software": "BL Bokslut"
                },
                "mostRecentPurpose": "Föremålet för bolagets verksamhet är att tillhandahålla / assistenthjälp, bedriva konsultations- och föreläsnings/ verksamhet, äga och förvalta värdepapper och därmed / förenlig verksamhet.",
                "mostRecentRegisteredAddress": {
                    "addressType": "registeredAddress",
                    "city": "Hagalund",
                    "co": "C/O Ola Kemze",
                    "countryCodeAlpha3": "SWE",
                    "houseNumber": "14",
                    "location": [
                        59.36196,
                        18.00999
                    ],
                    "postalCode": "16963",
                    "street": "Hagalundsgatan"
                },
                "registeredOfficeCounty": "Stockholms län",
                "registeredOfficeCountyCode": "01",
                "registeredOfficeMunicipality": "Solna",
                "registeredOfficeMunicipalityCode": "0184",
                "registrationDate": 1274054400,
                "registrationNumber": "5568084767",
                "sniCodes": [
                    {
                        "sni_2007Code": "88102",
                        "sni_2007Name": "Öppna sociala insatser för personer med funktionshinder"
                    },
                    {
                        "sni_2007Code": "90010",
                        "sni_2007Name": "Artistisk verksamhet"
                    }
                ],
                "trusteeAdddressCity": "STOCKHOLM",
                "trusteeAddressPostalCode": "102 04",
                "trusteeAddressStreet": "Box 55555",
                "trusteeCO": "Advokatfirman Fylgia KB",
                "trusteeName": "XXX"
            }...