IDV Funding
/api/v2/idvs/funding/Used to populate the Federal Account Funding tab on the IDV summary page.
List File C financial data for an IDV award's descendant contracts
Request
curl -X POST 'https://api.usaspending.gov/api/v2/idvs/funding/' \
-H 'Content-Type: application/json' \
-d '{
"award_id": "CONT_IDV_TMHQ10C0040_2044",
"page": 1,
"sort": "piid",
"order": "asc",
"limit": 15
}'Request body
award_idstringRequiredEither a "generated" natural award id (string) or a database surrogate award id (number). Generated award identifiers are preferred as they are effectively permanent. Surrogate award ids are retained for backward compatibility but are deprecated.
piidstringAward ID to further refine results. All File C financial data for this award is returned if omitted.
limitnumberThe number of results to include per page.
pagenumberThe page of results to return based on
limit.sortenum (string)The field on which to order results.
account_titledisaster_emergency_fund_codegross_outlay_amountobject_classObject class code, object class namepiidprogram_activityProgram activity name, program activity codereporting_agency_namereporting_fiscal_dateReporting fiscal year, reporting fiscal monthtransaction_obligated_amount
orderenum (string)The direction in which to order results.
ascfor ascending ordescfor descending.ascdesc
Try it
Runs against the live API. Responses are real data.
/api/v2/idvs/funding/Response · 200
resultsarray of IDVFundingResponseRequired25 fieldsaward_idnumberRequiredUnique internal surrogate identifier for an award. Deprecated. Use
generated_unique_award_id.generated_unique_award_idstringRequiredUnique internal natural identifier for an award.
reporting_fiscal_yearnumberRequiredNullableFiscal year of the submission date.
reporting_fiscal_quarternumberRequiredNullableFiscal quarter of the submission date.
reporting_fiscal_monthnumberRequiredNullableFiscal month of the submission date.
is_quarterly_submissionbooleanRequiredNullableTrue if the submission is quarterly. False if the submission is monthly.
disaster_emergency_fund_codebooleanRequiredNullableCode indicating whether or not the funding record is associated with a disaster.
piidstringRequiredNullableProcurement Instrument Identifier (PIID).
awarding_agency_idnumberRequiredNullableInternal surrogate identifier of the awarding agency.
awarding_toptier_agency_idnumberRequiredNullableawarding_agency_slugstringRequiredNullableawarding_agency_namestringRequiredNullablefunding_agency_idnumberRequiredNullableInternal surrogate identifier of the funding agency.
funding_toptier_agency_idnumberRequiredNullablefunding_agency_slugstringRequiredNullablefunding_agency_namestringRequiredNullableagency_idstringRequiredNullableCGAC of the funding agency.
main_account_codestringRequiredNullableaccount_titlestringRequiredNullableFederal Account Title
program_activity_codestringRequiredNullableprogram_activity_namestringRequiredNullableobject_classstringRequiredNullableobject_class_namestringRequiredNullabletransaction_obligated_amountnumberRequiredNullablegross_outlay_amountnumberRequiredNullable
page_metadataobject · PageMetaDataObjectRequired5 fieldspagenumberRequiredhasNextbooleanRequiredhasPreviousbooleanRequirednextnumberRequiredNullablepreviousnumberRequiredNullable
{
"results": [
{
"award_id": 9338979,
"generated_unique_award_id": "CONT_AWD_AG3A94K160035_12G2_GS33FCA001_4732",
"reporting_fiscal_year": 2017,
"reporting_fiscal_quarter": 4,
"reporting_fiscal_month": 12,
"is_quarterly_submission": true,
"disaster_emergency_fund_code": null,
"piid": "AG3A94K160035",
"awarding_agency_id": 166,
"awarding_toptier_agency_id": 123,
"awarding_agency_slug": "department-of-agriculture",
"awarding_agency_name": "Department of Agriculture",
"funding_agency_id": 166,
"funding_toptier_agency_id": 123,
"funding_agency_slug": "department-of-agriculture",
"funding_agency_name": "Department of Agriculture",
"agency_id": "012",
"main_account_code": "3700",
"account_title": "Food Safety and Inspection Service, Agriculture",
"program_activity_code": "0001",
"program_activity_name": "SALARIES AND EXPENSES",
"object_class": "220",
"object_class_name": "Transportation of things",
"transaction_obligated_amount": 680000,
"gross_outlay_amount": 0
},
{
"award_id": 9338979,
"generated_unique_award_id": "CONT_AWD_AG3A94K160035_12G2_GS33FCA001_4732",
"reporting_fiscal_year": 2017,
"reporting_fiscal_quarter": 3,
"reporting_fiscal_month": 9,
"is_quarterly_submission": true,
"disaster_emergency_fund_code": null,
"piid": "AG3A94K160035",
"awarding_agency_id": 166,
"awarding_toptier_agency_id": 123,
"awarding_agency_slug": "department-of-agriculture",
"awarding_agency_name": "Department of Agriculture",
"funding_agency_id": 166,
"funding_toptier_agency_id": 123,
"funding_agency_slug": "department-of-agriculture",
"funding_agency_name": "Department of Agriculture",
"agency_id": "012",
"main_account_code": "3700",
"account_title": "Food Safety and Inspection Service, Agriculture",
"program_activity_code": "0001",
"program_activity_name": "SALARIES AND EXPENSES",
"object_class": "220",
"object_class_name": "Transportation of things",
"transaction_obligated_amount": 680000,
"gross_outlay_amount": 0
}
],
"page_metadata": {
"page": 1,
"next": 2,
"previous": null,
"hasNext": true,
"hasPrevious": false
}
}Recent changes
Generated from contracts/v2/idvs/funding.md in the USAspending API repo.