/brreg/companies/search
curl --request POST \
--url https://api.anysite.io/api/brreg/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"name": "<string>",
"organization_number": "<string>",
"industry_code": "<string>",
"municipality_number": "<string>",
"county": "<string>",
"from_employee_count": 1,
"to_employee_count": 1,
"from_registration_date": "<string>",
"to_registration_date": "<string>",
"bankruptcy": true,
"under_liquidation": true,
"under_forced_liquidation": true,
"registered_in_business_register": true,
"registered_in_vat_register": true,
"registered_in_voluntary_register": true,
"registered_in_foundation_register": true
}
'import requests
url = "https://api.anysite.io/api/brreg/companies/search"
payload = {
"count": 2,
"timeout": 300,
"name": "<string>",
"organization_number": "<string>",
"industry_code": "<string>",
"municipality_number": "<string>",
"county": "<string>",
"from_employee_count": 1,
"to_employee_count": 1,
"from_registration_date": "<string>",
"to_registration_date": "<string>",
"bankruptcy": True,
"under_liquidation": True,
"under_forced_liquidation": True,
"registered_in_business_register": True,
"registered_in_vat_register": True,
"registered_in_voluntary_register": True,
"registered_in_foundation_register": True
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
name: '<string>',
organization_number: '<string>',
industry_code: '<string>',
municipality_number: '<string>',
county: '<string>',
from_employee_count: 1,
to_employee_count: 1,
from_registration_date: '<string>',
to_registration_date: '<string>',
bankruptcy: true,
under_liquidation: true,
under_forced_liquidation: true,
registered_in_business_register: true,
registered_in_vat_register: true,
registered_in_voluntary_register: true,
registered_in_foundation_register: true
})
};
fetch('https://api.anysite.io/api/brreg/companies/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/brreg/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'name' => '<string>',
'organization_number' => '<string>',
'industry_code' => '<string>',
'municipality_number' => '<string>',
'county' => '<string>',
'from_employee_count' => 1,
'to_employee_count' => 1,
'from_registration_date' => '<string>',
'to_registration_date' => '<string>',
'bankruptcy' => true,
'under_liquidation' => true,
'under_forced_liquidation' => true,
'registered_in_business_register' => true,
'registered_in_vat_register' => true,
'registered_in_voluntary_register' => true,
'registered_in_foundation_register' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/brreg/companies/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/brreg/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/brreg/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}"
response = http.request(request)
puts response.read_body[
{
"organization_number": "<string>",
"name": "<string>",
"@type": "BrregCompany",
"organization_form": "<string>",
"organization_form_description": "<string>",
"registration_date": "<string>",
"foundation_date": "<string>",
"statute_date": "<string>",
"deregistered_date": "<string>",
"homepage": "<string>",
"email": "<string>",
"phone": "<string>",
"mobile": "<string>",
"language_form": "<string>",
"employee_count": 123,
"has_registered_employee_count": false,
"business_address": {
"@type": "BrregAddress",
"address": [],
"postal_code": "<string>",
"city": "<string>",
"municipality": "<string>",
"municipality_number": "<string>",
"country": "<string>",
"country_code": "<string>"
},
"postal_address": {
"@type": "BrregAddress",
"address": [],
"postal_code": "<string>",
"city": "<string>",
"municipality": "<string>",
"municipality_number": "<string>",
"country": "<string>",
"country_code": "<string>"
},
"industry_code_1": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"industry_code_2": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"industry_code_3": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"sector": {
"@type": "BrregSector",
"code": "<string>"
},
"capital": {
"@type": "BrregCapital",
"capital_amount": 123,
"capital_currency": "<string>",
"capital_type": "<string>",
"share_count": 123,
"registered_at": "<string>"
},
"historic_names": [],
"purpose": [],
"activity": [],
"last_submitted_annual_accounts": "<string>",
"in_group": false,
"bankruptcy": false,
"under_liquidation": false,
"under_forced_liquidation": false,
"registered_in_business_register": false,
"registered_in_vat_register": false,
"registered_in_foundation_register": false,
"registered_in_voluntary_register": false,
"registered_in_party_register": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/brreg
/brreg/companies/search
Search Norwegian legal entities in the Central Coordinating Register (Enhetsregisteret) by name and filters: organization number, organization form, NACE industry code, municipality, county, employee count range, registration date range, bankruptcy/liquidation status and registration flags. Returns the same record shape as brreg/companies.
Price: 5 credits per 100 results
POST
/
api
/
brreg
/
companies
/
search
/brreg/companies/search
curl --request POST \
--url https://api.anysite.io/api/brreg/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"name": "<string>",
"organization_number": "<string>",
"industry_code": "<string>",
"municipality_number": "<string>",
"county": "<string>",
"from_employee_count": 1,
"to_employee_count": 1,
"from_registration_date": "<string>",
"to_registration_date": "<string>",
"bankruptcy": true,
"under_liquidation": true,
"under_forced_liquidation": true,
"registered_in_business_register": true,
"registered_in_vat_register": true,
"registered_in_voluntary_register": true,
"registered_in_foundation_register": true
}
'import requests
url = "https://api.anysite.io/api/brreg/companies/search"
payload = {
"count": 2,
"timeout": 300,
"name": "<string>",
"organization_number": "<string>",
"industry_code": "<string>",
"municipality_number": "<string>",
"county": "<string>",
"from_employee_count": 1,
"to_employee_count": 1,
"from_registration_date": "<string>",
"to_registration_date": "<string>",
"bankruptcy": True,
"under_liquidation": True,
"under_forced_liquidation": True,
"registered_in_business_register": True,
"registered_in_vat_register": True,
"registered_in_voluntary_register": True,
"registered_in_foundation_register": True
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
name: '<string>',
organization_number: '<string>',
industry_code: '<string>',
municipality_number: '<string>',
county: '<string>',
from_employee_count: 1,
to_employee_count: 1,
from_registration_date: '<string>',
to_registration_date: '<string>',
bankruptcy: true,
under_liquidation: true,
under_forced_liquidation: true,
registered_in_business_register: true,
registered_in_vat_register: true,
registered_in_voluntary_register: true,
registered_in_foundation_register: true
})
};
fetch('https://api.anysite.io/api/brreg/companies/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/brreg/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300,
'name' => '<string>',
'organization_number' => '<string>',
'industry_code' => '<string>',
'municipality_number' => '<string>',
'county' => '<string>',
'from_employee_count' => 1,
'to_employee_count' => 1,
'from_registration_date' => '<string>',
'to_registration_date' => '<string>',
'bankruptcy' => true,
'under_liquidation' => true,
'under_forced_liquidation' => true,
'registered_in_business_register' => true,
'registered_in_vat_register' => true,
'registered_in_voluntary_register' => true,
'registered_in_foundation_register' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/brreg/companies/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/brreg/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/brreg/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"organization_number\": \"<string>\",\n \"industry_code\": \"<string>\",\n \"municipality_number\": \"<string>\",\n \"county\": \"<string>\",\n \"from_employee_count\": 1,\n \"to_employee_count\": 1,\n \"from_registration_date\": \"<string>\",\n \"to_registration_date\": \"<string>\",\n \"bankruptcy\": true,\n \"under_liquidation\": true,\n \"under_forced_liquidation\": true,\n \"registered_in_business_register\": true,\n \"registered_in_vat_register\": true,\n \"registered_in_voluntary_register\": true,\n \"registered_in_foundation_register\": true\n}"
response = http.request(request)
puts response.read_body[
{
"organization_number": "<string>",
"name": "<string>",
"@type": "BrregCompany",
"organization_form": "<string>",
"organization_form_description": "<string>",
"registration_date": "<string>",
"foundation_date": "<string>",
"statute_date": "<string>",
"deregistered_date": "<string>",
"homepage": "<string>",
"email": "<string>",
"phone": "<string>",
"mobile": "<string>",
"language_form": "<string>",
"employee_count": 123,
"has_registered_employee_count": false,
"business_address": {
"@type": "BrregAddress",
"address": [],
"postal_code": "<string>",
"city": "<string>",
"municipality": "<string>",
"municipality_number": "<string>",
"country": "<string>",
"country_code": "<string>"
},
"postal_address": {
"@type": "BrregAddress",
"address": [],
"postal_code": "<string>",
"city": "<string>",
"municipality": "<string>",
"municipality_number": "<string>",
"country": "<string>",
"country_code": "<string>"
},
"industry_code_1": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"industry_code_2": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"industry_code_3": {
"@type": "BrregIndustryCode",
"code": "<string>"
},
"sector": {
"@type": "BrregSector",
"code": "<string>"
},
"capital": {
"@type": "BrregCapital",
"capital_amount": 123,
"capital_currency": "<string>",
"capital_type": "<string>",
"share_count": 123,
"registered_at": "<string>"
},
"historic_names": [],
"purpose": [],
"activity": [],
"last_submitted_annual_accounts": "<string>",
"in_group": false,
"bankruptcy": false,
"under_liquidation": false,
"under_forced_liquidation": false,
"registered_in_business_register": false,
"registered_in_vat_register": false,
"registered_in_foundation_register": false,
"registered_in_voluntary_register": false,
"registered_in_party_register": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Required range:
20 <= x <= 1500Available 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 Required range:
x >= 0Required range:
x >= 0Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I