[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Latvia company register](https://spiral.ai/integrations/n8n/latvia-company-register)

# How to Use Latvia company register in n8n

Returns the Latvian entity register as a paginated snapshot, including names, legal forms, and registered addresses. Use it to build a business reference table or compare company records across saved snapshots.

|  |  |
| --- | --- |
| Model | Latvia company register |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Latvia company register in n8n

- Each week, use Latvia company register to compare counts of entities with registered addresses in Riga and Liepaja by legal form.
- Every Monday at 9am: use Latvia company register to look this up and give me the result as a table.
- Pull the latest numbers from Latvia company register and tell me what changed since last week.
- Check Latvia company register and summarize what you find in three bullet points.
- Pull the newest data from Latvia company register and give me the result as a table.

## How to set up Latvia company register in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Latvia company register in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Latvia company register, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Latvia company register**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "data-gov-lv/company-registry/companies_list",
    "input": {
      "limit": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds Latvia company register on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Latvia company register tools and prices

- [Register of Enterprises of Latvia open data (data.gov.lv) · Companies list](https://spiral.ai/tools/alexandria/data-gov-lv/company-registry/companies_list) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 32000 | — | Rows per page, 1-32000; default 5000. |
| cursor |  | — | `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. |

## What can you do with Latvia company register in n8n?

Produce a daily review of changes in Latvian supplier records by comparing saved publications. A scheduled agent can flag company-level differences in registered details, beneficial-owner records, and share quantities.

### Prepare supplier ownership reviews

Build a supplier reference table from company and ownership snapshots. Check publication versions, then confirm selected companies individually and compare their registered shareholdings with their beneficial-owner records.

### Review changes in a supplier portfolio

Compare saved publications for changes in company details, beneficial-owner records, and share quantities. Recheck affected companies individually before preparing a business review queue.

### Measure company ownership-data coverage

Join company, beneficial-owner, and shareholder snapshots by registration number. Report company-level coverage by legal form, check selected gaps individually, and keep each dataset's publication version with the analysis.

### Validate a company-data import

Check publication versions and reconcile imported company, beneficial-owner, and shareholder tables. Use individual lookups to investigate mismatched company identifiers or ownership rows.

### Compare regional business populations

Group registered entities by legal form and registered address in Riga, Liepaja, or other Latvian locations. Confirm selected company records and compare results across saved publications.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Latvia company register in other agents

- [Amp](https://spiral.ai/integrations/amp/latvia-company-register)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/latvia-company-register)
- [Claude](https://spiral.ai/integrations/claude-desktop/latvia-company-register)
- [Claude Code](https://spiral.ai/integrations/claude-code/latvia-company-register)
- [Cline](https://spiral.ai/integrations/cline/latvia-company-register)
- [Codex](https://spiral.ai/integrations/codex/latvia-company-register)
- [Cursor](https://spiral.ai/integrations/cursor/latvia-company-register)
- [Devin](https://spiral.ai/integrations/devin/latvia-company-register)
- [dots](https://spiral.ai/integrations/dots/latvia-company-register)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/latvia-company-register)
- [Gemini](https://spiral.ai/integrations/gemini/latvia-company-register)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/latvia-company-register)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/latvia-company-register)
- [goose](https://spiral.ai/integrations/goose/latvia-company-register)
- [Grok](https://spiral.ai/integrations/grok/latvia-company-register)
- [Grok Build](https://spiral.ai/integrations/grok-build/latvia-company-register)
- [Hermes](https://spiral.ai/integrations/hermes/latvia-company-register)
- [Instinct](https://spiral.ai/integrations/instinct/latvia-company-register)
- [Manus](https://spiral.ai/integrations/manus/latvia-company-register)
- [Muse](https://spiral.ai/integrations/muse/latvia-company-register)
- [Muse Code](https://spiral.ai/integrations/muse-code/latvia-company-register)
- [Notion](https://spiral.ai/integrations/notion/latvia-company-register)
- [OpenClaw](https://spiral.ai/integrations/openclaw/latvia-company-register)
- [opencode](https://spiral.ai/integrations/opencode/latvia-company-register)
- [Perplexity](https://spiral.ai/integrations/perplexity/latvia-company-register)
- [Raycast](https://spiral.ai/integrations/raycast/latvia-company-register)
- [VS Code](https://spiral.ai/integrations/vscode/latvia-company-register)
- [Windsurf](https://spiral.ai/integrations/windsurf/latvia-company-register)
- [Zapier](https://spiral.ai/integrations/zapier/latvia-company-register)

## More n8n guides

- [Latvia company details](https://spiral.ai/integrations/n8n/latvia-company-details)
- [Latvia company shareholders](https://spiral.ai/integrations/n8n/latvia-company-shareholders)
- [Latvia company beneficial owners](https://spiral.ai/integrations/n8n/latvia-company-beneficial-owners)
- [Latvia registry publication status](https://spiral.ai/integrations/n8n/latvia-registry-publication-status)
- [Latvia beneficial owner register](https://spiral.ai/integrations/n8n/latvia-beneficial-owner-register)
- [LeadOcean company count](https://spiral.ai/integrations/n8n/leadocean-company-count)

## Questions about Latvia company register in n8n

**Can n8n use Latvia company register?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Latvia company register like any built-in tool.

**How much does Latvia company register cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use Latvia company register in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Latvia company register on its own Alexandria account.

**How long does it take to set up Latvia company register in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Latvia company register runs?**

Latvia company register runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does the register cover only commercial companies?**

The company dataset covers all entities registered in Latvia's Register of Enterprises. Its stated scope extends beyond commercial companies.

**How fresh are the company and shareholder datasets?**

The company register, SIA shareholding dataset, and AS shareholder dataset each specify daily updates. Their published schedule does not describe an immediate feed of changes.

**Does the beneficial-owner file include former owners?**

The file describes current beneficial owners who are natural persons. Build comparisons from saved snapshots when you need to study changes over time.

**Are complete personal identity numbers included in the open data?**

The Register describes partial personal identity numbers in its open data. When a personal identity number is absent, it publishes birth month and year.

**What can shareholding records tell me about a company's capital?**

The SIA and AS source tables include share quantity, nominal share value, and currency. Keep these registered shareholding figures separate from the beneficial-owner file, which describes current natural-person owners.

