# Allabolag bankruptcies API

Get Allabolag Bankruptcy Listings data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, page, and retrieve structured data including organisation number, company name, source company status, source liquidation metadata, and source monthly listing counts for company events, and directory links.

Documentation: https://openany.si/market/apis/allabolag/allabolag-bankruptcies-api/?offering=fe1fe875-749b-419a-b630-6f7741cfb151
API ID: fe1fe875-749b-419a-b630-6f7741cfb151
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/allabolag/v1/bankruptcies
Page update time: 2026-12-03T02:46:02.511Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:46:00.133Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Allabolag bankruptcies API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer",
          "description": "Page number, starting at 1. Pass `next_page` back as `page`; it is null on the last page."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "companies": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "accounts_year": {
                "type": "string"
              },
              "business_unit_type": {
                "type": "string"
              },
              "company_id": {
                "type": "string"
              },
              "company_type": {
                "type": "string"
              },
              "contact_person": {
                "type": "null"
              },
              "coordinates": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "lat": {
                        "type": "number"
                      },
                      "lng": {
                        "type": "number"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "county": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "email": {
                "type": "null"
              },
              "employees": {
                "type": "integer"
              },
              "foundation_date": {
                "type": "string"
              },
              "homepage": {
                "type": "null"
              },
              "industries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "industry": {
                "type": "string"
              },
              "legal_name": {
                "type": "null"
              },
              "liquidation": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              },
              "municipality": {
                "type": "string"
              },
              "nace_industries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "name": {
                "type": "string"
              },
              "org_number": {
                "type": "string"
              },
              "phone": {
                "type": "null"
              },
              "postal_address": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "box": {
                    "type": "null"
                  },
                  "city": {
                    "type": "string"
                  },
                  "zip": {
                    "type": "string"
                  }
                }
              },
              "profit_ksek": {
                "type": "integer"
              },
              "registration_date": {
                "type": "string"
              },
              "revenue_ksek": {
                "type": "integer"
              },
              "roles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "role": {
                      "type": "string"
                    }
                  }
                }
              },
              "status": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "visitor_address": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "address": {
                        "type": "string"
                      },
                      "box": {
                        "type": "null"
                      },
                      "city": {
                        "type": "string"
                      },
                      "zip": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "monthly_counts": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "month": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "pages": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/allabolag/v1/bankruptcies?output=json&page=1' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "companies": [
    {
      "accounts_year": "2024",
      "business_unit_type": "MAIN",
      "company_id": "5593256372",
      "company_type": "Aktiebolag",
      "contact_person": null,
      "coordinates": {
        "lat": 56.1577259545,
        "lng": 13.7618640614
      },
      "county": "Skåne",
      "currency": "SEK",
      "email": null,
      "employees": 0,
      "foundation_date": "2021-07-01",
      "homepage": null,
      "industries": [
        "Restauranger"
      ],
      "industry": "Restauranger",
      "legal_name": null,
      "liquidation": {
        "code": "STARTED",
        "date": "2026-11-03",
        "description": "Konkurs inledd"
      },
      "municipality": "Hässleholm",
      "nace_industries": [
        "56110 Restaurangverksamhet"
      ],
      "name": "zandora AB",
      "org_number": "5593256372",
      "phone": null,
      "postal_address": {
        "address": "c/o Advokat Torgny Dahlberg AB, Kaptensgatan 2",
        "box": null,
        "city": "Hässleholm",
        "zip": "281 48"
      },
      "profit_ksek": -2,
      "registration_date": "2021-07-01",
      "revenue_ksek": 0,
      "roles": [
        {
          "name": "Anders Torgny Dahlberg",
          "role": "Likvidator"
        }
      ],
      "status": "ACTIVE",
      "url": "https://www.allabolag.se/5593256372",
      "visitor_address": {
        "address": "Kaptensgatan 2",
        "box": null,
        "city": "Hässleholm",
        "zip": "281 48"
      }
    },
    {
      "accounts_year": "2024",
      "business_unit_type": "MAIN",
      "company_id": "5568621840",
      "company_type": "Aktiebolag",
      "contact_person": null,
      "coordinates": null,
      "county": "Östergötland",
      "currency": "SEK",
      "email": null,
      "employees": 0,
      "foundation_date": "2011-08-23",
      "homepage": null,
      "industries": [
        "Bilar",
        "Byggmästare",
        "… 1 more"
      ],
      "industry": "Bilar",
      "legal_name": null,
      "liquidation": {
        "code": "STARTED",
        "date": "2026-11-03",
        "description": "Likvidation beslutad"
      },
      "municipality": "Norrköping",
      "nace_industries": [
        "47811 Detaljhandel med personbilar och lätta motorfordon",
        "41000 Byggande av bostadshus och andra byggnader",
        "… 1 more"
      ],
      "name": "classical house AB",
      "org_number": "5568621840",
      "phone": null,
      "postal_address": {
        "address": "c/o Kihlstedts Advokatbyrå, Box 136",
        "box": null,
        "city": "Norrköping",
        "zip": "601 03"
      },
      "profit_ksek": -96,
      "registration_date": "2011-08-23",
      "revenue_ksek": 3,
      "roles": [
        {
          "name": "Carl Henrik Ringborg",
          "role": "Likvidator"
        }
      ],
      "status": "ACTIVE",
      "url": "https://www.allabolag.se/5568621840",
      "visitor_address": null
    },
    "… 8 more"
  ],
  "count": 10,
  "credits_used": 1,
  "monthly_counts": [
    {
      "count": 78,
      "month": "2024-01"
    },
    {
      "count": 88,
      "month": "2024-02"
    },
    "… 33 more"
  ],
  "next_page": 2,
  "page": 1,
  "pages": 1000,
  "total": 35164
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/allabolag/allabolag-bankruptcies-api/?offering=fe1fe875-749b-419a-b630-6f7741cfb151

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
