Skip to main content
POST
/
api
/
brreg
/
sub_units
/
search
/brreg/sub_units/search
curl --request POST \
  --url https://api.anysite.io/api/brreg/sub_units/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "name": "Equinor",
  "organization_number": "<string>",
  "parent_organization_number": "923609016",
  "organization_form": "BEDR",
  "industry_code": "62.01",
  "municipality_number": "1103",
  "from_employee_count": 1,
  "to_employee_count": 1,
  "from_registration_date": "2020-01-01",
  "to_registration_date": "2024-12-31",
  "registered_in_vat_register": true
}
'
[
  {
    "organization_number": "<string>",
    "name": "<string>",
    "@type": "@brreg_sub_unit",
    "parent_organization_number": "<string>",
    "organization_form": "<string>",
    "organization_form_description": "<string>",
    "registration_date": "<string>",
    "startup_date": "<string>",
    "deregistered_date": "<string>",
    "phone": "<string>",
    "mobile": "<string>",
    "email": "<string>",
    "homepage": "<string>",
    "employee_count": 123,
    "has_registered_employee_count": false,
    "location_address": {
      "@type": "@brreg_address",
      "address": [],
      "postal_code": "<string>",
      "city": "<string>",
      "municipality": "<string>",
      "municipality_number": "<string>",
      "country": "<string>",
      "country_code": "<string>"
    },
    "postal_address": {
      "@type": "@brreg_address",
      "address": [],
      "postal_code": "<string>",
      "city": "<string>",
      "municipality": "<string>",
      "municipality_number": "<string>",
      "country": "<string>",
      "country_code": "<string>"
    },
    "industry_code_1": {
      "@type": "@brreg_industry_code",
      "code": "<string>",
      "description": "<string>"
    },
    "industry_code_2": {
      "@type": "@brreg_industry_code",
      "code": "<string>",
      "description": "<string>"
    },
    "industry_code_3": {
      "@type": "@brreg_industry_code",
      "code": "<string>",
      "description": "<string>"
    },
    "auxiliary_code": {
      "@type": "@brreg_industry_code",
      "code": "<string>",
      "description": "<string>"
    },
    "historic_names": [],
    "registered_in_vat_register": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
name
string | null

Sub-unit name to search for

Example:

"Equinor"

organization_number
string | null

Filter by organization number

parent_organization_number
string | null

Filter by parent organization number

Example:

"923609016"

organization_form
enum<string> | null

Filter by organization form

Available options:
AAFY,
ADOS,
ANNA,
ANS,
AS,
ASA,
BA,
BBL,
BEDR,
BO,
BRL,
DA,
ENK,
EOFG,
ESEK,
FKF,
FLI,
FYLK,
GFS,
IKJP,
IKS,
KBO,
KF,
KIRK,
KOMM,
KS,
KTRF,
NUF,
OPMV,
ORGL,
PERS,
PK,
PRE,
SA,
SAM,
SE,
SF,
SPA,
STAT,
STI,
SÆR,
TVAM,
UTLA,
VPFO
Example:

"BEDR"

industry_code
string | null

Filter by NACE industry code

Example:

"62.01"

municipality_number
string | null

Filter by municipality number

Example:

"1103"

from_employee_count
integer | null

Minimum number of employees

Required range: x >= 0
to_employee_count
integer | null

Maximum number of employees

Required range: x >= 0
from_registration_date
string | null

Earliest registration date (YYYY-MM-DD)

Example:

"2020-01-01"

to_registration_date
string | null

Latest registration date (YYYY-MM-DD)

Example:

"2024-12-31"

registered_in_vat_register
boolean | null

Filter by registration in the VAT register

Response

Successful Response

organization_number
string
required
name
string
required
@type
string
default:@brreg_sub_unit
parent_organization_number
string | null
organization_form
string | null
organization_form_description
string | null
registration_date
string | null
startup_date
string | null
deregistered_date
string | null
phone
string | null
mobile
string | null
email
string | null
homepage
string | null
employee_count
integer | null
has_registered_employee_count
boolean
default:false
location_address
BrregAddress · object
postal_address
BrregAddress · object
industry_code_1
BrregIndustryCode · object
industry_code_2
BrregIndustryCode · object
industry_code_3
BrregIndustryCode · object
auxiliary_code
BrregIndustryCode · object
historic_names
BrregHistoricName · object[]
registered_in_vat_register
boolean
default:false