---
type: "firecrawl-provider"
description: "Latvia's national open data portal (CKAN 2.11) as published by the Register of Enterprises (LR Uzņēmumu reģistrs, CC0-1.0): the daily beneficial-owners file (natural persons, current owners only), the full company register, SIA members and AS stockholders. Snapshot listing paged through the CKAN datastore with a cursor pinned to the daily publication, lookups by owner id and registration number, and a cheap version check with the download ETag."
use_when: "Latvia's national open data portal (CKAN 2.11) as published by the Register of Enterprises (LR Uzņēmumu reģistrs, CC0-1.0): the daily beneficial-owners file (natural persons, current owners only), the full company register, SIA members and AS stockholders. Snapshot listing paged through the CKAN datastore with a cursor pinned to the daily publication, lookups by owner id and registration number, and a cheap version check with the download ETag."
categories: "Public records"
capabilities: 6
credits_per_call: 5
---
# Register of Enterprises of Latvia open data (data.gov.lv) on Firecrawl Alexandria

Latvia's national open data portal (CKAN 2.11) as published by the Register of Enterprises (LR Uzņēmumu reģistrs, CC0-1.0): the daily beneficial-owners file (natural persons, current owners only), the full company register, SIA members and AS stockholders. Snapshot listing paged through the CKAN datastore with a cursor pinned to the daily publication, lookups by owner id and registration number, and a cheap version check with the download ETag.

- Categories: Public records
- Category index: [Public records category](https://firecrawl.dev/alexandria/agents/categories/public-records)
- Provider key: `data-gov-lv`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/data-gov-lv)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/openapi.json)

## Capabilities

- [Companies get](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/companies_get): One register.csv row by `company_registration_number` (regcode): name, legal form, register, registration and termination dates, address. Unknown number is `not_found`.
- [Companies list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/companies_list): The company register (register.csv, every legal entity ever registered, ~128 MB raw) paged through the CKAN datastore in `_id` order with the same publication-pinned cursor as `records_list`. Supplies `name`, legal form, registration and termination dates and the address for a `company_registration_number`.
- [Records get](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/records_get): Beneficial-owner rows by the publisher's `id` (one row; `lv:<id>` accepted) or by `company_registration_number` (all current owners of that legal entity). A query matching no row is `not_found`.
- [Records list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/records_list): Current beneficial owners of Latvian legal entities (beneficial_owners.csv, ~200k rows), paged through the CKAN datastore in `_id` order. Each page re-reads the resource's `last_modified` and compares it, and the row total, with the publication pinned in the cursor; a mismatch is `invalid_input` with issue code `publication_changed` (restart from the first page). Rows map to the shared owner schema: `source_record_id` = `lv:<id>`, `owner_kind` = person, `nationalities` from `nationality`, `notified_on` from `registered_on`; `ceased_on` and `natures_of_control` are not published.
- [Shareholders list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/shareholders_list): Share ownership of one company for percent-of-capital context: SIA members (members.csv) and AS stockholders (stockholders.csv) filtered by `at_legal_entity_registration_number`, with `number_of_shares`, nominal value, currency and (stockholders) votes. The company is first resolved in register.csv: an unknown registration number is `not_found`; a known company with no published holdings is a successful empty result.
- [Source status](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/source_status): Cheap version check of the Register of Enterprises datasets on data.gov.lv: for beneficial owners, the company register, SIA members and AS stockholders, the CKAN resource (file URL, size, `last_modified` = publication id), the download ETag and Last-Modified from a one-byte Range request, and the exact datastore row count. No publisher hash exists, so `content_hash` is null; pin on `publication_id` + `etag`.

## 1. Choose this provider when

Latvia's national open data portal (CKAN 2.11) as published by the Register of Enterprises (LR Uzņēmumu reģistrs, CC0-1.0): the daily beneficial-owners file (natural persons, current owners only), the full company register, SIA members and AS stockholders. Snapshot listing paged through the CKAN datastore with a cursor pinned to the daily publication, lookups by owner id and registration number, and a cheap version check with the download ETag.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "data-gov-lv",
  "capability": "company-registry/companies_get",
  "options": {
    "company_registration_number": "40003229495"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `company_registration_number` (string, required): Register of Enterprises registration number: 11 digits, as published (e.g. `40003229495`). Pattern: ^[0-9]{11}$. Example: `40003229495`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "data-gov-lv",
    capability: "company-registry/companies_get",
    options: {
      company_registration_number: "40003229495",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "data-gov-lv",
  "capability": "company-registry/companies_get",
  "options": {
    "company_registration_number": "40003229495"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "data-gov-lv",
    "capability": "company-registry/companies_get",
    "options": {
      "company_registration_number": "40003229495"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'data-gov-lv/company-registry/companies_get' \
  --options '{"company_registration_number":"40003229495"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "data-gov-lv",
  "capability": "company-registry/companies_get",
  "options": {
    "company_registration_number": "40003229495"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "data-gov-lv",
  "capability": "company-registry/companies_get",
  "options": {
    "company_registration_number": "40003229495"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&filters=%7B%22regcode%22%3A40003229495%7D&sort=_id&limit=2&include_total=true",
  "company": {
    "address": "Saldus nov., Saldus pag., \"Torņi\"",
    "address_id": 106073245,
    "atvk": 840286,
    "city_code": 0,
    "closed": null,
    "company_registration_number": "40003229495",
    "legal_form": "Akciju sabiedrība",
    "legal_form_code": "AS",
    "name": "Akciju sabiedrība \"Kurzemes degviela\"",
    "name_after_quotes": null,
    "name_before_quotes": "Akciju sabiedrība",
    "name_in_quotes": "Kurzemes degviela",
    "name_without_quotes": false,
    "postal_index": 3862,
    "publication_id": "2026-10-18T20:25:07.279974",
    "region_code": 100016204,
    "register": "Komercreģistrs",
    "register_code": "K",
    "registered_on": "1994-11-22",
    "reregistration_term": null,
    "retrieved_at": "2026-10-18T22:36:56Z",
    "row_number": 371836,
    "sepa": "LV92ZZZ40003229495",
    "source_record_id": "lv:reg:40003229495",
    "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&filters=%7B%22regcode%22%3A40003229495%7D",
    "terminated_on": null
  },
  "dataset": "register",
  "file_url": "https://data.gov.lv/dati/dataset/4de9697f-850b-45ec-8bba-61fa09ce932f/resource/25e80bf3-f107-4ab4-89ef-251b5b9374e9/download/register.csv",
  "observed_at_ms": 1792363018025,
  "publication_id": "2026-10-18T20:25:07.279974",
  "resource_id": "25e80bf3-f107-4ab4-89ef-251b5b9374e9",
  "retrieved_at": "2026-10-18T22:36:56Z"
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Companies get

- Capability: `company-registry/companies_get`
- Description: One register.csv row by `company_registration_number` (regcode): name, legal form, register, registration and termination dates, address. Unknown number is `not_found`.
- Instructions: Resolve a registration number from a beneficial-owner or shareholding row to the company's name and status.
- Cost: 5 credits per call
- Capability file: [Companies get](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/companies_get)

Accepted options:
- `company_registration_number` (string, required): Register of Enterprises registration number: 11 digits, as published (e.g. `40003229495`). Pattern: ^[0-9]{11}$. Example: `40003229495`

Response schema example:
```json
{
  "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&filters=%7B%22regcode%22%3A40003229495%7D&sort=_id&limit=2&include_total=true",
  "company": {
    "address": "Saldus nov., Saldus pag., \"Torņi\"",
    "address_id": 106073245,
    "atvk": 840286,
    "city_code": 0,
    "closed": null,
    "company_registration_number": "40003229495",
    "legal_form": "Akciju sabiedrība",
    "legal_form_code": "AS",
    "name": "Akciju sabiedrība \"Kurzemes degviela\"",
    "name_after_quotes": null,
    "name_before_quotes": "Akciju sabiedrība",
    "name_in_quotes": "Kurzemes degviela",
    "name_without_quotes": false,
    "postal_index": 3862,
    "publication_id": "2026-10-18T20:25:07.279974",
    "region_code": 100016204,
    "register": "Komercreģistrs",
    "register_code": "K",
    "registered_on": "1994-11-22",
    "reregistration_term": null,
    "retrieved_at": "2026-10-18T22:36:56Z",
    "row_number": 371836,
    "sepa": "LV92ZZZ40003229495",
    "source_record_id": "lv:reg:40003229495",
    "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&filters=%7B%22regcode%22%3A40003229495%7D",
    "terminated_on": null
  },
  "dataset": "register",
  "file_url": "https://data.gov.lv/dati/dataset/4de9697f-850b-45ec-8bba-61fa09ce932f/resource/25e80bf3-f107-4ab4-89ef-251b5b9374e9/download/register.csv",
  "observed_at_ms": 1792363018025,
  "publication_id": "2026-10-18T20:25:07.279974",
  "resource_id": "25e80bf3-f107-4ab4-89ef-251b5b9374e9",
  "retrieved_at": "2026-10-18T22:36:56Z"
}
```

### Companies list

- Capability: `company-registry/companies_list`
- Description: The company register (register.csv, every legal entity ever registered, ~128 MB raw) paged through the CKAN datastore in `_id` order with the same publication-pinned cursor as `records_list`. Supplies `name`, legal form, registration and termination dates and the address for a `company_registration_number`.
- Instructions: Full snapshot of Latvian legal entities; `companies_get` for one registration number.
- Cost: 5 credits per call
- Capability file: [Companies list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/companies_list)

Accepted options:
- `cursor` (string): `next_cursor` from the previous page. Pinned to the publication: when the file was republished since, the call fails with `invalid_input` / issue code `publication_changed` and listing must restart from the first page. Example: `next_cursor`
- `limit` (number): Rows per page, 1-32000; default 5000. Example: `10`

Response schema example:
```json
{
  "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&sort=_id&limit=1&offset=0&include_total=true",
  "dataset": "register",
  "file_url": "https://data.gov.lv/dati/dataset/4de9697f-850b-45ec-8bba-61fa09ce932f/resource/25e80bf3-f107-4ab4-89ef-251b5b9374e9/download/register.csv",
  "limit": 1,
  "next_cursor": "{\"o\":1,\"p\":\"2026-10-18T20:25:07.279974\",\"t\":489468}",
  "observed_at_ms": 1792363008948,
  "offset": 0,
  "publication_id": "2026-10-18T20:25:07.279974",
  "records": [
    {
      "address": "Dundagas nov., Kolkas pag., Kolka, \"Krastnieki\"",
      "address_id": 103045133,
      "atvk": 885162,
      "city_code": 0,
      "closed": "L",
      "company_registration_number": "41202013815",
      "legal_form": "Individuālais komersants",
      "legal_form_code": "IK",
      "name": "IK \"KRASTNIEKI A I\"",
      "name_after_quotes": null,
      "name_before_quotes": "IK",
      "name_in_quotes": "KRASTNIEKI A I",
      "name_without_quotes": false,
      "postal_index": 3275,
      "publication_id": "2026-10-18T20:25:07.279974",
      "region_code": 100015821,
      "register": "Komercreģistrs",
      "register_code": "K",
      "registered_on": "1998-02-26",
      "reregistration_term": null,
      "retrieved_at": "2026-10-18T22:36:47Z",
      "row_number": 1,
      "sepa": "LV53ZZZ41202013815",
      "source_record_id": "lv:reg:41202013815",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=25e80bf3-f107-4ab4-89ef-251b5b9374e9&filters=%7B%22regcode%22%3A41202013815%7D",
      "terminated_on": "2014-04-10"
    }
  ],
  "resource_id": "25e80bf3-f107-4ab4-89ef-251b5b9374e9",
  "retrieved_at": "2026-10-18T22:36:47Z",
  "returned": 1,
  "total": 489468
}
```

### Records get

- Capability: `company-registry/records_get`
- Description: Beneficial-owner rows by the publisher's `id` (one row; `lv:<id>` accepted) or by `company_registration_number` (all current owners of that legal entity). A query matching no row is `not_found`.
- Instructions: One owner record, or the owners of one Latvian company (canary 40003229495 has ids 64582 and 64583).
- Cost: 5 credits per call
- Capability file: [Records get](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/records_get)

Accepted options:
- `company_registration_number` (string): 11-digit registration number of the legal entity. Exactly one of `id` and `company_registration_number`. Pattern: ^[0-9]{11}$. Example: `<company_registration_number>`
- `id` (number): Owner `id` as an integer, a decimal string, or `lv:<id>`. Exactly one of `id` and `company_registration_number`. Example: `10`

Response schema example:
```json
{
  "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&filters=%7B%22legal_entity_registration_number%22%3A40003229495%7D&sort=_id&limit=32000&include_total=true",
  "dataset": "beneficial_owners",
  "file_url": "https://data.gov.lv/dati/dataset/b7848ab9-7886-4df0-8bc6-70052a8d9e1a/resource/20a9b26d-d056-4dbb-ae18-9ff23c87bdee/download/beneficial_owners.csv",
  "observed_at_ms": 1792362990669,
  "publication_id": "2026-10-18T20:25:47.690653",
  "query": {
    "company_registration_number": "40003229495",
    "id": null
  },
  "records": [
    {
      "birth_month_year": null,
      "ceased_on": null,
      "company_registration_number": "40003229495",
      "country_of_residence": "LV",
      "forename": "Argods",
      "id": 64582,
      "last_modified_at": "2019-05-02T08:41:39",
      "latvian_identity_number_masked": "090859-*****",
      "nationalities": [
        "LV"
      ],
      "natures_of_control": null,
      "notified_on": "2019-05-02",
      "owner_kind": "person",
      "owner_name": "Argods Lūsiņš",
      "publication_id": "2026-10-18T20:25:47.690653",
      "registered_on": "2019-05-02T00:00:00",
      "retrieved_at": "2026-10-18T22:36:29Z",
      "row_number": 1,
      "source_record_id": "lv:64582",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&filters=%7B%22id%22%3A64582%7D",
      "surname": "Lūsiņš"
    },
    {
      "birth_month_year": null,
      "ceased_on": null,
      "company_registration_number": "40003229495",
      "country_of_residence": "LV",
      "forename": "Antra",
      "id": 64583,
      "last_modified_at": "2019-05-02T08:41:39",
      "latvian_identity_number_masked": "181259-*****",
      "nationalities": [
        "LV"
      ],
      "natures_of_control": null,
      "notified_on": "2019-05-02",
      "owner_kind": "person",
      "owner_name": "Antra Lūsiņa",
      "publication_id": "2026-10-18T20:25:47.690653",
      "registered_on": "2019-05-02T00:00:00",
      "retrieved_at": "2026-10-18T22:36:29Z",
      "row_number": 2,
      "source_record_id": "lv:64583",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&filters=%7B%22id%22%3A64583%7D",
      "surname": "Lūsiņa"
    }
  ],
  "resource_id": "20a9b26d-d056-4dbb-ae18-9ff23c87bdee",
  "retrieved_at": "2026-10-18T22:36:29Z",
  "total": 2
}
```

### Records list

- Capability: `company-registry/records_list`
- Description: Current beneficial owners of Latvian legal entities (beneficial_owners.csv, ~200k rows), paged through the CKAN datastore in `_id` order. Each page re-reads the resource's `last_modified` and compares it, and the row total, with the publication pinned in the cursor; a mismatch is `invalid_input` with issue code `publication_changed` (restart from the first page). Rows map to the shared owner schema: `source_record_id` = `lv:<id>`, `owner_kind` = person, `nationalities` from `nationality`, `notified_on` from `registered_on`; `ceased_on` and `natures_of_control` are not published.
- Instructions: Full snapshot of Latvian beneficial owners for the downstream diff; `records_get` for one company or owner.
- Cost: 5 credits per call
- Capability file: [Records list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/records_list)

Accepted options:
- `cursor` (string): `next_cursor` from the previous page. Pinned to the publication: when the file was republished since, the call fails with `invalid_input` / issue code `publication_changed` and listing must restart from the first page. Example: `next_cursor`
- `limit` (number): Rows per page, 1-32000 (CKAN clamps above 32000); default 5000 (~2.5 MB of output). Example: `10`

Response schema example:
```json
{
  "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&sort=_id&limit=2&offset=0&include_total=true",
  "dataset": "beneficial_owners",
  "file_url": "https://data.gov.lv/dati/dataset/b7848ab9-7886-4df0-8bc6-70052a8d9e1a/resource/20a9b26d-d056-4dbb-ae18-9ff23c87bdee/download/beneficial_owners.csv",
  "limit": 2,
  "next_cursor": "{\"o\":2,\"p\":\"2026-10-18T20:25:47.690653\",\"t\":199964}",
  "observed_at_ms": 1792362981667,
  "offset": 0,
  "publication_id": "2026-10-18T20:25:47.690653",
  "records": [
    {
      "birth_month_year": null,
      "ceased_on": null,
      "company_registration_number": "40003229495",
      "country_of_residence": "LV",
      "forename": "Argods",
      "id": 64582,
      "last_modified_at": "2019-05-02T08:41:39",
      "latvian_identity_number_masked": "090859-*****",
      "nationalities": [
        "LV"
      ],
      "natures_of_control": null,
      "notified_on": "2019-05-02",
      "owner_kind": "person",
      "owner_name": "Argods Lūsiņš",
      "publication_id": "2026-10-18T20:25:47.690653",
      "registered_on": "2019-05-02T00:00:00",
      "retrieved_at": "2026-10-18T22:36:20Z",
      "row_number": 1,
      "source_record_id": "lv:64582",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&filters=%7B%22id%22%3A64582%7D",
      "surname": "Lūsiņš"
    },
    {
      "birth_month_year": null,
      "ceased_on": null,
      "company_registration_number": "40003229495",
      "country_of_residence": "LV",
      "forename": "Antra",
      "id": 64583,
      "last_modified_at": "2019-05-02T08:41:39",
      "latvian_identity_number_masked": "181259-*****",
      "nationalities": [
        "LV"
      ],
      "natures_of_control": null,
      "notified_on": "2019-05-02",
      "owner_kind": "person",
      "owner_name": "Antra Lūsiņa",
      "publication_id": "2026-10-18T20:25:47.690653",
      "registered_on": "2019-05-02T00:00:00",
      "retrieved_at": "2026-10-18T22:36:20Z",
      "row_number": 2,
      "source_record_id": "lv:64583",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee&filters=%7B%22id%22%3A64583%7D",
      "surname": "Lūsiņa"
    }
  ],
  "resource_id": "20a9b26d-d056-4dbb-ae18-9ff23c87bdee",
  "retrieved_at": "2026-10-18T22:36:20Z",
  "returned": 2,
  "total": 199964
}
```

### Shareholders list

- Capability: `company-registry/shareholders_list`
- Description: Share ownership of one company for percent-of-capital context: SIA members (members.csv) and AS stockholders (stockholders.csv) filtered by `at_legal_entity_registration_number`, with `number_of_shares`, nominal value, currency and (stockholders) votes. The company is first resolved in register.csv: an unknown registration number is `not_found`; a known company with no published holdings is a successful empty result.
- Instructions: Who holds the shares of a Latvian SIA or AS and how many.
- Cost: 5 credits per call
- Capability file: [Shareholders list](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/shareholders_list)

Accepted options:
- `company_registration_number` (string, required): Register of Enterprises registration number: 11 digits, as published (e.g. `40003229495`). Pattern: ^[0-9]{11}$. Example: `40003229495`

Response schema example:
```json
{
  "company_name": "Akciju sabiedrība \"Kurzemes degviela\"",
  "company_registration_number": "40003229495",
  "file_urls": {
    "members": "https://data.gov.lv/dati/dataset/e1162626-e02a-4545-9236-37553609a988/resource/837b451a-4833-4fd1-bfdd-b45b35a994fd/download/members.csv",
    "stockholders": "https://data.gov.lv/dati/dataset/8a66567b-3583-4aa0-841b-eb13f025cd78/resource/6adabd83-93f9-4d7f-bebd-fa109bbf794a/download/stockholders.csv"
  },
  "holdings": [
    {
      "birth_month_year": null,
      "company_registration_number": "40003229495",
      "date_from": "2024-09-12",
      "depository_name": null,
      "depository_registration_number": null,
      "entity_type": "LEGAL_ENTITY",
      "holder_registration_number": "58503002391",
      "id": 92856470,
      "kind": "stockholder",
      "last_modified_at": "2024-09-23T17:03:46",
      "latvian_identity_number_masked": null,
      "name": "Sabiedrba ar ierobeotu atbildbu \"ALCO\"",
      "notified_on": "2024-09-23",
      "number_of_shares": 14311,
      "publication_id": "2026-10-18T20:26:25.152625",
      "retrieved_at": "2026-10-18T22:37:05Z",
      "row_number": 3280,
      "share_currency": "EUR",
      "share_nominal_value": 142.2,
      "source_record_id": "lv:stockholders:92856470",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=6adabd83-93f9-4d7f-bebd-fa109bbf794a&filters=%7B%22id%22%3A92856470%7D",
      "stock_type": "REGISTERED_STOCKS",
      "votes": 14311
    },
    {
      "birth_month_year": null,
      "company_registration_number": "40003229495",
      "date_from": "2024-09-12",
      "depository_name": null,
      "depository_registration_number": null,
      "entity_type": "LEGAL_ENTITY",
      "holder_registration_number": "40203199437",
      "id": 92856471,
      "kind": "stockholder",
      "last_modified_at": "2024-09-23T17:03:46",
      "latvian_identity_number_masked": null,
      "name": "SIA \"ALHOLD\"",
      "notified_on": "2024-09-23",
      "number_of_shares": 996,
      "publication_id": "2026-10-18T20:26:25.152625",
      "retrieved_at": "2026-10-18T22:37:05Z",
      "row_number": 3281,
      "share_currency": "EUR",
      "share_nominal_value": 142.2,
      "source_record_id": "lv:stockholders:92856471",
      "source_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=6adabd83-93f9-4d7f-bebd-fa109bbf794a&filters=%7B%22id%22%3A92856471%7D",
      "stock_type": "REGISTERED_STOCKS",
      "votes": 996
    }
  ],
  "legal_form_code": "AS",
  "members_total": 0,
  "observed_at_ms": 1792363027873,
  "publications": {
    "members": "2026-10-18T20:25:39.279237",
    "stockholders": "2026-10-18T20:26:25.152625"
  },
  "retrieved_at": "2026-10-18T22:37:05Z",
  "stockholders_total": 2
}
```

### Source status

- Capability: `company-registry/source_status`
- Description: Cheap version check of the Register of Enterprises datasets on data.gov.lv: for beneficial owners, the company register, SIA members and AS stockholders, the CKAN resource (file URL, size, `last_modified` = publication id), the download ETag and Last-Modified from a one-byte Range request, and the exact datastore row count. No publisher hash exists, so `content_hash` is null; pin on `publication_id` + `etag`.
- Instructions: Before a full `records_list` / `companies_list` pass, or to decide whether the daily snapshot moved.
- Cost: 5 credits per call
- Capability file: [Source status](https://firecrawl.dev/alexandria/agents/providers/data-gov-lv/company-registry/source_status)

Accepted options:
- `datasets` (string[]): Which datasets to check; default all four. Example: `[]`

Response schema example:
```json
{
  "datasets": [
    {
      "api_url": "https://data.gov.lv/dati/api/3/action/datastore_search?resource_id=20a9b26d-d056-4dbb-ae18-9ff23c87bdee",
      "ckan_size_bytes": 17699964,
      "content_hash": null,
      "dataset": "beneficial_owners",
      "dataset_id": "b7848ab9-7886-4df0-8bc6-70052a8d9e1a",
      "dataset_name": "patiesie-labuma-guveji",
      "dataset_url": "https://data.gov.lv/dati/dataset/patiesie-labuma-guveji",
      "datastore_active": true,
      "etag": "\"1792355147.8426342-17699964-1230968458\"",
      "file_name": "beneficial_owners.csv",
      "file_url": "https://data.gov.lv/dati/dataset/b7848ab9-7886-4df0-8bc6-70052a8d9e1a/resource/20a9b26d-d056-4dbb-ae18-9ff23c87bdee/download/beneficial_owners.csv",
      "http_last_modified": "Sun, 18 Oct 2026 20:25:47 GMT",
      "metadata_modified": "2026-10-18T20:25:47.703247",
      "publication_id": "2026-10-18T20:25:47.690653",
      "record_count": 199964,
      "resource_id": "20a9b26d-d056-4dbb-ae18-9ff23c87bdee",
      "size_bytes": 17699964,
      "title": "Patiesie labuma guvēji"
    }
  ],
  "frequency": "http://publications.europa.eu/mdr/authority/frequency/DAILY",
  "license_id": "CC0-1.0",
  "observed_at_ms": 1792362973263,
  "publisher": {
    "name": "ur",
    "title": "LR Uzņēmumu reģistrs",
    "url": "https://data.gov.lv/dati/organization/ur"
  },
  "retrieved_at": "2026-10-18T22:36:11Z"
}
```
