# Latvia Company Register & Financials Scraper - UR Open Data (`rel8ble/latvia-company-register`) Actor

Latvia company register scraper and API (UR open data): Latvian B2B company lists for Baltic lead generation by town, legal form and registration date, with financials. One result = one company: reg. number, name, address, status, employees, turnover, profit. $0.90 per 1,000.

- **URL**: https://apify.com/rel8ble/latvia-company-register.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 results

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

## Latvia Company Register & Financials Scraper - UR Open Data

This **Latvian company register scraper** turns the official **Register of Enterprises (Uzņēmumu reģistrs) open data** into clean **B2B company lists with financials**: pick a town such as `Rīga`, `Liepāja` or `Daugavpils`, a legal form such as `SIA` or `AS`, a word of the name or a registration date window, and get one row per company with the **registration number, name, legal form, register, registration date, status, legal address, post code** and, from the newest annual report on file, **employees, net turnover, net income, total assets and equity**.

Use it as a **Latvia B2B lead list builder**, a **new company monitor** (companies registered this week), a **company size filter** (at least 50 employees or EUR 1M turnover), a **registration number lookup** for KYC and invoicing, or a **Baltic market sizing** tool, from your own code, Make, Zapier, n8n or an AI agent.

It reads the register's open datasets on data.gov.lv over plain HTTP, with **no browser and no login**. The prefilled demo returned 20 companies with financials in 10.4 s in a cloud run on 7 November 2026. **$0.90 per 1,000 results, no start fee.**

**What goes in:** towns, name words, legal forms, a registration date window, a sort order, minimum employees or turnover, or exact registration numbers. **What comes out:** one row per company. **When to use it:** you need Latvian companies of a type, in a place, founded in a period or above a size, with their official numbers and addresses.

**What it does not have:** **no e-mails, no phone numbers, no websites, no industry (NACE) codes and no people.** The open register has none of them. **Individual merchants and individual or family enterprises** (forms run by one person, usually named after them) are never output.

### What you get

- **Identity**: 11-digit registration number, registered name, name without the legal form, SEPA creditor ID.
- **Form and register**: legal form code with its Latvian and English name, register (commercial register, associations and foundations ...).
- **Status and dates**: registration date, strike-off date, active flag, status (active, liquidated, reorganised).
- **Address**: legal address, post code, town.
- **Financials** (newest annual report): year and period, consolidated flag, currency, employees, net turnover, gross profit, profit before tax, net income, total assets, equity, cash, current liabilities, filing date. Amounts are in EUR and scaled to units when the report is filed in thousands.

Measured on 7 November 2026: the register held 140,324 active limited companies (SIA). In the demo (oldest active SIA in Liepāja) 20 of 20 rows had financials for 2025. Companies registered in the last weeks have no annual report yet: Rīga SIA registered since 1 October 2026 gave 512 rows in one run, without financials.

### Sample output

Real rows from the prefilled run (active SIA in Liepāja, oldest first, 7 November 2026):

| company | reg. number | registered | address | year | employees | turnover EUR |
|---|---|---|---|---|---|---|
| Sabiedrība ar ierobežotu atbildību "GEIKO" | 42102000550 | 1991-03-06 | Liepāja, Kūrmājas prospekts 23/25 - 1 | 2025 | 21 | 439,387 |
| Sabiedrība ar ierobežotu atbildību "VARAVĪKSNE" | 42102001166 | 1991-03-30 | Liepāja, Sakņu iela 6/8 - 26 | 2025 | 0 | 3,600 |
| SIA LSEZ "DUNA" | 42103000026 | 1991-04-05 | Liepāja, Atslēdznieku iela 29 | 2025 | 21 | 1,143,123 |
| SIA "KRISTAPS L" | 42103000168 | 1991-04-26 | Liepāja, Avotu iela 4 | 2025 | 1 | 0 |
| SIA "MŪRNIEKS" | 42102001645 | 1991-04-30 | Liepāja, Krūmu iela 11/13 | 2025 | 63 | 2,368,333 |

### Use cases

- **B2B lead generation in Latvia**: every active SIA in a town, with size from the annual report
- **Target account lists**: Rīga companies with at least 50 employees (`minEmployees`) or a turnover floor (`minTurnover`)
- **New company monitoring**: newest first with "Registered on or after", scheduled weekly
- **KYC and data cleaning**: look up registration numbers and check status and address
- **Market sizing**: count companies per town and legal form

### Pricing

**$0.90 per 1,000 results** (pay per result, $0.0009 each), no start fee, platform usage included. A result is one company saved to your dataset. Searches that find nothing, person-run forms, companies below your employee or turnover floor, duplicates and failed requests are never charged. Set **Max results per search** to cap the cost of a run. 100 companies cost $0.09, 10,000 cost $9.00; Apify's free plan ($5 of monthly credit) covers about 5,500.

The data comes from free public datasets. You pay for the ready rows, the joined financials and the filters, not for access.

Live Apify Store search on 11 November 2026 ("latvia company", "latvian companies", "baltic companies", "latvia business", "latvia"): other Latvian register actors charge $1.00 to $20.00 per 1,000 results (datadesk-io $1.00 plus a start fee, darikami $2.00 for Estonia and Latvia, scrapingmonkey $3.00, foxlabs $4.00 with officers and owners, dltik $5.00, parseforge $8.50, studio-amba $12.00), deriverge charges a run fee plus $0.002 per company, a separate financials actor charges $5.00 per 1,000 statements, and a free actor reads the tax office's (VID) tax and staff figures, a different source. This one is $0.90 with no start fee, the lowest per-company price for the Latvian register we found that day. Prices change; check before you compare.

### FAQ

**Where does the data come from?** The Register of Enterprises of the Republic of Latvia (Latvijas Republikas Uzņēmumu reģistrs) open datasets on data.gov.lv: the enterprise register, and the annual report basics, income statements and balance sheets. They are published under **CC0 1.0**. This actor is not affiliated with the Register of Enterprises.

**How fresh is it?** Each run queries the live datasets. On 7 November 2026 companies registered on 6 November were already in them. Annual reports appear once filed and processed.

**Which annual report is used?** The newest year on file. When a group files both, the company's own (stand-alone) report is used, and `financials.consolidated` says which one it is.

**How does the town filter work?** The town must be one of the place parts of the legal address (not the street), so `Liepāja` does not match "Rīga, Liepājas iela". Accents are optional.

**Can I search by industry?** No. The open register has no NACE codes. Use name words (e.g. `logistics`, `koks`, `būv`) or the size filters.

**What does one search mean?** Every combination of name word and town is one search with its own row limit. Registration numbers are looked up together.

**Known gaps**: no contact details or industry codes; name words are matched in the name, and the portal's full-text search may miss unusual spellings; size filters need a filed annual report, so new companies never pass them; very large runs read the register 1,000 rows at a time.

### How to use

1. Open the actor and enter towns (e.g. `Rīga`) and legal forms (e.g. `SIA`), or name words, or registration numbers.
2. Choose the **Order**: newest registrations first (new-company leads) or oldest first (established companies with reports).
3. Optional: a registration date window, **Min employees**, **Min turnover**, **Add financials**.
4. Set **Max results per search** (start with 20), click **Start**, then export the dataset as CSV, Excel or JSON.

### Input

| Field | What it does |
|---|---|
| `towns` | Town or municipality in the legal address. |
| `nameWords` | A word of the company name; each is its own search. |
| `companyTypes` | Legal forms: SIA, AS, KS, PS, FIL, BDR, ZEM ... |
| `registeredFrom`, `registeredTo` | Registration date window (YYYY-MM-DD). |
| `registrationNumbers` | Exact 11-digit lookups. |
| `sortOrder` | `newest` or `oldest` first. |
| `activeOnly` | Leave out liquidated and reorganised entities (on by default). |
| `includeFinancials` | Join the newest annual report (on by default). |
| `minEmployees`, `minTurnover` | Size floors from the newest report. |
| `maxResultsPerSearch` | Rows per search; 0 = all. |

Invalid values are ignored and listed in the run summary. A filter where no value is valid stops the run instead of widening the search.

### Input example

```json
{
    "towns": ["Rīga", "Mārupe"],
    "companyTypes": ["SIA", "AS"],
    "sortOrder": "oldest",
    "minEmployees": 50,
    "includeFinancials": true,
    "maxResultsPerSearch": 500
}
```

### Output example

One real row from the prefilled run (7 November 2026):

```json
{
    "registrationNumber": "42102000550",
    "name": "Sabiedrība ar ierobežotu atbildību \"GEIKO\"",
    "nameInQuotes": "GEIKO",
    "type": "SIA",
    "typeLv": "Sabiedrība ar ierobežotu atbildību",
    "typeEn": "Limited liability company (SIA)",
    "register": "Commercial register",
    "registered": "1991-03-06",
    "terminated": null,
    "active": true,
    "status": "active",
    "address": "Liepāja, Kūrmājas prospekts 23/25 - 1",
    "postalCode": "LV-3401",
    "town": "Liepāja",
    "sepaCreditorId": "LV92ZZZ42102000550",
    "financialYear": 2025,
    "employees": 21,
    "netTurnover": 439387,
    "netIncome": 1262,
    "totalAssets": 307749,
    "equity": 82431,
    "financials": {
        "year": 2025,
        "periodStart": "2025-01-01",
        "periodEnd": "2025-12-31",
        "consolidated": false,
        "currency": "EUR",
        "employees": 21,
        "netTurnover": 439387,
        "grossProfit": 39452,
        "profitBeforeTax": 1262,
        "netIncome": 1262,
        "totalAssets": 307749,
        "equity": 82431,
        "cash": 7025,
        "currentLiabilities": 66809,
        "filedAt": "2026-05-25"
    },
    "financialsChecked": true,
    "sourceUrl": "https://data.gov.lv/dati/lv/dataset/uz",
    "searchLabel": "town=Liepāja",
    "position": 1,
    "scrapedAt": "2026-11-07T18:49:39.017Z"
}
```

A `RUN_SUMMARY` record in the key-value store lists, per search, how many register entries match, how many rows were saved, why the search stopped, how many rows were skipped and any input that was ignored.

### Integrations

Run it from the Apify API, schedule it in Apify, or connect it to Make, Zapier, n8n, Google Sheets, Slack or a webhook. AI agents can call it through the Apify MCP server: give a town and a size floor, get Latvian companies back.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `towns` (type: `array`):

Town or municipality in the legal address, e.g. "Rīga", "Liepāja", "Daugavpils", "Jelgava", "Mārupes nov.". Accents optional. Each town is its own search.

## `nameWords` (type: `array`):

A word of the company name, e.g. "logistics", "baltic", "koks". Each is its own search, combined with every town.

## `companyTypes` (type: `array`):

Keep only these legal forms. SIA = limited company, AS = joint-stock company. Empty = all business and non-profit forms (person-run forms such as individual merchants are never output).

## `registeredFrom` (type: `string`):

YYYY-MM-DD. Use it for newly founded companies; results run newest first and stop at this date.

## `registeredTo` (type: `string`):

YYYY-MM-DD.

## `registrationNumbers` (type: `array`):

Look up exact companies by their 11-digit registration number, e.g. "40003032949".

## `sortOrder` (type: `string`):

newest = most recently registered first (new-company leads). oldest = longest-established first (companies with annual reports and staff). The registration date window ends the search at its far end.

## `activeOnly` (type: `boolean`):

On: liquidated, reorganised and struck-off entities are left out.

## `includeFinancials` (type: `boolean`):

On: adds employees, net turnover, net income, total assets and equity from the newest annual report on file (3 extra requests per 100 companies). New companies have no report yet.

## `minEmployees` (type: `integer`):

Keep companies whose newest report shows at least this many employees. Others are read but not saved and not charged. 0 = no limit.

## `minTurnover` (type: `integer`):

Keep companies whose newest report shows at least this net turnover. 0 = no limit.

## `maxResultsPerSearch` (type: `integer`):

Rows to save per search, in the chosen order. 0 = everything that matches. You pay per row saved, so start small.

## `maxRequestRetries` (type: `integer`):

Retries per failed request.

## Actor input object example

```json
{
  "towns": [
    "Liepāja"
  ],
  "companyTypes": [
    "SIA"
  ],
  "sortOrder": "oldest",
  "activeOnly": true,
  "includeFinancials": true,
  "minEmployees": 0,
  "minTurnover": 0,
  "maxResultsPerSearch": 20,
  "maxRequestRetries": 5
}
```

# Actor output Schema

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

One row per Latvian company: registration number, name, legal form, registration date, status, address and, from the newest annual report, employees, turnover, net income, assets and equity.

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

Counts per search, stop reasons, skipped rows and any ignored input.

# 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 = {
    "towns": [
        "Liepāja"
    ],
    "companyTypes": [
        "SIA"
    ],
    "sortOrder": "oldest",
    "maxResultsPerSearch": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/latvia-company-register").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 = {
    "towns": ["Liepāja"],
    "companyTypes": ["SIA"],
    "sortOrder": "oldest",
    "maxResultsPerSearch": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/latvia-company-register").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 '{
  "towns": [
    "Liepāja"
  ],
  "companyTypes": [
    "SIA"
  ],
  "sortOrder": "oldest",
  "maxResultsPerSearch": 20
}' |
apify call rel8ble/latvia-company-register --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/latvia-company-register"
        }
    }
}
```

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/Nj0U54AHVeW9hDJVK/builds/gpwW6PW3OSEhNNSzI/openapi.json
