Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIAllabolag

    allabolag.company

    A Swedish company's page on allabolag.se: registration, line of business, addresses, tax registrations, group and annual accounts.

    Id
    allabolag.company
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/allabolag.company/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of allabolag.company
    FieldTypeDescription
    org_numberstringThe company's Swedish organisation number, with or without its dash, e.g. 556012-5790.Limit: at most 11 characters.
    urlstringThe company's address on allabolag.se instead, e.g. https://www.allabolag.se/5560125790.Limit: at most 2048 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of allabolag.company
    FieldTypeNotes
    org_numberstringThe company's Swedish organisation number, ten digits, e.g. 5560125790.
    urlstringThe company's page on allabolag.se.
    namestringThe company's name.
    legal_namestring or nullThe registered name, where it differs in form from name.
    company_typestring or nullThe legal form, in Swedish as the page names it, e.g. "Aktiebolag" or "Publikt aktiebolag".
    statusstring or nullThe company's status as the register gives it, e.g. ACTIVE.
    registered_onstring or nullThe day the company was registered, as YYYY-MM-DD.
    founded_yearinteger or nullThe year the company was founded.
    industrystring or nullThe line of business the page files the company under, in Swedish.
    nace_industriesarray of stringThe company's SNI (NACE) codes with their names, as the register gives them, e.g. "70100 Verksamheter som utövas av huvudkontor".
    purposestring or nullThe company's object as registered (verksamhetsbeskrivning), in Swedish.
    phonestring or nullThe company's telephone number, as the page gives it.
    websitestring or nullThe company's website, when the page gives one.
    emailstring or nullThe company's email address, when the page gives one.
    visiting_addressobject or nullThe visiting address.
    street (in visiting_address)string or nullThe street line, or the box line where the address is a post-office box.
    postal_code (in visiting_address)string or nullThe postal code, as written, e.g. "418 78".
    city (in visiting_address)string or nullThe postal town.
    postal_addressobject or nullThe postal address.
    street (in postal_address)string or nullThe street line, or the box line where the address is a post-office box.
    postal_code (in postal_address)string or nullThe postal code, as written, e.g. "418 78".
    city (in postal_address)string or nullThe postal town.
    municipalitystring or nullThe municipality the company is in.
    countystring or nullThe county the company is in.
    latitudenumber or nullThe latitude of the visiting address.
    longitudenumber or nullThe longitude of the visiting address.
    employeesinteger or nullThe number of employees in the latest accounts; null when the page gives a range instead.
    employees_rangestring or nullThe number of employees as a range, where the page gives one instead of a count, e.g. "5000-9999".
    share_capitalnumber or nullThe share capital, in thousands of currency.
    currencystring or nullThe ISO code of the currency of the company's amounts, e.g. SEK.
    registered_for_vatboolean or nullWhether the company is registered for VAT (moms).
    registered_for_f_taxboolean or nullWhether the company is approved for F-tax (F-skatt).
    registered_as_employerboolean or nullWhether the company is registered as an employer (arbetsgivaravgift).
    group_companiesinteger or nullThe number of companies in the group the company belongs to.
    subsidiariesinteger or nullThe number of the company's subsidiaries.
    parent_companystring or nullThe name of the parent company, when the page names one.
    parent_org_numberstring or nullThe parent company's organisation number, when the page gives one.
    accountsarray of objectThe company's own annual accounts, the latest year first, as many as the page shows.
    year (in accounts[])stringThe year of the accounts, as the page labels them, e.g. "2025".
    period_start (in accounts[])string or nullThe first day of the accounting period, as YYYY-MM-DD.
    period_end (in accounts[])string or nullThe last day of the accounting period, as YYYY-MM-DD.
    months (in accounts[])integer or nullThe length of the accounting period in months.
    currency (in accounts[])string or nullThe ISO code of the currency the amounts are in, e.g. SEK.
    revenue (in accounts[])number or nullNet sales (omsättning), in thousands of currency.
    profit_after_financial_items (in accounts[])number or nullProfit after financial items (resultat efter finansnetto), in thousands of currency.
    net_profit (in accounts[])number or nullProfit for the year (årets resultat), in thousands of currency.
    total_assets (in accounts[])number or nullTotal assets (summa tillgångar), in thousands of currency.
    equity (in accounts[])number or nullEquity (eget kapital), in thousands of currency.
    equity_ratio_percent (in accounts[])number or nullEquity ratio (soliditet), in per cent.
    employees (in accounts[])integer or nullThe average number of employees the accounts state.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/allabolag.company/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"org_number":"5560125790"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("allabolag.company", {"org_number": "5560125790"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("allabolag.company", { org_number: "5560125790" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "allabolag.company", map[string]any{"org_number": "5560125790"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("allabolag.company", Map.of("org_number", "5560125790"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run allabolag.company --input-json '{"org_number":"5560125790"}'

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "org_number": "5560125790"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "allabolag.company",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "org_number": "5560125790"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "org_number": "5560125790",
          "url": "https://www.allabolag.se/5560125790",
          "name": "Aktiebolaget Volvo",
          "legal_name": null,
          "company_type": "Publikt aktiebolag",
          "status": "ACTIVE",
          "registered_on": "1915-05-05",
          "founded_year": 1915,
          "industry": "Kontorstjänster",
          "nace_industries": [
            "70100 Verksamheter som utövas av huvudkontor"
          ],
          "purpose": "Bolaget skall - direkt eller genom dotterbolag - bedriva verksamhet företrädesvis inom affärsområdena transportmedel, livsmedel, energi och finans (dock ej verksamhet som stadgas i lagarna om bankrörelse och kreditmarknadsbolag), förvalta … [truncated]",
          "phone": "031660000",
          "website": null,
          "email": null,
          "visiting_address": {
            "street": "Amazonvägen 8",
            "postal_code": "418 78",
            "city": "Göteborg"
          },
          "postal_address": {
            "street": null,
            "postal_code": "405 08",
            "city": "Göteborg"
          },
          "municipality": "Göteborg",
          "county": "Västra Götaland",
          "latitude": 57.72211487,
          "longitude": 11.85571166,
          "employees": 342,
          "employees_range": null,
          "share_capital": 2562150,
          "currency": "SEK",
          "registered_for_vat": true,
          "registered_for_f_tax": true,
          "registered_as_employer": true,
          "group_companies": 162,
          "subsidiaries": 31,
          "parent_company": null,
          "parent_org_number": null,
          "accounts": [
            {
              "year": "2025",
              "period_start": "2025-01-01",
              "period_end": "2025-12-31",
              "months": 12,
              "currency": "SEK",
              "revenue": 1226000,
              "profit_after_financial_items": 7933000,
              "net_profit": 27227000,
              "total_assets": 122585000,
              "equity": 71917000,
              "equity_ratio_percent": 58.7,
              "employees": 342
            },
            {
              "year": "2024",
              "period_start": "2024-01-01",
              "period_end": "2024-12-31",
              "months": 12,
              "currency": "SEK",
              "revenue": 1222000,
              "profit_after_financial_items": 2048000,
              "net_profit": 33164000,
              "total_assets": 133074000,
              "equity": 82309000,
              "equity_ratio_percent": 64.2,
              "employees": 335
            }
          ],
          "fetched_at": "2026-11-19T18:07:38.173542Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: purpose: 306 characters, the first 238 shown.
    • Shortened: accounts: 3 items, the first 2 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Allabolag scrapers are in their own section there.