Swedish Company Lookup API — Bolagsverket Made Simple
Need to look up a Swedish company's details? Bolagsverket (the Swedish Companies Registration Office) has the data, but accessing it programmatically requires navigating OAuth2 authentication, SOAP/XML endpoints, and complex registration processes.
Apiverket gives you the same data with a single GET request.
The Problem with Bolagsverket's API
To query Bolagsverket directly, you need to:
- Register for API access — apply through their developer portal, wait for approval
- Implement OAuth2 — client credentials flow with token refresh
- Parse XML/SOAP responses — many endpoints still use XML, not JSON
- Handle rate limits and quotas — separate from your application's limits
For a simple "give me the company name for org.nr 5591234567", that's a lot of setup.
One GET Request Instead
Bolagsverket Direct
// 1. Get OAuth2 token
const token = await fetch(
"https://api.bolagsverket.se/oauth/token",
{ method: "POST", body: new URLSearchParams({
grant_type: "client_credentials",
client_id: "YOUR_CLIENT_ID",
client_secret: "YOUR_SECRET"
})}
).then(r => r.json());
// 2. Query with token
const res = await fetch(
"https://api.bolagsverket.se/...",
{ headers: { Authorization:
`Bearer ${token.access_token}` }}
);
// 3. Parse XML response
// ...
Apiverket
const res = await fetch(
"https://apiverket.se/v1/companies" +
"/5591234567",
{
headers: {
Authorization:
"Bearer sk_live_YOUR_KEY"
}
}
);
const { data } = await res.json();
// data.name = "Acme AB"
// data.legal_form = "Aktiebolag"
// data.sni_codes = ["62010"]
// data.address = { ... }
No OAuth2, no XML, no registration. Apiverket handles the upstream authentication and data transformation. You get clean JSON with a single API key.
What You Get
The company endpoints return:
- Company details — name, org.nr, registration date, status
- Legal form — Aktiebolag, Handelsbolag, Enskild firma, etc.
- SNI codes — industry classification with descriptions
- Address — registered and postal address
- Search by name — find companies by name with fuzzy matching
Available Endpoints
| Endpoint | Description |
|---|---|
/v1/companies/{orgnr} | Look up by organisation number |
/v1/companies?q=name | Search companies by name |
/v1/vat/{vatNumber} | EU VAT number validation |
Try It Now
curl -H "Authorization: Bearer sk_test_demo123" \
https://apiverket.se/v1/companies/5591234567
Need Swedish company data in your app?
Start with the test key — no signup, no OAuth2, no XML parsing.
Explore the API DocsView pricing plans — free tier includes 200 requests/day