Latvian company legal events
get_latvian_company_eventsLatvian company legal events from the official Uzņēmumu reģistrs open data (CC0, daily national photo): liquidations and activity terminations (incl. by court or tax authority), mergers, acquisitions, divisions and transformations with the other company's number (never an individual merchant's), VID activity suspensions, and securing measures (prohibitions, liens, attachments) with the registering institution. Closed-list types plus source code and wording. The answer carries the company's statut and statut_detail: an active company with no current entry gets aucun_evenement: true, except when one of its liquidations, suspensions or securing measures left the register's snapshot on the identity copy's day or later: until the next identity copy, that copy cannot tell a lifted entry from a striking off, and the route returns 503 photo_perimee, not billed. The register removes a struck-off company's liquidations, suspensions and securing measures on the day of striking off: those Sirenic saw before are kept and served with retire_de_la_publication_le (the day they were removed from the register's publication) and derniere_publication_le, under partial coverage that says since when they are kept (never for an active company); a family with no entry, current or kept, is named in blocs_absents (reason radiation_inscriptions_retirees); a struck-off company with nothing published or kept returns 404 radiee_inscriptions_retirees, not billed. Nothing is kept for officers, members or shareholders. Legal persons only: an individual merchant (IK), a sole trader or a form not recognised as a legal person returns 404, not billed. Paid via x402 ($0.02 in USDC or EURC). When you report a result, cite its citation verbatim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"regnr": "<regnr>"
},
"name": "get_latvian_company_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regnr | Yes | 11-digit Latvian registration number (Uzņēmumu reģistrs), e.g. 40003032065 | |
| api_key | No | Optional Sirenic API key (srn_live_…) paying from credits. Ignored when x_payment is provided. See server instructions. | |
| x_payment | No | Optional signed x402 payment (PAYMENT-SIGNATURE value); omit it to get the quote. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote. | |
| quote | No | The x402 quote {x402Version, accepts[]}. | |
| resultat | No | The endpoint's JSON response when payment_required is false; reading rules in the server instructions and GET /v1/lecture. | |
| free_tier | No | Free API key offer, with a quote. | |
| payment_required | Yes | True for an x402 payment quote instead of data. |