Skip to main content
POST
/
api
/
brreg
/
companies
/
sub_units
/brreg/companies/sub_units
curl --request POST \
  --url https://api.anysite.io/api/brreg/companies/sub_units \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "organization_number": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "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
organization_number
string
required

Parent organization number (9 digits)

Example:

"923609016"

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

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