How to Use Latvia company register in Codex
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.
Prompts to try with Latvia company register in Codex
Copy an example into Codex, or ask in your own words.
Use Latvia company register to build a local table of entities with registered addresses in Riga, grouped by legal form.
Use Latvia company register to look this up and give me the result as a table. Save the result in ./assets.
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 Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Latvia company register
One request; the result comes back by polling or a webhook.
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: Codex finds Latvia company register on Spiral, shows the price and runs it.
Latvia company register providers and prices
Spiral runs Latvia company register through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 32000 | Rows per page, 1-32000; default 5000. |
Every API field of Register of Enterprises of Latvia open data (data.gov.lv) · Companies list is on its tool page: open its card above.
What can you do with Latvia company register in Codex?
Build a Latvian company reference table that joins registered business details with ownership records. A coding agent can add company-level comparisons to your project while keeping shareholding and beneficial-owner data separate.
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.
More on Latvia company register and Codex
Overview
Latvia company register in other agents
Questions about Latvia company register in Codex
Can Codex use Latvia company register?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Latvia company register like any built-in tool.
How much does Latvia company register cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Latvia company register in Codex?
No. Spiral runs Latvia company register on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Latvia company register in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Latvia company register runs?
Latvia company register runs in the background. Codex 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.
Start using Latvia company register in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


