# Allabolag.se Scraper - Swedish Company Data & Revenue (`pshivam/allabolag-sweden-scraper`) Actor

Swedish company data from Allabolag.se without login: search by name, word or organisation number and get every match with phone, email, website, address, industry, revenue, profit, employees and the managing director. Export to Excel, CSV or API.

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

## Pricing

from $0.70 / 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.se Scraper - Swedish Company Data & Revenue

**Search the Swedish company register on Allabolag.se and get every match as a table: organisation number, name, phone, email, website, address, industry, revenue, profit, employees and the managing director.** Search by company name, by a word that describes the business, or by organisation number. One record per company. Export to Excel, CSV, JSON or the API. No login, no API key.

**Actively maintained.** Last update: 2026-11-23. Every release passes 90+ automated tests on real Allabolag pages, and the Actor is run on Apify before it is released.

### What can you use it for?

- **Build a sales list.** Every restaurant, workshop or law firm in Sweden with phone, email, website and address, sorted by revenue or employees.
- **Check a company.** Look up an organisation number and see its figures, industry and managing director (KYB, credit checks, supplier checks).
- **Research a market.** Count the companies of an industry, and compare revenue, profit and size.
- **Enrich your CRM.** Match names or organisation numbers to phone numbers, websites and addresses.
- **Monitor.** Schedule the same searches and use `onlyNew` to get only companies you have not had before.

### What data can you get?

Give searches. Every record is one company.

| You give | You get |
|---|---|
| `queries`: a name, a word or an organisation number | Every match, page after page |
| `maxItemsPerQuery` | Only the first matches of each search |
| `includeInactive` | Also the companies that are no longer active |

#### Fields

A field that Allabolag does not show for a company is `null`.

##### The company

| Field | What it is |
|---|---|
| `orgnr` | The organisation number, 10 digits: 5563938298. |
| `orgnrFormatted` | The organisation number as Swedes write it: 556393-8298. |
| `name` | The company name as Allabolag shows it. |
| `legalName` | The registered name. |
| `status` | active, or inactive for a company that is no longer active (only with 'Include inactive companies'). |
| `industry` | The main industry. |
| `industries` | All the industries and keywords the company is listed under. |

##### Contact

| Field | What it is |
|---|---|
| `phone` | The main phone number. |
| `phone2` | A second phone number. |
| `mobile` | A mobile number. |
| `email` | The company email address, when it is listed. |
| `website` | The company website. |
| `contactName` | The person Allabolag shows for the company, normally the managing director. |
| `contactRole` | The role of that person in Swedish. |
| `contactBirthDate` | The birth date of that person as Allabolag shows it (dd.mm.yyyy). |

##### Address

| Field | What it is |
|---|---|
| `address` | The visiting address (street and number). |
| `zipCode` | The postcode. |
| `city` | The post town. |
| `postalAddress` | The postal (box) address, when different. |
| `county` | The county (län). |
| `municipality` | The municipality (kommun). |
| `latitude` | The latitude of the address. |
| `longitude` | The longitude of the address. |

##### Figures

| Field | What it is |
|---|---|
| `employees` | The number of employees from the latest annual report. |
| `revenue` | The turnover of the latest annual report, in thousands of the currency (tkr: 258426 is 258.4 million SEK). |
| `profit` | The result of the latest annual report, in thousands of the currency. Negative for a loss. |
| `currency` | The currency of revenue and profit, normally SEK. |
| `accountsPeriod` | The month of the latest annual report, for example 2025-12. |

##### Where it came from

| Field | What it is |
|---|---|
| `link` | A link that finds the company on Allabolag.se by its organisation number. |
| `query` | The search that found the company. |
| `page` | The page of the search results the company was on. |
| `scrapedAt` | When the company was read (UTC). |

#### Example result

```json
{"orgnr": "5563938298", "orgnrFormatted": "556393-8298", "name": "Swedish Lorry Parts AB", "legalName": "SWEDISH LORRY PARTS Aktiebolag", "status": "active", "industry": "Entreprenadmaskiner", "industries": ["Entreprenadmaskiner", "Bilar", "Detaljhandel", "Bilreservdelar"], "phone": "08 55597800", "email": "info@slp.se", "website": "http://www.slp.se", "address": "Fågelviksvägen 9", "zipCode": "145 53", "city": "Norsborg", "county": "Stockholm", "municipality": "Botkyrka", "latitude": 59.2004547, "longitude": 17.8474064, "employees": 58, "revenue": 258426, "profit": -10452, "currency": "SEK", "accountsPeriod": "2025-12", "contactName": "Stefan Bertil Backman", "contactRole": "Extern verkställande direktör", "contactBirthDate": "29.04.1982", "link": "https://www.allabolag.se/what/5563938298", "query": "volvo", "page": 1, "scrapedAt": "2026-11-23T10:00:06Z"}
```

### Input

| Input | What it does |
|---|---|
| `queries` | Names, words or organisation numbers to search for |
| `maxItemsPerQuery` | Stop each search after this many companies (0 is all) |
| `includeInactive` | Also return inactive companies |
| `secondsBetweenRequests` | The pause between requests |
| `onlyNew` | Skip companies that earlier runs of the same input returned |
| `maxItems`, `maxConcurrency`, `requestTimeoutSeconds`, `proxyConfiguration` | Limits, speed and the proxy |

### How much does it cost?

You pay per company returned. There is no start fee. Pages that cannot be read are not returned and not charged.

| Plan | Price per 1,000 companies |
|---|---|
| Free | $1.00 |
| Bronze | $0.90 |
| Silver | $0.80 |
| Gold | $0.70 |

- 1,000 companies cost about $1 on the Free plan.
- Use `maxItems` to cap the cost of a run, and `maxItemsPerQuery` to cap each search.

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/allabolag-sweden-scraper").call(run_input={
    "queries": ["bilverkstad", "556393-8298"],
    "maxItemsPerQuery": 200,
})
for company in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(company["orgnrFormatted"], company["name"], company["city"], company["revenue"], company["email"])
```

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/allabolag-sweden-scraper` and an input like this:

```json
{"queries": ["restaurang"], "maxItemsPerQuery": 500}
```

### Good to know

- **Revenue and profit are in thousands** of the currency (tkr), as Allabolag shows them: 258426 is 258.4 million SEK. They come from the latest annual report, and `accountsPeriod` says which.
- **What a search matches.** A word is matched against company names and the industries and keywords a company is listed under, so a short common word returns thousands of companies. Use an organisation number to find exactly one company.
- **Inactive companies.** Allabolag shows a few inactive companies next to the active matches. They are returned only with `includeInactive`, with `status` inactive.
- **The managing director.** `contactName` is the person Allabolag shows for the company, normally the managing director (`contactRole` says). The Actor does not read the board or owners.
- **Speed.** A page of 25 companies takes about half a second, so 1,000 companies take about half a minute.
- **Independent tool.** Not affiliated with Allabolag or Bisnode. The Actor reads public search pages that Allabolag shows to every visitor. Check the terms of Allabolag before you build a service on the data.

### FAQ

#### How do I get all companies of an industry in Sweden?

Put the industry word in `queries`, for example restaurang or bilverkstad, and leave `maxItemsPerQuery` at 0. The Actor reads every page of the results, 25 companies per page.

#### Can I look up a company by organisation number?

Yes. Put the number in `queries`, with or without the dash (556393-8298). The Actor finds exactly that company.

#### What does the revenue number mean?

It is the turnover of the latest annual report in thousands of Swedish kronor (tkr). 258426 means 258,426,000 SEK. `accountsPeriod` says the month of the report.

#### Does it return emails and phone numbers?

Yes, when Allabolag lists them: `phone`, `mobile`, `email` and `website`. Many small companies list only a phone number or nothing.

#### Can I get only new companies each week?

Yes. Schedule the same input and turn on `onlyNew`: companies that earlier runs returned are skipped and not charged.

#### Does it work for Norway, Denmark or Finland?

No. This Actor reads the Swedish Allabolag.se only.

# Actor input Schema

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

What to search for, one per line: a company name (IKEA), a word that describes the business (restaurang, bilverkstad, advokat) or an organisation number (556393-8298). Every page of the results is read.

## `maxItemsPerQuery` (type: `integer`):

Stop each search after this many companies. 0 reads every page (25 companies each).

## `includeInactive` (type: `boolean`):

Also return the companies that are no longer active, which Allabolag lists next to the search results, with status inactive.

## `secondsBetweenRequests` (type: `number`):

The pause between two requests of the run.

## `requestTimeoutSeconds` (type: `integer`):

Give up on a page that has not answered after this many seconds.

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

Skip companies that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'allabolag-sweden-scraper-only-new'.

## `maxItems` (type: `integer`):

Stop after this many companies. You are charged per companie returned.

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

How many pages are read at the same time.

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

Not needed to start. Turn it on only if Allabolag refuses the Actor's address; the proxy then takes over while the address rests.

## Actor input object example

```json
{
  "queries": [
    "volvo"
  ],
  "maxItemsPerQuery": 0,
  "includeInactive": false,
  "secondsBetweenRequests": 0.3,
  "requestTimeoutSeconds": 30,
  "onlyNew": false,
  "maxItems": 50,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `companies` (type: `string`):

Companies as a table.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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": [
        "volvo"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pshivam/allabolag-sweden-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": ["volvo"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("pshivam/allabolag-sweden-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": [
    "volvo"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call pshivam/allabolag-sweden-scraper --silent --output-dataset

```

## MCP server setup

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