Skip to content

logiover/allabolag-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Allabolag Scraper — Sweden Company Data, Financials & B2B Leads (No API, No Login)

Apify Actor No API key Pay per result Company data Export

Scrape Swedish company data, financials and B2B leads from allabolag.se. No API key, no login.

Scrape company data from allabolag.se, one of Sweden's largest business-information portals — firmographics and financials for virtually every registered Swedish company: aktiebolag (AB), handelsbolag (HB), enskild firma (EF) 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 API key, no login.

This Allabolag scraper is two tools in one: a firmographics + financials dataset and a Sweden B2B lead engine. Search by industry, keyword or company name (exactly like the allabolag.se search box), and it auto-paginates the whole result set into one clean, analysis-ready row per company. It is the unofficial allabolag API alternative and Swedish business registry export tool — pass a bransch and get structured Sweden company data back, with no API key required.

📄 This repository is documentation only. The Actor itself runs on the Apify platform — open it here.


📚 Table of contents

🏆 Why this Allabolag scraper?

  • 40+ fields per company — firmographics, financials and lead fields in one flat row.
  • Auto-paginates the whole search — walks every page (25 companies each) up to your maxResults and de-dupes by org number.
  • Search like the site — industry (bransch), keyword or company name, or paste ready-made search URLs.
  • Financials included — revenue (omsättning), profit/result and employees straight from the search results.
  • B2B lead fields — CEO / VD name, plus phone, email and website where the source publishes them.
  • Deep enrichment (fetchDetails) — board members, company form, F-skatt & moms (VAT), share capital, SNI/NACE, parent company and dates.
  • No API key, no login — only an Apify account; datacenter proxy is enough.
  • Export to JSON / CSV / Excel and full REST API.

📦 What you get / output fields

One row per company. Search-list fields are always present; detail-only fields fill when fetchDetails is on.

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 date
revenue Revenue / omsättning — in kSEK (thousands of SEK)
profit Profit / result — in kSEK
currency Reporting currency (e.g. SEK)
accountsYear Latest accounts date
employees Number of employees
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)

💡 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.

💡 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.

🚀 Quick start (4 ways)

1. Apify Console (no code)

  1. Open the Actor: apify.com/logiover/allabolag-scraper.
  2. Click Try for free.
  3. Type a bransch / keyword / company name into query (e.g. marketing) and click Start. Add a sort order or turn on fetchDetails for board + VAT + share capital.
  4. Open the Output tab — one row per company, ready to export.

2. Apify CLI

npm install -g apify-cli
apify login
apify call logiover/allabolag-scraper --input '{
  "query": "marketing",
  "maxResults": 300,
  "sort": "revenueDesc"
}'

3. API / cURL (run-sync, get dataset items)

curl -X POST \
  "https://api.apify.com/v2/acts/logiover~allabolag-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "bygg",
    "maxResults": 500,
    "fetchDetails": true,
    "sort": "numEmployeesDesc"
  }'

4. apify-client (JavaScript & Python)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('logiover/allabolag-scraper').call({
  query: 'restaurang',
  maxResults: 500,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.dir(items, { depth: null });
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("logiover/allabolag-scraper").call(run_input={
    "query": "restaurang",
    "maxResults": 500,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["companyName"], item.get("orgNumber"), item.get("revenue"))

More detailed, copy-pasteable snippets live in examples/: CLI · API / cURL · JavaScript · Python.

📥 Input reference

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

Field Type Description
query string Industry (bransch), keyword or company name — same text you'd type into allabolag.se. Leave empty for a broad, recent cross-section (bounded by maxResults).
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 (dropdown) relevance, revenueDesc, revenueAsc, numEmployeesDesc, numEmployeesAsc. Default relevance.
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 (1–10). 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 reference

One row per company — 40+ fields. Trimmed sample record (fetchDetails: true):

{
  "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"
}

📌 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).

🔌 Integrations & automation

  • Schedules — run on a schedule to keep a Swedish company or lead dataset continuously refreshed.
  • Webhooks — trigger downstream systems on run completion via Apify webhooks.
  • Google Sheets / CRM / BI tools / S3 — push companies to your stack through Apify's integrations.
  • Zapier / Make / n8n / Pipedream — build automated Sweden B2B pipelines.
  • REST API — read results live from the dataset API.

📦 Export formats

Every run writes to an Apify dataset that exports in one click to:

  • JSON
  • JSONL (newline-delimited)
  • CSV
  • Excel (XLSX)
  • XML
  • HTML table / RSS

One company = one row. Export from the Console or pull any format via the API.

❓ Frequently Asked Questions

How do I scrape Swedish company data from allabolag.se?

Give the Actor a bransch, keyword or company name in query (e.g. marketing) and run it — it auto-paginates the public search and returns one clean JSON row per company with firmographics, financials and contacts. No code to maintain.

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 public 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, JSONL or XML, 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 — present for roughly 97% of search results. Turn on fetchDetails to add board members, F-skatt, VAT, share capital and registration dates.

How do I build a Sweden B2B lead list?

Search by industry (e.g. restaurang, bygg, IT), sort by revenue or employees, and export the CEO/VD name, phone, email and website columns. See the use cases and coverage note above.

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.

🔗 Related actors by logiover

Country / Registry Actor
🇳🇴 Norway Brreg Norway Company Scraper
🇫🇮 Finland Finland Company Registry Scraper

👉 Browse all logiover actors on Apify Store — 180+ scrapers across company registries, real estate, jobs, crypto, social media & B2B data.


📄 Documentation only

This repository contains documentation only — no Actor source code. The Actor runs on the Apify platform.

▶️ Run it: apify.com/logiover/allabolag-scraper

Licensed under the MIT License · © 2026 logiover. Not affiliated with, endorsed by, or sponsored by allabolag.se. "allabolag" is a trademark of its respective owner and is used here for descriptive purposes only.

About

Scrape allabolag.se Swedish company data: organisationsnummer, address, industry (SNI), revenue, profit, employees, CEO (VD), phone & email. No API key. Sweden B2B leads. Runs on Apify.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors