# Norway & Latvia Company Financials (official open data) (`itulo/nordic-baltic-company-financials`) Actor

Annual-accounts key figures (revenue, profit, assets, equity, liabilities, cash, employees, ratios) for Norwegian and Latvian companies from official register open data (Brreg NLOD 2.0, Latvian UR CC0). Company-level only, attribution included.

- **URL**: https://apify.com/itulo/nordic-baltic-company-financials.md
- **Developed by:** [Italo Armenti](https://apify.com/itulo) (community)
- **Categories:** Business, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 financial year records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Norway & Latvia Company Financials (official open data)

Get **annual-accounts key figures** for Norwegian and Latvian companies straight from the official business registers' open data: revenue, operating profit, profit before tax, net income, total assets, equity, liabilities, cash, inventories, receivables, employees, plus ready-made ratios (equity ratio, net and operating margin, current ratio). One row per company, fiscal year and accounts type (company or consolidated group).

- **Norway:** Brønnøysund Register Centre, Regnskapsregisteret open API (key figures from filed annual accounts) + Enhetsregisteret for name, legal form, NACE industry and municipality. Licence: NLOD 2.0.
- **Latvia:** Register of Enterprises (Uzņēmumu reģistrs) open datasets "Gada pārskatu finanšu dati" (annual-report financial data) and the company register, via data.gov.lv. Licence: CC0 1.0.

No API key, no login, no scraping: only the registers' published open-data APIs.

### Use cases

- KYB / credit pre-screening of Nordic and Baltic suppliers and customers
- Enriching CRM or procurement lists with revenue, profit and equity
- Market and competitor analysis by year (Latvia back to about 2010)
- Feeding AI agents and spreadsheets with comparable, normalised figures

### Input

| Field | Meaning |
|---|---|
| `companies` | Norwegian organisasjonsnummer (9 digits, `NO` prefix and `MVA` suffix accepted) and/or Latvian registration numbers (11 digits, `LV` prefix accepted). The country is detected from the format. |
| `searchNames` + `searchCountry` | Optional: look companies up by name in the Norwegian or Latvian register; the best legal-entity matches are added. |
| `maxSearchMatches` | Matches taken per searched name (default 3). |
| `years` | Latest N fiscal years per company (default 3). Norway's open API currently publishes the latest filed years only (up to 3). |
| `accountsType` | `both` (default), `company` or `group`. |

Example:

```json
{ "companies": ["923609016", "LV40003032949"], "years": 2 }
```

### Output (one record per company-year)

`country, businessId, companyName, legalForm{code,en,local}, naceCode, industry, municipality, accountsType, fiscalYear, periodStart, periodEnd, currency, unit, employees, revenue, salesRevenue, operatingExpenses, operatingProfit, netFinancialItems, profitBeforeTax, incomeTax, netIncome, totalAssets, currentAssets, nonCurrentAssets, cash, inventories, receivables, equity, totalLiabilities, currentLiabilities, nonCurrentLiabilities, accountingRules, smallCompany, audited, ratios{equityRatio, netProfitMargin, operatingMargin, currentRatio}, sourceUrl, attribution, licence, licenceUrl, termsUrl`

Amounts are in the reporting currency (`currency`), converted to whole units (Latvian reports filed "in thousands" are multiplied out; `reportedRounding` shows the original). Fields a register does not publish are `null` (e.g. Latvia has no operating profit line in the open dataset; Norway's `employees` is the current registered headcount, not per year).

The run summary (`OUTPUT_SUMMARY` in the key-value store) lists every requested company with a status: `ok`, `not_found`, `no_accounts`, `excluded_person_business`, `unsupported_layout_bank` (Brreg's open API does not publish bank or insurance layouts), or `error`.

### Privacy: company-level only

- Sole proprietorships and other natural-person businesses are **excluded**: Norway `ENK`/`PERS`; Latvia `IK` (individual merchant), `ZS` (farm), `ZVS` (fishing household). For these the actor returns no data at all.
- No board members, owners, beneficial owners, auditors, accountants or street addresses are ever requested or output.

### Sources, licences and attribution

- **Norway:** "Inneholder data under Norsk lisens for offentlige data (NLOD) tilgjengeliggjort av Brønnøysundregistrene." Licence: [NLOD 2.0](https://data.norge.no/nlod/no/2.0). Source: [data.brreg.no](https://data.brreg.no/regnskapsregisteret/regnskap/v3/api-docs).
- **Latvia:** "Source: Register of Enterprises of the Republic of Latvia (Uzņēmumu reģistrs), open data on data.gov.lv." Licence: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). Source: [data.gov.lv dataset](https://data.gov.lv/dati/lv/dataset/gada-parskatu-finansu-dati).
- Every record carries its own `attribution`, `licence` and `licenceUrl`. Changes made: fields selected, renamed to English, amounts normalised to whole units, ratios computed.
- This actor is not affiliated with or endorsed by Brønnøysundregistrene or the Latvian Register of Enterprises.

### Pricing

Pay per event: the built-in Actor start fee (**$0.00005**, `apify-actor-start`) plus **$0.01 per financial-year record** (`financial-year-record`). That is $1.00 per 100 company-years, plus the start fee. Companies that are not found, excluded or unsupported cost nothing.

### Limits

- Norway: only the latest filed years are in the open API; banks/insurers are not supported by Brreg's open API.
- Latvia: data.gov.lv can be slow or drop connections; the actor retries with backoff (typically 5-30 s per company).
- Not investment advice; figures are as filed with the registers.

# Actor input Schema

## `companies` (type: `array`):

Norwegian organisasjonsnummer (9 digits, e.g. 923609016 or NO923609016MVA) and/or Latvian registration numbers (11 digits, e.g. 40003032949 or LV40003032949). Country is detected from the format.

## `searchNames` (type: `array`):

Company names to look up in the official register of the country chosen below. The best matches (legal entities only) are added to the list.

## `searchCountry` (type: `string`):

Register used for the name search: NO = Norway (Brønnøysund Enhetsregisteret), LV = Latvia (Register of Enterprises).

## `maxSearchMatches` (type: `integer`):

How many register matches to take per searched name (1-10).

## `years` (type: `integer`):

Latest N fiscal years per company (1-10). Norway's open API publishes the latest filed years only (currently up to 3); Latvia goes back to about 2010.

## `accountsType` (type: `string`):

Return company (parent) accounts, consolidated group accounts, or both.

## Actor input object example

```json
{
  "companies": [
    "923609016",
    "40003032949"
  ],
  "searchCountry": "NO",
  "maxSearchMatches": 3,
  "years": 3,
  "accountsType": "both"
}
```

# Actor output Schema

## `results` (type: `string`):

Key figures per company and fiscal year.

## `summary` (type: `string`):

Per-company status (ok, not_found, no_accounts, excluded_person_business, unsupported_layout_bank...) and attribution.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companies": [
        "923609016",
        "40003032949"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("itulo/nordic-baltic-company-financials").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companies": [
        "923609016",
        "40003032949",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("itulo/nordic-baltic-company-financials").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companies": [
    "923609016",
    "40003032949"
  ]
}' |
apify call itulo/nordic-baltic-company-financials --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,itulo/nordic-baltic-company-financials"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0SycwdfUhpDjSmr7q/builds/om15KFy1R50eXQW5e/openapi.json
