List Monthly Files
POST
/api/v2/bulk_download/list_monthly_files/Returns a list of the current versions of generated archive files for a given fiscal year and agency.
Request
curl -X POST 'https://api.usaspending.gov/api/v2/bulk_download/list_monthly_files/' \
-H 'Content-Type: application/json' \
-d '{
"agency": 50,
"fiscal_year": 2018,
"type": "assistance"
}'Request body
agencynumberRequiredfiscal_yearnumberRequiredtypeenum (string)assistancecontracts
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/bulk_download/list_monthly_files/Response · 200
monthly_filesarray of MonthlyFileRequired7 fieldsagency_namestringRequiredagency_acronymstringRequiredNullablefile_namestringRequiredfiscal_yearnumberRequiredtypeenum (string)Requiredassistancecontracts
updated_datestringRequiredurlstringRequired
{
"monthly_files": [
{
"agency_name": "",
"agency_acronym": null,
"file_name": "",
"fiscal_year": 0,
"type": "assistance",
"updated_date": "",
"url": ""
}
]
}Recent changes
Generated from contracts/v2/bulk_download/list_monthly_files.md in the USAspending API repo.