Search Federal Contract Sub Awards
Search_Federal_Contract_Sub_Awards returns federal subcontract records from GovTribe, including sub-contractor, prime-contractor, and agency context.
When To Use
Typical questions this tool answers well:
Which subcontract records match a topic, vendor, agency, or timeframe?
Which sub-awardees appear most often in a filtered subcontract population?
Which funding or contracting agencies show the most subcontract record volume?
What subcontract history exists for a known vendor across recent fiscal years?
Which specific sub-award record IDs are present and how are they linked to prime contractors?
When you need rollups only (
per_page: 0) versus rollups plus example rows (per_page > 0).
Required Reading
Search_Query_Guide: Required before setting free-text query strings when search_mode is used.
Search_Mode_Guide: Required before choosing keyword vs semantic retrieval.
Date_Filtering_Guide: Required before setting date window filters.
Input Contract
query: Free-text query string. See Required Reading: Search_Query_Guide.type:stringrequired:nodefault:n/a
page: 1-based page index.type:null|numberrequired:nodefault:1
per_page: Rows per page.type:null|numberrequired:nodefault:10
search_mode: Query interpretation mode. See Required Reading: Search_Mode_Guide.type:stringrequired:nodefault:keywordoptions:keyword,semantic
award_date_range: Filter by the date the award was issued. See Required Reading: Date_Filtering_Guide.type:objectrequired:nodefault:n/ashape:{ from?: null|string, to?: null|string }
contracting_federal_agency_ids: Filter by contracting federal agencies (who signed the contract). Use GovTribe IDs.type:array<string>required:nodefault:n/a
contracting_federal_agency_ids_operator: Choose whether to include or exclude values for Contracting Federal Agency GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
funding_federal_agency_ids: Filter by funding federal agencies (who own the money). Use GovTribe IDs.type:array<string>required:nodefault:n/a
funding_federal_agency_ids_operator: Choose whether to include or exclude values for Funding Federal Agency GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
vendor_ids: Filter by vendors. Use GovTribe IDs or vendor UEIs.type:array<string>required:nodefault:n/a
vendor_ids_operator: Choose whether to include or exclude values for Vendor IDs (GovTribe or UEI).type:null|stringrequired:nodefault:inoptions:in,not_in
federal_contract_sub_award_ids: Include or exclude results by GovTribe IDs.type:array<string>required:nodefault:n/a
federal_contract_sub_award_ids_operator: Choose whether to include or exclude values for GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
aggregations: Aggregation keys to compute.type:array<string>required:nodefault:n/aoptions:top_awardees_by_doc_count,top_funding_federal_agencies_by_doc_count,top_contracting_federal_agencies_by_doc_count
sort: Sort configuration.type:objectrequired:nodefault:n/ashape:{ key?: null|string, direction?: null|string }options:key:timestamp,financialStats.dollarsObligated;direction:asc,desc
fields_to_return: Optional field list for row payloads. If omitted andper_page > 0, rows default togovtribe_id. Forper_page: 0aggregation/meta calls, this field may be omitted. Specifyfields_to_returnwhenever the user asks for fields beyondgovtribe_id, and prefer omitting it in pure aggregation workflows.type:array<string>required:nodefault:n/aoptions:govtribe_id,govtribe_type,name,award_date,description,updated_at,sub_contractor,prime_contractor,contracting_federal_agency,funding_federal_agency
Output Contract
Top-level keys:
data: Array of result rows whenper_page > 0.current_page,from,to,last_page,per_page: pagination fields when row paging is active.total: Total matched row count for current query filters.path: GovTribe search URL for this result set.contains: Dataset label for the returned result set.search_results_id,search_results_id_can_generate_saved_search,view_search_results_url: search-session metadata for saved-search and UI reuse flows.aggregations: Aggregation payload keyed by requested aggregation names when requested.
Row keys:
govtribe_idgovtribe_typenameaward_datedescriptionupdated_atsub_contractorprime_contractorcontracting_federal_agencyfunding_federal_agency
Relationship retrieval map:
contracting_federal_agencyresource_type:federal_agencytool:Search_Federal_Agenciesfilter:federal_agency_idsnested_keys:govtribe_id,govtribe_type,govtribe_url,name
funding_federal_agencyresource_type:federal_agencytool:Search_Federal_Agenciesfilter:federal_agency_idsnested_keys:govtribe_id,govtribe_type,govtribe_url,name
prime_contractorresource_type:vendortool:Search_Vendorsfilter:vendor_idsnested_keys:govtribe_id,govtribe_type,name,uei,govtribe_url
sub_contractorresource_type:vendortool:Search_Vendorsfilter:vendor_idsnested_keys:govtribe_id,govtribe_type,name,uei,govtribe_url
Usage Patterns
Pattern A: Semantic discovery of subcontract records for a topic with example rows. Tool: Search_Federal_Contract_Sub_Awards
Pattern B: Aggregations-only subcontract concentration by awardee and agency. Tool: Search_Federal_Contract_Sub_Awards
Pattern C: Vendor-specific subcontract history over a defined period. Tool: Search_Federal_Contract_Sub_Awards
Last updated
Was this helpful?
