Get Contract
get_contractRetrieve a contract's latest transaction and total obligated/value across all modifications using its PIID. Get award summary and subaward roll-up for compliance analysis.
Instructions
Get one contract's LATEST transaction plus a roll-up of obligation/value totals across every modification.
Award & Compliance tool. This is the SUMMARY view, for every individual modification row use get_contract_modifications; for what vehicle it's under use get_contract_vehicle.
piid: award PIID (from search_contracts, search_recompetes, or a company's award history)
Top-level keys: contract (the latest transaction), transaction_rollup (counts +
obligated/value totals across every modification, transaction_count, total_obligated,
max/latest current and potential value, first/latest action date), and subaward_rollup
(Pro only; who this prime paid as subs, subaward_count, total_subcontracted,
distinct_sub_vendors, top_subs; a legitimate subaward_count: 0 means no subs, not
an error). All three are siblings, not nested inside contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| piid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |