Search a country's company register
curl --request GET \
--url https://api.watchdog.no/v1/companies/register/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.watchdog.no/v1/companies/register/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.watchdog.no/v1/companies/register/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"registration_number": "<string>",
"registered_name": "<string>",
"legal_form": "<string>",
"municipality": "<string>",
"bankrupt": true,
"winding_up": true
}
],
"typed_number": {
"registration_number": "<string>",
"valid": true
}
}{
"error": {
"code": "validation_error",
"message": "The request is invalid. details lists up to 20 field errors. Request bodies are limited to 2 MiB.",
"request_id": "req_example"
}
}{
"error": {
"code": "invalid_token",
"message": "The bearer token is missing or invalid.",
"request_id": "req_example"
}
}{
"error": {
"code": "forbidden",
"message": "Access denied. The error code says why: forbidden, token_disabled, organization_required, insufficient_role or mfa_required.",
"request_id": "req_example"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Wait for the Retry-After delay before retrying.",
"request_id": "req_example"
}
}{
"error": {
"code": "internal_error",
"message": "Unexpected server failure. Include the request ID when contacting support.",
"request_id": "req_example"
}
}{
"error": {
"code": "service_unavailable",
"message": "The register cannot be searched right now. Enter the number instead.",
"request_id": "req_example"
}
}Companies
Search a country's company register
Finds companies in the country’s register so an Admin can find a company’s number: legal entities by name, or the one unit, sub-units included, a typed number belongs to. A typed number also says whether it can be one, since a valid number the register does not hold can still be given. A suggestion only: updateCompany looks the chosen number up again. Returns 503 when the register cannot be searched; the number can still be given.
Search a country's company register
curl --request GET \
--url https://api.watchdog.no/v1/companies/register/search \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.watchdog.no/v1/companies/register/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.watchdog.no/v1/companies/register/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"registration_number": "<string>",
"registered_name": "<string>",
"legal_form": "<string>",
"municipality": "<string>",
"bankrupt": true,
"winding_up": true
}
],
"typed_number": {
"registration_number": "<string>",
"valid": true
}
}{
"error": {
"code": "validation_error",
"message": "The request is invalid. details lists up to 20 field errors. Request bodies are limited to 2 MiB.",
"request_id": "req_example"
}
}{
"error": {
"code": "invalid_token",
"message": "The bearer token is missing or invalid.",
"request_id": "req_example"
}
}{
"error": {
"code": "forbidden",
"message": "Access denied. The error code says why: forbidden, token_disabled, organization_required, insufficient_role or mfa_required.",
"request_id": "req_example"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Wait for the Retry-After delay before retrying.",
"request_id": "req_example"
}
}{
"error": {
"code": "internal_error",
"message": "Unexpected server failure. Include the request ID when contacting support.",
"request_id": "req_example"
}
}{
"error": {
"code": "service_unavailable",
"message": "The register cannot be searched right now. Enter the number instead.",
"request_id": "req_example"
}
}Authorizations
Headers
Query Parameters
Response
Legal entities found by the name or number.