Live company lookup by organisationsnummer
Live Bolagsverket "Värdefulla datamängder" lookup by Swedish 10-digit organisationsnummer. The upstream JSON is passed through verbatim. Accepts formatted (`559900-0105`) or bare (`5599000105`) input. > **Sandbox serves built-in test companies** (org.nr `5599000105`, > `5599000196` … `5599000915` — see the Environments page for the full > list). Any other org.nr returns `404 company_not_found` in sandbox; > real companies can only be looked up in production.
Authorization
ApiKeyAuth API key in the form cert_<prefix>_<secret>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/service/company/lookup" \ -H "Content-Type: application/json" \ -d '{ "orgnr": "5599000105" }'{}{ "error": "string", "detail": "string"}{ "error": "string", "detail": "string"}{ "error": "insufficient_credits", "message": "Organisationen har slut på krediter. Fyll på för att fortsätta."}{ "error": "string", "detail": "string"}{ "error": "string", "detail": "string"}{ "error": "string", "detail": "string"}{ "error": "upstream_unavailable", "service": "bankid", "message": "There is currently a problem with BankID. Please try again shortly."}{ "error": "string", "detail": "string"}Start a BankID payment order on behalf of another party POST
Starts an "other" payment order. Forwarded verbatim to BankID's `/other/payment`. **Always synchronous**.
Fuzzy company name / orgnr search POST
Searches the locally synced Bolagsverket bulk register. If `q` is a 10/12-digit orgnr it does an exact lookup (`mode: orgnr`); otherwise it runs a prefix + trigram fuzzy name match (`mode: name`). > **Sandbox** searches the built-in test companies instead (exact org.nr, > or a case-insensitive part of the name, e.g. `testbolaget`). Real > companies are only searchable in production.