Latvian company public procurement (IUB)
get_latvian_company_public_procurementRetrieve a Latvian company's public procurement record from IUB open-data notices, including contracts won and notices issued as a buyer, by 11-digit registration number.
Instructions
Public-procurement record of a Latvian company from the IUB (Iepirkumu uzraudzības birojs) daily open-data notices (CC0, e-forms since 2023-10-25): contracts WON (attributions: buyer, subject, CPV, contract reference, value in EUR, conclusion / decision / start / end dates, contract status, winner size) and notices ISSUED as a buyer (avis_emis), newest first, 100 each at most with tronque_*, totals (nombre_attributions, valeur_totale_eur, nombre_avis_emis) and stock (first and last day collected). Natural-person winners are never served, nor a buyer that is an individual merchant; ecartes.personne_physique (only when non-zero) counts the winners kept without identity among the awards of the listed notices. About 3% of Latvian winners are published without an identifier and the stock starts on 2023-10-25: aucune_attribution: true is a NON-conclusive absence. Facts only, no score. 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_public_procurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regnr | Yes | 11-digit Latvian registration number (Uzņēmumu reģistrs), e.g. 40003032065 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote, present when payment_required is true. | |
| quote | No | The signable x402 payment requirements when payment_required is true: {x402Version, accepts[]} where each entry carries scheme, network, amount, asset and payTo (USDC and EURC options at the same numeric amount). Sign one entry and call again with `x_payment`. | |
| resultat | No | The endpoint's JSON response when payment_required is false. Paid responses carry `source`, `disclaimer` and an Ed25519 signature, and every paid JSON response carries a `provenance` array (all tools since 2026-09-06): one entry per block served, with the official register, licence, version, `empreinte_sha256` (full snapshots), `as_of` date and `precision_as_of` (what that date means), plus the common per-block envelope: `etat` in a closed list (servi, absence_mesuree, absence_non_conclusive, partiel, perime, indisponible, sans_objet), `motif` when unavailable, `age_jours` (only for publication or ingestion dates), `couverture` (complete / partielle / non_mesurable with its measure) and `confiance` in bands (faible / moyenne / forte, only where a measure grounds it, never averaged across blocks). Read the states before the numbers: an absence_non_conclusive, indisponible or partiel block is never « nothing to report »; only absence_mesuree asserts an absence. Register codes: GET /v1/provenance/registres ; states, closed lists and reading rules: GET /v1/lecture (both free). The PDF tools carry no JSON envelope (the PDF report prints it). | |
| free_tier | No | Free API key offer for this tool, present with a quote. | |
| payment_required | Yes | True when this response is an x402 payment quote instead of data: settle one of the quote's `accepts` options and call the tool again with `x_payment`. |