Skip to main content
Version: v5

award

Drill into a federal award from USAspending - its summary, transactions, subawards, federal accounts, funding, or the orders placed against a vehicle.

Examples​

from openbb import obb
# Get the summary of an award by its usaspending.gov id.
obb.ustreasury.award(award_id='CONT_IDV_15F06724A0000314_1549', provider='us_treasury')
# Drill into the subawards of an award.
obb.ustreasury.award(award_id='CONT_IDV_15F06724A0000314_1549', section='subawards', provider='us_treasury')
# Get the orders placed against an indefinite delivery vehicle.
obb.ustreasury.award(award_id='CONT_IDV_15F06724A0000314_1549', section='idv_children', provider='us_treasury')

Parameters​


Returns​

results: UsSpendingAward

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​