# Allabolag Scraper — Sweden Company Data & Leads (`logiover/allabolag-scraper`) Actor

Scrape allabolag.se Swedish company registry: name, organisationsnummer, address, industry (SNI/bransch), revenue, profit, employees, CEO (VD), phone and email. No login, no API key. Great for Sweden B2B leads and firmographic data export.

- **URL**: https://apify.com/logiover/allabolag-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Lead generation
- **Stats:** 26 total users, 11 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🇸🇪 Allabolag Scraper — Sweden Company Data, Financials & B2B Leads (No API)

![Allabolag Scraper — Sweden Company Data Extractor](https://cdn-icons-png.flaticon.com/128/3135/3135715.png)

![Apify Actor](https://img.shields.io/badge/Apify-Actor-00A67E?logo=apify\&logoColor=white) ![No API key](https://img.shields.io/badge/No%20API%20key-required-2ea44f) ![Pay per result](https://img.shields.io/badge/Pricing-Pay%20per%20result-1C7ED6) ![Company Registry](https://img.shields.io/badge/Category-Company%20Data-8B5CF6) ![Export](https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-F59E0B)

Scrape company data from **allabolag.se**, one of Sweden's largest business-information portals (Dun & Bradstreet sourced) — firmographics and financials for virtually every registered Swedish company: *aktiebolag*, *handelsbolag*, *enskild firma* and more. Get **company name, organisationsnummer, address, industry (SNI/bransch), revenue, profit & employees** — plus the **CEO (VD) name, phone, email and website** for B2B leads. **Fast, no browser, no API key, no login.**

> ### 🏆 Why this Allabolag scraper?
>
> **40+ fields per company** · **auto-paginates the whole search** · direct structured-data extraction (no captcha) · datacenter-proxy ready · export to JSON / CSV / Excel. The unofficial **allabolag API alternative** and **Swedish business registry** export tool — two tools in one: a firmographics + financials dataset *and* a Sweden B2B lead engine.

***

### ✨ What this Actor does / Key features

- 🔎 **Search by industry, keyword or company name** — type a *bransch* (`marketing`, `bygg`, `IT`, `restaurang`), a keyword or a company name, exactly like the allabolag.se search box — or paste ready-made search URLs.
- 🏢 **Full firmographics** — name, legal name, **organisationsnummer**, status, industry + industry code, full address, city, kommun, län and coordinates.
- 💰 **Financials** — **revenue (omsättning), profit/result, employees (antal anställda)** and accounting year, straight from the search results.
- 🧑‍💼 **B2B lead fields** — **CEO / VD name**, role, birth year, plus **phone, mobile, email and website** where the source publishes them.
- 🔬 **Deep enrichment (`fetchDetails`)** — adds **board members**, company form (AB/HB/EF), **F-skatt & moms (VAT)** registration status, share capital, registration & foundation dates, SNI/NACE code, parent company and estimated turnover.
- 📑 **Auto-pagination** — walks every page of any search (25 companies per page) up to your `maxResults` and de-dupes by org number.
- 🧹 **Clean flat columns** — financials and coordinates as plain values; one analysis-ready row per company.
- ⚡ **No browser** — reads the site's own structured data over plain HTTP; datacenter proxy is enough.
- 🌐 **No login, no API key** — only an Apify account needed.

### 🚀 Quick start (3 steps)

1. **Configure** — type a bransch / keyword / company name into `query` (e.g. `marketing`). Add a `sort` order or turn on `fetchDetails` for board + VAT + share capital.
2. **Run** — click **Start**. The Actor paginates the search and streams companies into your dataset.
3. **Get your data** — open the **Output** tab and export to **JSON, CSV, Excel or HTML**, or pull it via the Apify API.

### 📥 Input

Give the Actor a `query` (or paste `searchUrls`). Everything else is optional.

#### Example — Swedish restaurants (lead list)

```json
{
  "query": "restaurang",
  "maxResults": 500
}
```

#### Example — Marketing companies, biggest first

```json
{
  "query": "marketing",
  "maxResults": 300,
  "sort": "revenueDesc"
}
```

#### Example — Construction (bygg) with full detail (board + VAT)

```json
{
  "query": "bygg",
  "maxResults": 500,
  "fetchDetails": true,
  "sort": "numEmployeesDesc"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `query` | string | Industry (bransch), keyword or company name — same text you'd type into allabolag.se. Default `marketing`. |
| `searchUrls` | array | *(Optional, advanced)* allabolag.se search-result URLs copied from the site. Set filters on the site, then paste the URL. |
| `fetchDetails` | boolean | Open each company profile to add board, company form, SNI, F-skatt, VAT, share capital, parent company & dates. Default `false` (faster/cheaper). |
| `maxResults` | integer | Stop after this many companies across all searches. `0` = no limit. Default `200`. |
| `sort` | string | `relevance`, `revenueDesc`, `revenueAsc`, `numEmployeesDesc`, `numEmployeesAsc`. |
| `useProxy` | boolean | Route through Apify Proxy (datacenter). Default `true`. |
| `proxyConfiguration` | object | Override proxy settings (e.g. switch to Residential). |
| `maxConcurrency` | integer | How many searches to run in parallel. Default `3`. |

> **Finding a bransch/URL:** put any industry or keyword in `query`, or set precise county/industry filters on allabolag.se and paste the resulting search URL into `searchUrls`.

### 📤 Output

One row per company — **40+ fields**, exportable to JSON, CSV, Excel or HTML. Search-list fields are always present; **detail-only** fields fill when `fetchDetails` is on. Here is a trimmed sample record (`fetchDetails: true`):

```json
{
  "companyName": "iGoMoon AB",
  "legalName": "iGoMoon AB",
  "orgNumber": "5568995681",
  "url": "https://www.allabolag.se/foretag/igomoon-ab/stockholm/.../2K3MWKHI5YDOJ",
  "status": "ACTIVE",
  "companyForm": "Aktiebolag",
  "companyFormCode": "AB",
  "industry": "Datautveckling, systemutveckling, programutveckling",
  "industryCode": "62010",
  "sniCode": "62100 Dataprogrammering",
  "address": "Birger Jarlsgatan 57A",
  "zip": "11365",
  "city": "Stockholm",
  "municipality": "Stockholm",
  "county": "Stockholms Län",
  "phone": "010-4101100",
  "email": "support@igomoon.com",
  "homePage": "https://www.igomoon.com/",
  "ceoName": "Olov Mattias Grönborg",
  "ceoRole": "Verkställande direktör",
  "revenue": "8388",
  "profit": "2",
  "currency": "SEK",
  "employees": "8",
  "accountsYear": "2024-12-31",
  "lat": "59.34122919",
  "lng": "18.06464262",
  "shareCapital": "62",
  "fskatt": "Ja, registrerad för F-skatt",
  "momsregistrerad": "true",
  "boardMembers": "Olov Mattias Grönborg (Verkställande direktör); Ulf Viktor Månsson (Ordförande)",
  "companyId": "2K3MWKHI5YDOJ",
  "scrapedAt": "2026-07-06T12:00:00.000Z"
}
```

> 💡 **`revenue`, `profit` and `shareCapital` are in thousands of SEK (kSEK)**, exactly as allabolag.se publishes them. A `revenue` of `8388` means **8,388,000 SEK**.

<details>
<summary><b>📋 Full field reference (click to expand)</b></summary>

| Field | Description |
|-------|-------------|
| `companyName` / `legalName` | Display name and registered legal name |
| `orgNumber` | **Organisationsnummer** — unique Swedish company registration number |
| `url` | Company profile URL on allabolag.se |
| `status` | Registration status (e.g. `ACTIVE`) |
| `companyForm` / `companyFormCode` | Company form & code — Aktiebolag / `AB`, etc. *(detail)* |
| `industry` / `industryCode` | Primary industry (bransch) and its code |
| `sniCode` | SNI / NACE industry code *(detail)* |
| `industries` | All listed industries, comma-joined |
| `address` / `zip` / `city` | Street address, postcode, post town |
| `municipality` / `county` / `countryPart` | Kommun, län and region |
| `phone` / `mobile` | Company phone and mobile |
| `email` / `homePage` | Company email and website |
| `ceoName` / `ceoRole` / `ceoBirthDate` | **CEO (VD)** name, role and birth year |
| `revenue` | Revenue / omsättning — in **kSEK** |
| `profit` | Profit / result — in **kSEK** |
| `currency` | Reporting currency (e.g. `SEK`) |
| `employees` | Number of employees |
| `accountsYear` | Latest accounting year |
| `estimatedTurnover` | Estimated turnover band where published *(detail)* |
| `lat` / `lng` | Latitude & longitude of the registered address |
| `shareCapital` | Share capital — in **kSEK** *(detail)* |
| `registrationDate` / `foundedDate` / `registrationYear` | Registration & foundation dates *(detail)* |
| `fskatt` | **F-skatt** registration status *(detail)* |
| `momsregistrerad` | **Moms / VAT** registered (`true`/`false`) *(detail)* |
| `boardMembers` | Board members & roles, semicolon-joined *(detail)* |
| `parentCompany` / `parentCompanyOrgNumber` | Parent company name & org number *(detail)* |
| `companyId` | Internal allabolag.se company id |
| `scrapedAt` | Scrape timestamp (ISO 8601) |

</details>

### 💡 Use cases

- **Sweden B2B lead generation** — build targeted lists of Swedish companies by industry, complete with CEO/VD, phone, email and website.
- **Sales prospecting** — segment by revenue, employee count, kommun or län; sort biggest-first and prioritize.
- **Financial & market research** — revenue/profit/employee bands per bransch for TAM sizing and benchmarking.
- **Competitor analysis** — pull every company in a category and compare financials, locations and headcount.
- **KYC & due diligence** — verify a company by organisationsnummer, F-skatt and VAT status, board members and share capital.
- **CRM & data enrichment** — match and dedupe your records against the Swedish business registry by org number.

### 👥 Who uses it

Sales & lead-gen teams building Sweden prospect lists · market researchers & analysts sizing Swedish markets · KYC / compliance & due-diligence teams · CRM & data-enrichment engineers · investors mapping a Swedish vertical.

### 💰 Pricing

This Actor runs on a simple **pay-per-result** model — you pay for the companies you extract, with no separate Apify platform fees to calculate. Try it on the **free tier** first, then scale up. See the **Pricing** tab on this page for the current rate.

### ❓ Frequently Asked Questions

**Is there an Allabolag API?**
There is no easy public allabolag API for bulk export. This Actor is a practical **allabolag API alternative**: it reads the site's own structured data and returns clean, paginated Sweden company data — firmographics, financials and contacts — with **no API key required**.

**Can I scrape allabolag.se without an API or login?**
Yes. It reads only **public** company-registry data and needs **no account, no login and no API key** — only an Apify account. It runs through Apify datacenter proxy by default (switch to Residential only if you hit blocking).

**How do I export Swedish company data to CSV or Excel?**
Every run writes one record per company to an Apify dataset, exportable in one click to **Excel (XLSX), CSV, JSON or HTML**, or via the Apify API and webhooks — ideal for building a reusable Swedish companies database.

**Does it include revenue and CEO names?**
Yes. The search results already include **revenue, profit, employees and the CEO (VD) name** for the great majority of companies — CEO name and headline financials are present for roughly **97%** of search results. Turn on `fetchDetails` to add board members, F-skatt, VAT, share capital and registration dates.

**How much data can I get?**
A single bransch can span dozens of pages (25 companies each). The Actor auto-paginates to your `maxResults`; set `0` for no limit and narrow with a `sort` order or specific queries.

**Is scraping allabolag.se legal?**
You are collecting **publicly available** company-registry information. Use it responsibly and in line with applicable laws, including **GDPR** for any personal data such as contact or CEO names.

### 📌 A note on data coverage (honest)

allabolag.se's own coverage varies by field, and this Actor returns exactly what the source publishes — it does not invent data:

- 🧑‍💼 **CEO (VD) name & headline financials** (revenue/profit/employees): present for ~**97%** of search results.
- ☎️ **Phone**: present for ~**57%** of companies.
- 📧 **Email**: present for ~**28%** of companies.
- 🔬 **`fetchDetails`** adds board members, F-skatt, moms (VAT), share capital and registration/foundation dates from each company's profile page (slower, but richer leads and KYC fields).

### 🔗 More company-registry & B2B data scrapers by logiover

Building a cross-border company database? Pair Allabolag with the rest of the registry suite:

| Country / Registry | Actor |
|---|---|
| 🇳🇴 Norway | [Brreg Norway Company Scraper](https://apify.com/logiover/brreg-norway-company-scraper) |
| 🇫🇮 Finland | [Finland Company Registry Scraper](https://apify.com/logiover/finland-company-registry-scraper) |
| 🇫🇷 France | [France Company Registry Scraper](https://apify.com/logiover/france-company-registry-scraper) |
| 🇨🇿 Czechia | [Czech Company Registry Scraper](https://apify.com/logiover/czech-company-registry-scraper) |
| 🇬🇧 UK | [UK Companies House Bulk Scraper](https://apify.com/logiover/uk-companies-house-bulk-scraper) |
| 🇦🇺 Australia | [Australia Business Register Scraper](https://apify.com/logiover/australia-business-register-scraper) |
| 🇺🇸 USA (NY) | [USA New York Company Registry Scraper](https://apify.com/logiover/usa-new-york-company-registry-scraper) |
| 🌐 Global LEI | [GLEIF LEI Scraper](https://apify.com/logiover/gleif-lei-scraper) |
| 🇺🇸 SEC filings | [SEC EDGAR Form D Scraper](https://apify.com/logiover/sec-edgar-form-d-scraper) |
| 🏛️ Tenders | [Global Public Tenders Scraper](https://apify.com/logiover/global-public-tenders-scraper) |
| 🏥 US healthcare | [NPI Registry Scraper](https://apify.com/logiover/npi-registry-scraper) |
| 📦 Trade data | [Comtrade Trade Data Scraper](https://apify.com/logiover/comtrade-trade-data-scraper) |

👉 Browse all **[logiover scrapers on Apify Store](https://apify.com/logiover)** — 180+ actors across real estate, jobs, crypto, social media & B2B data.

### ⏰ Scheduling & integration

Schedule this Actor on Apify to keep a Swedish company or lead dataset continuously refreshed. Export to JSON, CSV or Excel, sync to Google Sheets, or push to your CRM, BI tools and webhooks through the Apify API. Connect it to **Make, n8n or Zapier** to build automated Sweden B2B pipelines.

### ⭐ Support & feedback

Found a bug or need an extra field? Open an issue on the **Issues** tab — response is usually fast. If this Actor saves you time, a **★★★★★ review** on the Store page genuinely helps and is hugely appreciated. 🙏

### ⚖️ Legal

This Actor collects only **publicly available** business-directory data from allabolag.se. You are responsible for complying with allabolag.se's Terms of Service, applicable local laws, and **GDPR** when handling any personal data (such as CEO names or contact details). Use the data ethically and lawfully.

***

### 📝 Changelog

#### 2026-08-01

- Completed the August 2026 full health check: verified empty/programmatic default, Console UI default, and two source-informed alternative inputs on Apify.
- Confirmed successful live execution, non-empty structured output, dataset-field/type integrity, and logical sample quality within the 5-minute quality window.

#### 2026-07-06

- ✨ README overhaul: full field reference, ready-to-run example scenarios, cross-border registry suite links, honest coverage notes and a clearer quick start.

#### 2026-07-01

- Maintenance pass: re-verified end-to-end on live data within the 5-minute quality window on the default input; sharpened Store SEO metadata and expanded the FAQ with high-intent long-tail questions; added ready-to-run example tasks.

#### 2026-06-15

- Reliability pass: re-verified end-to-end on live data with real-world inputs. Routine maintenance build.

#### 2026-06-07

- Docs: comprehensive SEO rewrite — full output-field table, use cases, expanded FAQ (allabolag API, Excel export, login-free scraping, legality) and honest field-coverage notes.

#### 2026-06-05

- Reliability hardening and fresh rebuild.

***

\*Maintained: last verified 2026-09-01 — checked end-to-end against live run history (reliability, output fields and types, and time/memory budgets).

# Actor input Schema

## `query` (type: `string`):

What to search on allabolag.se — an industry (bransch) like 'marketing', 'bygg', 'IT', a keyword, or a company name. This is the same text you'd type into the allabolag.se search box. Leave empty to return a broad, recent cross-section of Swedish limited companies (bounded by Max results).

## `searchUrls` (type: `array`):

Optional: allabolag.se search result URLs copied straight from the site, e.g. https://www.allabolag.se/bransch-sök?q=marketing . If set, these are scraped instead of (or in addition to) the `query` above. Set your filters on allabolag.se, then paste the result URL here.

## `fetchDetails` (type: `boolean`):

Opens each company profile to fill the financial and registry columns — turnover, share capital, founding date, status and board. This is where the value of the export is; switching it off leaves those columns empty and returns little more than company names.

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

Stop after this many companies across all searches. 0 = no limit (a single bransch can span dozens of pages, 25 companies each).

## `sort` (type: `string`):

Order of search results.

## `useProxy` (type: `boolean`):

Route requests through Apify Proxy. Datacenter proxy works well on allabolag.se and is the default.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Datacenter is the default and is sufficient; switch to Residential only if you hit heavy blocking.

## `maxConcurrency` (type: `integer`):

How many search queries / URLs to process in parallel.

## Actor input object example

```json
{
  "searchUrls": [],
  "fetchDetails": true,
  "maxResults": 200,
  "sort": "relevance",
  "useProxy": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 3
}
```

# Actor output Schema

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

All records extracted by this run. Open the Dataset tab to browse, filter, and export as CSV, JSON, or Excel.

# 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 = {
    "query": "",
    "searchUrls": [],
    "fetchDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/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 = {
    "query": "",
    "searchUrls": [],
    "fetchDetails": True,
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/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 '{
  "query": "",
  "searchUrls": [],
  "fetchDetails": true
}' |
apify call logiover/allabolag-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,logiover/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/mYJYA0jhO3KQS5LOW/builds/7e0C7Pkta9lsYqY9w/openapi.json
