Verify if a company and or current or historical board members or beneficial owners occurs in legal documents.
Legal Information - Company
https://api.roaring.io/se/company/legal/1.0/documentDescriptionParameters query
companyIdrequired | stringnational identifier for the company |
documentIdrequired | stringid of document |
Response schema: application/json
https://api.roaring.io/se/company/legal/1.0/fetchDocumentUri/{documentId}Parameters path
documentIdrequired | stringid of legal information document |
https://api.roaring.io/se/company/legal/1.0/{companyId}Parameters path
companyIdrequired | stringnational identifier for the company |
Parameters query
documentHistoryYears | integernumber of years for matching history documents to include |
relationHistoryDateFrom | stringperson relation documents start date |
relationHistoryDateTo | stringperson relation documents end date |
Reach out to our support team.

The Legal Information - Company API provides crucial insights into a company’s legal history, helping identify liabilities, assess risks, and ensure compliance with Anti-Money Laundering (AML) regulations. By accessing up-to-date legal data, businesses can strengthen due diligence, avoid reputational harm, and make informed, secure decisions.
With this API, you can:
Use case:
A financial institution uses the Legal Information - Company API to check if a potential business partner or its board members have been involved in legal disputes or court decisions, ensuring compliance with AML regulations and reducing exposure to legal risks.
Below is a list of available Role codes for roles that persons can have in a company. The information is displayed as a code with a descriptive text.
Code | Role (Sv) | Role |
|---|---|---|
| 0 | Innehavare | Holder |
| 1 | Arbetstagarrepresentant | Employee representatives |
| 2 | Extern firmatecknare | External signatory |
| 3 | Extern verkställande direktör | External CEO |
| 4 | Extern vice verkställande direktör | External Deputy CEO |
| 5 | Ledamot | Commissioner |
| 6 | Likvidator | Receiver in liquidation liquidator |
| 7 | Likvidatorssuppleant | Alternate Deputy Liquidator |
| 8 | Revisor | Auditor |
| 9 | Revisorssuppleant | Deputy Auditor |
Rows per page
Below is a list of available Role codes for roles that persons can have in a company. The information is displayed as a code with a descriptive text.
Code | Role (Sv) | Role |
|---|---|---|
| 410 | Verklig huvudman | Beneficial owner |
| 420 | Alternativ verklig huvudman | Alternative beneficial owner |
Possible values for the field collectionRoleCode - The information is displayed as a code with a descriptive text.
Code | Role (Sv) | Role |
|---|---|---|
| ABO | Alternativ verklig huvudman | Alternative beneficial owner |
| BM | Styrelsemedlem och liknande roller | Board member and similar roles |
| BO | Verklig huvudman | Beneficial owner |
Below is code table for Court Codes. The API respons returns Court Codes, use this table to translate to the Instance Court Code to use the actual name of the instance in text.
Court Code | Court Type Swedish | Court Type (English) |
|---|---|---|
| TR | Tingsrätten | District Court |
| FR | Förvaltningsrätten | Administrative Court |
| AM | Åklagarmyndigheten | Prosecution Authority |
| KR | Kammarätten | Administrative Court of Appeal |
| HN | Hyresnämnden | Rent and Tenancy Tribunal |
| HR | Hovrätten | Court Of Appeal |
| MMD | Mark & Miljödomstolen | Land and Environment Court |
| EBM | Ekobrottsmyndigheten | Economic Crime Authority |
| SKV | Skatteverket | Swedish Tax Agency |
| HFD | Högsta Förvaltningsdomstolen | Supreme Administrative Court |
Rows per page
Below is a Document Type translation table for SE. The API respons returns Document Type Codes, use this table to translate the Document typ code to the actual document name type in text.
Document Code Type | Document Type (Swedish) | Document Type Description (English) |
|---|---|---|
| trdom | Tingsrättsdom | District Court judgement |
| frdom | Förvaltningsrättsdom | Administrative Court judgement |
| atal | Beslut Åklagarmyndigheten | Prosecution Authority decision |
| krdom | Kammarättsdom | Administrative Court of Appeal judgement |
| hndom | Hyresnämndsdom | Rent Tribunal Judgement |
| hrdom | Hovrättsdom | Court Of Appeal judgement |
| miljodom | Mark & Miljödom | Land and Environment Court judgement |
| ebm | Strafförelägganden från Ekobrottsmyndigheten | Summary impositions from the Economic Crime Authority |
| skattesanktion | Skattesanktionsbeslut | Tax corrections |
| hfdbeslut | Högsta Förvaltningsdomstolen - Dom | Supreme Administrative Court judgement |
Rows per page
The Company Roles attached to the CompanyID are checked against the legal information Data, by using the unique social security number linked to each Role.
The API supports the function of retrieving current and historical Roles in the company and then look up against the legal information data. Default is set to 2 years regarding relationHistory. It means that the API will retrieve 2 years of board member/beneficial owner/alternative beneficial owner history and check any occurrences in legal documents.
Note that the documentHistoryYears parameter is used to set historical number of years back in time regarding the legal document to be included in the response. Default is set to 5 years, which also is the maximum.
It is optional to use the DocumentHistoryYears, and RelationHistoryDate as query parameters.