Prozorro Get Contract
prozorro_get_contractThe authoritative post-award contract record(s) for a Ukraine ProZorro tender (keyless OpenProcurement contracting API): current status (active | terminated | cancelled), dateSigned, contract period, current value (AFTER amendments — the API does not keep the original signed amount as a separate field; the change rationale usually states it) and amountPaid, terminationDetails, every contract change/amendment (rationale, rationaleTypes, date published, dateSigned), contract documents with their datePublished, and milestones. Use this — not the tender — for anything after signing: the copy of the contract embedded in a tender is frozen when the tender completes and keeps saying active after the contract is amended or terminated. Pass a tender id (32-hex or UA-… tenderID) to get all of its contracts, or a contract's 32-hex id. Optional as_of (YYYY-MM-DD) splits changes and documents into those published on/before vs after that date and states whether the record's status at that date is known: the public API keeps NO revision history, so if the record was modified after as_of the status at as_of is reported as not available rather than inferred. The API carries no termination date field; this tool never invents one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A tender id (internal 32-hex, e.g. "6a9dca3807a14b37bf82fb8ad2eae0c9", or human tenderID "UA-2026-07-13-009811-a") to return every contract of that tender, or a contract's own 32-hex id (the `contract.id` prozorro_get_tender returns). | |
| as_of | No | Optional cutoff date YYYY-MM-DD (or full ISO timestamp). Separates what was published on or before it from what came later, and says whether the status at that date can be established from the public record. |