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.
| Field | Type | Description |
|---|---|---|
org_number | string | The company's Swedish organisation number, with or without its dash, e.g. 556012-5790.Limit: at most 11 characters. |
url | string | The 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.
| Field | Type | Notes |
|---|---|---|
org_number | string | The company's Swedish organisation number, ten digits, e.g. 5560125790. |
url | string | The company's page on allabolag.se. |
name | string | The company's name. |
legal_name | string or null | The registered name, where it differs in form from name. |
company_type | string or null | The legal form, in Swedish as the page names it, e.g. "Aktiebolag" or "Publikt aktiebolag". |
status | string or null | The company's status as the register gives it, e.g. ACTIVE. |
registered_on | string or null | The day the company was registered, as YYYY-MM-DD. |
founded_year | integer or null | The year the company was founded. |
industry | string or null | The line of business the page files the company under, in Swedish. |
nace_industries | array of string | The company's SNI (NACE) codes with their names, as the register gives them, e.g. "70100 Verksamheter som utövas av huvudkontor". |
purpose | string or null | The company's object as registered (verksamhetsbeskrivning), in Swedish. |
phone | string or null | The company's telephone number, as the page gives it. |
website | string or null | The company's website, when the page gives one. |
email | string or null | The company's email address, when the page gives one. |
visiting_address | object or null | The visiting address. |
street (in visiting_address) | string or null | The street line, or the box line where the address is a post-office box. |
postal_code (in visiting_address) | string or null | The postal code, as written, e.g. "418 78". |
city (in visiting_address) | string or null | The postal town. |
postal_address | object or null | The postal address. |
street (in postal_address) | string or null | The street line, or the box line where the address is a post-office box. |
postal_code (in postal_address) | string or null | The postal code, as written, e.g. "418 78". |
city (in postal_address) | string or null | The postal town. |
municipality | string or null | The municipality the company is in. |
county | string or null | The county the company is in. |
latitude | number or null | The latitude of the visiting address. |
longitude | number or null | The longitude of the visiting address. |
employees | integer or null | The number of employees in the latest accounts; null when the page gives a range instead. |
employees_range | string or null | The number of employees as a range, where the page gives one instead of a count, e.g. "5000-9999". |
share_capital | number or null | The share capital, in thousands of currency. |
currency | string or null | The ISO code of the currency of the company's amounts, e.g. SEK. |
registered_for_vat | boolean or null | Whether the company is registered for VAT (moms). |
registered_for_f_tax | boolean or null | Whether the company is approved for F-tax (F-skatt). |
registered_as_employer | boolean or null | Whether the company is registered as an employer (arbetsgivaravgift). |
group_companies | integer or null | The number of companies in the group the company belongs to. |
subsidiaries | integer or null | The number of the company's subsidiaries. |
parent_company | string or null | The name of the parent company, when the page names one. |
parent_org_number | string or null | The parent company's organisation number, when the page gives one. |
accounts | array of object | The company's own annual accounts, the latest year first, as many as the page shows. |
year (in accounts[]) | string | The year of the accounts, as the page labels them, e.g. "2025". |
period_start (in accounts[]) | string or null | The first day of the accounting period, as YYYY-MM-DD. |
period_end (in accounts[]) | string or null | The last day of the accounting period, as YYYY-MM-DD. |
months (in accounts[]) | integer or null | The length of the accounting period in months. |
currency (in accounts[]) | string or null | The ISO code of the currency the amounts are in, e.g. SEK. |
revenue (in accounts[]) | number or null | Net sales (omsättning), in thousands of currency. |
profit_after_financial_items (in accounts[]) | number or null | Profit after financial items (resultat efter finansnetto), in thousands of currency. |
net_profit (in accounts[]) | number or null | Profit for the year (årets resultat), in thousands of currency. |
total_assets (in accounts[]) | number or null | Total assets (summa tillgångar), in thousands of currency. |
equity (in accounts[]) | number or null | Equity (eget kapital), in thousands of currency. |
equity_ratio_percent (in accounts[]) | number or null | Equity ratio (soliditet), in per cent. |
employees (in accounts[]) | integer or null | The average number of employees the accounts state. |
fetched_at | string (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:
{
"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.
{
"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.
{
"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.