Polish company public procurement (BZP)
get_polish_company_public_procurementRetrieves Polish public-procurement records for a company NIP, showing contracts won and notices issued from e-Zamówienia, with buyer, CPV, price, and outcome details.
Instructions
Public-procurement record of a Polish company from the Biuletyn Zamówień Publicznych (e-Zamówienia public API, UZP, CC0; national below-EU-threshold notices since 2021, daily updates): contracts WON matched by legal-person NIP (attributions, one per awarded part: buyer with NIP, subject, CPV, closed-list outcome, tenders received, awarded price and contract value in PLN as published, contract date, declared enterprise size) and notices ISSUED as a buyer (avis_emis); newest first, capped at 100 with tronque_*. Winners are served only when PROVEN legal persons (legal form in the name or KRS from the VAT white list): sole traders (37 % of winners) are never served (400 without charge), a NIP not yet classified answers 404 without charge (stock.gagnants_a_classer), and so does a source placeholder NIP (identifiant_bouche_trou); a published name without its own legal form is left out (gagnant.nom_publie null, counted in ecartes). A dubious published value (contract date out of bounds or after its notice, a winner name carrying an address) is served as published with a closed-list reserves[] on its line, counted in reserves_lignes. Partial coverage: zero never means “never won a contract”. 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": {
"nip": "<nip>"
},
"name": "get_polish_company_public_procurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nip | Yes | Polish NIP (tax identifier): ten digits, separators and PL prefix tolerated, e.g. 7812034808 |
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`. |