Skip to main content
POST
/
api
/
brreg
/
companies
/
roles
/brreg/companies/roles
curl --request POST \
  --url https://api.anysite.io/api/brreg/companies/roles \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "organization_number": "<string>",
  "timeout": 300
}
'
[
  {
    "@type": "@brreg_role",
    "group": "<string>",
    "group_description": "<string>",
    "type": "<string>",
    "type_description": "<string>",
    "person": {
      "@type": "@brreg_role_person",
      "first_name": "<string>",
      "middle_name": "<string>",
      "last_name": "<string>",
      "name": "<string>",
      "birth_date": "<string>",
      "is_dead": false
    },
    "company": {
      "@type": "@brreg_role_company",
      "organization_number": "<string>",
      "name": "<string>",
      "organization_form": "<string>",
      "is_deleted": false
    },
    "deregistered": false,
    "order": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
organization_number
string
required

Norwegian organization number (9 digits)

Example:

"923609016"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@brreg_role
group
string | null
group_description
string | null
type
string | null
type_description
string | null
person
BrregRolePerson · object
company
BrregRoleCompany · object
deregistered
boolean
default:false
order
integer | null