Agency Reporting Discrepancies
/api/v2/reporting/agencies/{toptier_code}/discrepancies/This endpoint is used to power USAspending.gov's About the Data | Agencies TAS discrepencies over a submission period
This endpoint returns an overview of government agency TAS discrepancies data.
Request
curl 'https://api.usaspending.gov/api/v2/reporting/agencies/020/discrepancies/?fiscal_year=2020&fiscal_period=10'Path parameters
toptier_codestringRequiredThe specific agency's toptier code.
Query parameters
fiscal_yearstringRequiredThe fiscal year (2017 or later).
fiscal_periodstringRequiredThe fiscal period. Valid values: 2-12 (2 = November ... 12 = September) For retrieving quarterly data, provide the period which equals 'quarter * 3' (e.g. Q2 = P6)
pagestringThe page of results to return based on the limit.
limitstringThe number of results to include per page.
orderenum (string)The direction (
ascordesc) that thesortfield will be sorted in.ascdesc
sortenum (string)A data field that will be used to sort the response array.
amounttas
Try it
Runs against the live API. Responses are real data.
/api/v2/reporting/agencies/020/discrepancies/?fiscal_year=2020&fiscal_period=10Response · 200
page_metadataobject · PaginationMetadataRequired7 fieldspagenumberRequirednextnumberRequiredNullablepreviousnumberRequiredNullablehasNextbooleanRequiredhasPreviousbooleanRequiredtotalnumberRequiredlimitnumberRequired
resultsarray of TASDiscrepanciesRequired2 fieldstasstringRequiredamountnumberRequired
{
"page_metadata": {
"page": 1,
"next": 2,
"previous": 0,
"hasNext": false,
"hasPrevious": false,
"total": 2,
"limit": 10
},
"results": [
{
"tas": "210-1503",
"amount": 234543543
},
{
"tas": "012-0212",
"amount": 43637623
}
]
}Recent changes
Generated from contracts/v2/reporting/agencies/toptier_code/discrepancies.md in the USAspending API repo.