# Allabolag.se · Swedish Company Leads with Emails & Phones (`corent1robert/allabolag-sweden-company-leads`) Actor

Turn an industry keyword into a list of Swedish companies from allabolag.se: email, phone, website, address, revenue, employees, org number and key contact. One row per company, filter by county. No login. No API key.

- **URL**: https://apify.com/corent1robert/allabolag-sweden-company-leads.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 company with emails

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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.se Scraper · Swedish Company Leads with Emails & Phones

Type an industry such as **restaurang**, **bygg** or **redovisning**, pick a county if you want, and get a clean list of Swedish companies from allabolag.se: email, phone, website, address, revenue, employees, organisation number and the key contact person. One row per company, ready for your CRM.

**No login. No API key. Just type an industry and press Start.**

### Who is this for?

| Persona | Typical goal | Suggested setup |
|---|---|---|
| B2B sales team / SDR | Build a prospect list in a Swedish region | Industry + county, *Only companies with an email* on |
| Lead-generation agency | Deliver Swedish lead lists to clients | Industry, no county, cap 500+ |
| SaaS company entering the Nordics | Size a vertical (restaurants, clinics, accountants) | Industry, *Add company details* on |
| Recruiter / staffing | Find employers by size and region | Industry + county, sort by employees in your sheet |
| KYB / compliance / data teams | Enrich a list of organisation numbers | Paste organisation numbers |
| Market researcher | Count and profile companies in a niche | Industry, export revenue and employees |

**What you get by default:** every company row has its name, organisation number, address, county and industry. On a typical industry search between 5 and 9 companies in 10 show an email (accounting firms 90%, Stockholm restaurants 50% in our tests), almost all show a phone number, and around 3 in 4 show a website. Revenue, profit and employees come from the latest annual accounts published on allabolag.se.

**When to enable company details:** turn on *Add company details* (default) when you need legal form, registration date, NACE codes, share capital, VAT status or the parent company. Turn it off for the fastest possible contact export.

### Quick start

1. Type an industry or keyword, for example `restaurang`.
2. Optionally pick a county, for example `Stockholm`.
3. Press **Start**. Your companies appear in the **Overview** tab within seconds.

### Ready-made examples

- Restaurants in Stockholm with email: `{"searchTerm": "restaurang", "county": "Stockholm", "onlyWithEmail": true}`
- Construction companies in Skåne: `{"searchTerm": "bygg", "county": "Skåne"}`
- Accounting firms in Västra Götaland: `{"searchTerm": "redovisning", "county": "Västra Götaland", "onlyWithEmail": true}`
- Enrich organisation numbers: `{"organisationNumbers": ["556708-9676"]}`

### What data does it extract?

| Field | Example |
|---|---|
| companyName, legalName | Hjelte Restaurang AB |
| organisationNumber | 556708-9676 |
| email, website, phone, otherPhones | info@…, http://www.…, 054-… |
| address, postalAddress, zipCode, city, municipality, county | Herrgårdsgatan 6, 652 24 Karlstad · Värmland |
| industry, industries | Restauranger |
| employees, revenueKsek, profitKsek, accountsPeriod | 604 · 902427 · 116 · 2024-12 |
| contactPersonName, contactPersonRole | Key person listed by allabolag.se and their role (e.g. Ledamot, VD) |
| marketingProtection | true when the company opted out of marketing |
| legalForm, registrationDate, foundationYear | Aktiebolag · 2006-08-18 · 2006 |
| naceCodes, purpose, purpose_short | 56110 Restaurangverksamhet |
| shareCapitalSek, estimatedTurnoverSek | 600 · 500000 - 999999 |
| registeredForVat, registeredForPayrollTax, boardSize | true · true · 4 |
| parentCompanyName, parentCompanyOrganisationNumber, groupCompanies | Group structure when available |
| allabolagUrl, scrapedAt | Source page and extraction time |

Revenue and profit are in thousands of Swedish kronor (kSEK), as published in the annual accounts.

### Fill rates

| Test (23 Nov 2026) | Email | Phone | Website | Revenue | Key contact | Company details |
|---|---|---|---|---|---|---|
| Accounting firms, Västra Götaland (30) | 90% | 97% | 77% | 100% | 100% | 100% |
| Restaurants, Stockholm (20) | 50% | 95% | 70% | 95% | 95% | 100% |

### Limitations

- allabolag.se lists at most 10,000 companies (400 pages) per search. Add a county to split a large industry into smaller searches.
- The search matches allabolag.se's industry categories and keywords, so a few loosely related companies can appear. Filter on `industry` or `naceCodes` in your sheet.
- Emails and websites are only those shown on allabolag.se. Companies with `marketingProtection: true` have asked not to receive marketing; respect that flag in your campaigns.
- Personal data such as birth dates is never exported.

### Input

| Field | Type | Description |
|---|---|---|
| searchTerm | string | Industry or keyword (Swedish or English) |
| county | string | Optional Swedish county (län); empty = all of Sweden |
| onlyWithEmail | boolean | Skip companies without an email (default false) |
| includeCompanyDetails | boolean | Add legal form, NACE, share capital, VAT, board size, parent (default true) |
| organisationNumbers | array | Optional list of organisation numbers; replaces the search |
| maxResults | integer | Maximum companies, 0 = no cap (default 50) |

API-only: `verboseLogs` (boolean) prints extra diagnostics, `proxyConfiguration` overrides the default Apify Proxy.

```json
{
  "searchTerm": "restaurang",
  "county": "Stockholm",
  "onlyWithEmail": true,
  "includeCompanyDetails": true,
  "maxResults": 200
}
```

### How it works

The Actor reads the public industry search pages of allabolag.se, 25 companies per page, then optionally opens each company page for the extra profile fields. It respects the site's robots.txt, uses a small number of parallel requests and retries politely, and exports each page of results as soon as it is ready.

### Output sample

```json
{
  "companyName": "Hjelte Restaurang AB",
  "legalName": "Hjelte Restaurang AB",
  "organisationNumber": "556708-9676",
  "status": "ACTIVE",
  "industry": "Restauranger",
  "email": null,
  "website": null,
  "phone": "0547707443",
  "address": "Herrgårdsgatan 6, 652 24 Karlstad",
  "city": "Karlstad",
  "county": "Värmland",
  "employees": 604,
  "revenueKsek": 902427,
  "profitKsek": 116,
  "legalForm": "Aktiebolag",
  "registrationDate": "2006-08-18",
  "naceCodes": ["56110 Restaurangverksamhet", "70100 Verksamheter som utövas av huvudkontor"],
  "shareCapitalSek": 600,
  "registeredForVat": true,
  "boardSize": 4,
  "parentCompanyName": "Hjelte Restaurang Holding AB",
  "allabolagUrl": "https://www.allabolag.se/foretag/hjelte-restaurang-ab/karlstad/restauranger/2K2I1VWI5YH9F"
}
```

### How much does it cost to scrape allabolag.se?

Pay per result, same price on every Apify plan. You only pay for companies that are exported.

| Event | Price |
|---|---|
| Actor start (once per run) | $0.005 |
| Company with email | $0.002 |
| Company without email | $0.001 |

| Scenario (about 70% with email) | Companies | Approx. cost |
|---|---|---|
| Test on the free plan (capped at 20) | 20 | about $0.04 |
| One county, one industry | 500 | about $0.86 |
| Whole country, one industry | 5,000 | about $8.51 |

The free plan exports up to 20 companies per run so you can check the data first; paid plans have no cap. Use *Only companies with an email* to pay only for rows you can contact.

### Is it legal to scrape allabolag.se?

This Actor only collects company information that allabolag.se shows publicly without logging in, much of which comes from official Swedish registers (Bolagsverket, Skatteverket, SCB). It does not collect private user data. Some fields, such as the name of a key contact, can be personal data under the GDPR: you are responsible for having a legitimate reason to process them, for respecting marketing opt-outs (`marketingProtection`) and for complying with allabolag.se's terms of use. If you are unsure, consult a lawyer. See also Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

### Also available

- [Germany Handelsregister · Search, Profile & KYB](https://apify.com/corent1robert/germany-handelsregister-scraper)
- [UK Companies House Scraper](https://apify.com/corent1robert/uk-companies-house-scraper)
- [Switzerland Zefix Company Enrich](https://apify.com/corent1robert/switzerland-zefix-company-enrich)

### Local development

```bash
npm install
npm test
apify run --input-file .actor/INPUT.json
```

### Contact

Questions, a missing field or a custom export? Email **corentin@outreacher.fr**.

# Changelog

This Actor's version history is a separate document: https://apify.com/corent1robert/allabolag-sweden-company-leads/changelog.md

# Actor input Schema

## `searchTerm` (type: `string`):

What the companies do, in Swedish or English, for example restaurang, bygg, redovisning, IT-konsult, tandläkare.

## `county` (type: `string`):

Leave empty for all of Sweden.

## `onlyWithEmail` (type: `boolean`):

Skip companies that show no email address on allabolag.se.

## `includeCompanyDetails` (type: `boolean`):

Legal form, registration date, NACE codes, share capital, VAT status, board size and parent company. Slightly slower.

## `organisationNumbers` (type: `array`):

Optional. Paste Swedish organisation numbers (556708-9676) to enrich a list you already have. When filled, the keyword search is ignored.

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

0 = no cap. The free plan exports up to 20 companies per run.

## Actor input object example

```json
{
  "searchTerm": "restaurang",
  "county": "",
  "onlyWithEmail": false,
  "includeCompanyDetails": true,
  "maxResults": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `outreach` (type: `string`):

No description

## `runLog` (type: `string`):

No description

# 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 = {
    "searchTerm": "restaurang",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/allabolag-sweden-company-leads").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 = {
    "searchTerm": "restaurang",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/allabolag-sweden-company-leads").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 '{
  "searchTerm": "restaurang",
  "maxResults": 50
}' |
apify call corent1robert/allabolag-sweden-company-leads --silent --output-dataset

```

## MCP server setup

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

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/3BocgQGmyhlSRdZBv/builds/jzPS4PHGzubdPkgea/openapi.json
