# Allabolag Scraper - Sweden Company Register & Financials (`kamerozkan/allabolag-scraper`) Actor

Allabolag scraper for Swedish companies without login: search by keyword, org.nr, county or municipality, or enrich org numbers with revenue, profit, employees, NACE codes, financials, board roles, shareholders and watch mode.

- **URL**: https://apify.com/kamerozkan/allabolag-scraper.md
- **Developed by:** [Kamer Ozkan](https://apify.com/kamerozkan) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 companies

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Allabolag Scraper - Sweden Company Register & Financials

**Allabolag Scraper** is a Sweden company register API and scraper for `allabolag.se`: search Swedish companies by keyword, organization number (`org.nr`), county, municipality, or minimum revenue, and extract financial accounts, NACE/SNI codes, corporate board and management roles, shareholders, and business contact details over plain HTTP.

### What does Allabolag Scraper do?

Allabolag Scraper reads public Swedish company pages directly from `allabolag.se` over plain HTTP without a browser, login, API key, or proxy setup. You can search by industry keyword, look up exact 10-digit `org.nr` numbers, filter by county (`län`), municipality (`kommun`), or minimum annual revenue in SEK, and optionally skip detail pages when you only need fast search-level data.

Built-in **Only new companies (watch mode)** remembers delivered `org.nr` numbers in a named Apify Key-Value Store across runs so scheduled workflows output only newly discovered companies.

### Who is it for?

- **B2B sales and Nordic outbound teams:** build prospect lists of Swedish companies filtered by county, municipality, and minimum revenue, with business phones, emails, and websites.
- **KYB, credit, and compliance teams:** enrich 10-digit Swedish organization numbers with legal form, VAT and payroll tax registration status, corporate officers, and shareholders.
- **Financial analysts and market researchers:** extract multi-year income statement and balance sheet figures (`revenueThousandsSek`, `profitThousandsSek`, equity ratio, EBITDA, headcount) and NACE/SNI codes.
- **Automation and AI agent builders:** run fast (<15 second) lookups in n8n, Make, or via Apify MCP (`prefill` `maxResults: 10`).

### What data can you get?

| Field | Description / Example |
|---|---|
| `orgnr`, `orgnrFormatted` | 10-digit Swedish org number (`"5565873147"`, `"556587-3147"`) |
| `name`, `legalName`, `companyType`, `companyTypeCode` | Company name (`"Aurevia AB"`), legal form (`"Aktiebolag"`, `"AB"`) |
| `status`, `registrationDate`, `foundationDate` | Registry status (`"ACTIVE"`), registration date (`"2000-03-13"`) |
| `revenueThousandsSek`, `revenueSek` | Latest annual revenue in kSEK (`46881`) and SEK (`46881000`) |
| `profitThousandsSek`, `profitSek` | Latest annual profit in kSEK (`-727`) and SEK (`-727000`) |
| `shareCapitalThousands`, `employees` | Share capital in kSEK (`100`) and headcount (`28`) |
| `primaryIndustry`, `industries`, `naceCodes` | Primary industry and SNI/NACE classification codes |
| `county`, `municipality`, `visitorAddress`, `postalAddress` | County (`"Uppsala Län"`), municipality (`"Uppsala"`), street and PO box addresses |
| `latitude`, `longitude` | Geocoded coordinates (`59.86098`, `17.628925`) |
| `phone`, `email`, `website`, `socialLinks` | Published company phone, business email, website, and LinkedIn/social URLs |
| `registeredForVat`, `registeredForPayrollTax`, `purpose` | VAT and employer payroll tax registration flags and registered business purpose |
| `latestAccountsYear`, `financialAccounts` | Multi-year financial metrics (revenue, operating/net profit, assets, equity, EBITDA) |
| `rolesCount`, `roles`, `shareholders` | Corporate management/board/auditor roles (name, role, type) and shareholders |
| `trademarksCount`, `patentsCount`, `grantsCount` | Counts of registered trademarks, patents, and grants |
| `allabolagUrl`, `query`, `scrapedAt` | Canonical Allabolag company URL, originating query, and UTC timestamp |

### How much does it cost?

You pay only for delivered company records (`company` event): **$2.00 per 1,000 companies** ($0.002 per company) on the Free plan, with Apify Store plan discounts automatically applied:

- **Free:** $2.00 per 1,000 companies ($0.002 / company)
- **Bronze:** $1.80 per 1,000 companies ($0.0018 / company)
- **Silver:** $1.70 per 1,000 companies ($0.0017 / company)
- **Gold and above:** $1.60 per 1,000 companies ($0.0016 / company)

**Worked example:** Extracting 1,000 Swedish software companies with full financial accounts, board roles, and shareholders costs 1,000 x $0.002 = **$2.00** on the Free plan (or **$1.60** on Gold). Invalid inputs, searches with zero matching companies, and watch-mode runs with no new companies finish cleanly with **$0.00** event charges. Set `maxResults` or a maximum run charge to cap spending.

### How to use it

1. Click **Try for free**.
2. Enter keywords or 10-digit org numbers in **Search queries**, or paste a list into **Organization numbers**.
3. Optionally add **Counties**, **Municipality**, or **Minimum annual revenue in SEK**.
4. Keep **Include full details** enabled for financial accounts, NACE codes, roles, and shareholders (or disable it for faster search-only runs).
5. Set **Max companies** (default `25`, prefill `10`) and click **Start**.

### Input example

```json
{
  "queries": ["software"],
  "counties": ["Stockholm"],
  "includeDetails": true,
  "maxResults": 10
}
```

### Output example

Real record from our QA run on 2026-11-21 (`556587-3147`):

```json
{
  "orgnr": "5565873147",
  "orgnrFormatted": "556587-3147",
  "companyId": "2K1RZ7FI5YFOF",
  "name": "Aurevia AB",
  "legalName": "Aurevia AB",
  "companyType": "Aktiebolag",
  "companyTypeCode": "AB",
  "status": "ACTIVE",
  "registrationDate": "2000-03-13",
  "currency": "SEK",
  "revenueThousandsSek": 46881,
  "revenueSek": 46881000,
  "profitThousandsSek": -727,
  "profitSek": -727000,
  "shareCapitalThousands": 100,
  "employees": 28,
  "primaryIndustry": "Läkemedel",
  "naceCodes": [
    "72109 Annan naturvetenskaplig och teknisk forskning och utveckling"
  ],
  "county": "Uppsala Län",
  "municipality": "Uppsala",
  "phone": "018-100550",
  "email": "contact@aurevia.com",
  "website": "https://www.aurevia.com/",
  "registeredForVat": true,
  "registeredForPayrollTax": true,
  "latestAccountsYear": "2025",
  "rolesCount": 5,
  "allabolagUrl": "https://www.allabolag.se/foretag/aurevia-ab/uppsala/l%C3%A4kemedel/2K1RZ7FI5YFOF",
  "query": "556587-3147"
}
```

### Integrations and API

Run it from Python, Node.js, or cURL with `apify-client`, schedule recurring runs in Apify, or connect to **n8n**, **Make**, **Zapier**, **Google Sheets**, and **Apify MCP**:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("kamerozkan/allabolag-scraper").call(run_input={
    "queries": ["software"],
    "counties": ["Stockholm"],
    "includeDetails": True,
    "maxResults": 10,
})
for company in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(company["orgnrFormatted"], company["name"], company["revenueSek"])
```

- **n8n & Make:** Call the Apify **Run an Actor** node with `kamerozkan/allabolag-scraper` or POST to `https://api.apify.com/v2/acts/kamerozkan~allabolag-scraper/run-sync-get-dataset-items`.
- **AI Agents (Apify MCP):** Connect via `@apify/actors-mcp-server --actors kamerozkan/allabolag-scraper`. The prefill input (`10` companies) completes in seconds with clean JSON output.

### FAQ

**Does it output private personal data such as officer birth dates?**
No. Officer records include only public corporate role details (group, name, role title, and entity type). Personal birth dates and personal ID numbers are stripped. Company phone and email fields come from published business directory listings on Allabolag.se.

**What units are used for revenue and profit?**
Allabolag reports Swedish financial figures in thousands of SEK (`tkr`). The Actor provides both the raw `revenueThousandsSek` / `profitThousandsSek` numbers and the full SEK values `revenueSek` / `profitSek`.

**What happens on invalid inputs or empty searches?**
Whitespace queries, invalid organization numbers, or queries with no matching companies finish cleanly as `SUCCEEDED` with a clear status message and `OUTPUT` record, and **nothing is charged**.

**Is it legal to collect this data?**
It collects publicly available Swedish corporate registry and directory data. You are responsible for how you use the data, including applicable marketing and privacy regulations such as GDPR.

### Support and feedback

- Found a bug or missing a field? Open an issue on the **Issues** tab of this Actor. We reply within
  48 hours and ship most fixes within a few days.
- Have an idea for a feature? Issues are the fastest way to get it built.
- If the Actor saves you time, a short review on this page helps other users find it.

# Actor input Schema

## `queries` (type: `array`):

Company names, industry keywords, or 10-digit Swedish organization numbers (one per line). Examples: software, fintech, 556587-3147.

## `orgNumbers` (type: `array`):

Specific 10-digit Swedish organization numbers (XXXXXX-XXXX or XXXXXXXXXX) to look up and enrich directly (one per line).

## `counties` (type: `array`):

Filter search queries by Swedish county name, such as Stockholm, Vastra Gotaland, Skane, or Uppsala.

## `municipality` (type: `string`):

Filter search queries by Swedish municipality, such as Stockholm, Goteborg, or Malmo.

## `minRevenueSek` (type: `integer`):

Keep only companies with annual revenue of at least this many SEK (for example 10000000 for 10M SEK).

## `includeDetails` (type: `boolean`):

Fetch each company profile for NACE codes, annual financial accounts, corporate board/management roles, shareholders, and IP/grant counts. Turn off for faster search-only results.

## `onlyNew` (type: `boolean`):

Remember delivered org numbers across runs and output only Swedish companies not seen in earlier runs.

## `watchStoreName` (type: `string`):

Named Apify Key-Value Store used to persist seen org numbers when watch mode is enabled.

## `maxResults` (type: `integer`):

Stop after delivering this many Swedish companies. You are charged per delivered company record, so this caps your run cost.

## Actor input object example

```json
{
  "queries": [
    "software"
  ],
  "includeDetails": true,
  "onlyNew": false,
  "watchStoreName": "allabolag-seen",
  "maxResults": 10
}
```

# Actor output Schema

## `results` (type: `string`):

One row per Swedish company in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "software"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("kamerozkan/allabolag-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["software"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("kamerozkan/allabolag-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "software"
  ],
  "maxResults": 10
}' |
apify call kamerozkan/allabolag-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kamerozkan/allabolag-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/IfKHPPLADrcvUpoG5/builds/y6KAmcWSHUPF9q3oB/openapi.json
