Skip to content

API reference

Search registered companies

customers.SearchRegisteredCompaniesReadMember delegation

Find registered companies by name or organisation number in Norway and Sweden. Use unavailable to distinguish an unavailable register from no matches.

POST/v1/operations/customers.SearchRegisteredCompanies
On this page

Access & visibility

Allow customers.SearchRegisteredCompanies on your API key.

Acting member required. Send Brigg-Act-As with an approved member account ID. The key supplies permissions; the member selects whose data is used.

The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply.

Set up authentication · Choose permissions

Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.

querystringRequired

A name, or an organisation number.

At most 200 characters.

Response

Returns 200 OK with a JSON body.

hitsarray of RegisteredCompanyRequired

Matching company records, in the returned search order.

Item fields
org_numberstringRequired

Official organization number as text; preserve leading zeros.

display_namestringRequired

Human-readable name used for this record.

namestringRequired

Display name.

citynull or stringRequired

Postal town or city.

unavailablestringOptional

The register's own reason it did not answer a number lookup (not_configured, unauthorized, unavailable).

Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. Supply Brigg-Act-As with a member authorized by the key’s delegation grant. The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 200,
      "description": "A name, or an organisation number."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "query": "Northstar"
    }
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "hits": {
      "type": "array",
      "items": {
        "title": "RegisteredCompany",
        "type": "object",
        "properties": {
          "org_number": {
            "type": "string",
            "description": "Official organization number as text; preserve leading zeros."
          },
          "display_name": {
            "type": "string",
            "description": "Human-readable name used for this record."
          },
          "name": {
            "type": "string",
            "description": "Display name."
          },
          "city": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ],
            "description": "Postal town or city."
          }
        },
        "required": [
          "org_number",
          "display_name",
          "name",
          "city"
        ],
        "additionalProperties": false
      },
      "description": "Matching company records, in the returned search order."
    },
    "unavailable": {
      "type": "string",
      "description": "The register's own reason it did not answer a number lookup (`not_configured`, `unauthorized`, `unavailable`)."
    }
  },
  "required": [
    "hits"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "hits": [
        {
          "org_number": "999999999",
          "display_name": "Northstar Consulting AS",
          "name": "Northstar Consulting AS",
          "city": null
        }
      ]
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.