Obtain the list of federal accounts and treasury accounts for a specific agency in a single fiscal year based on whether or not that federal account/treasury account has ever been submitted in File B.

Documentation for this endpoint can be found here.

GET /api/v2/agency/012/federal_account/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "toptier_code": "012",
    "fiscal_year": 2020,
    "page_metadata": {
        "page": 1,
        "total": 142,
        "limit": 10,
        "next": 2,
        "previous": null,
        "hasNext": true,
        "hasPrevious": false
    },
    "results": [
        {
            "code": "012-3505",
            "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
            "children": [
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2020-3505-000",
                    "obligated_amount": 141622467579.58,
                    "gross_outlay_amount": 131552434824.95
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2021-3505-000",
                    "obligated_amount": 17778318730.58,
                    "gross_outlay_amount": 806528913.46
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2020-3505-000",
                    "obligated_amount": 3000000000.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2020-3505-000",
                    "obligated_amount": 187423765.44,
                    "gross_outlay_amount": 1126471169.69
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2019-3505-000",
                    "obligated_amount": 168291374.48,
                    "gross_outlay_amount": 7161585315.3
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2018-3505-000",
                    "obligated_amount": 30001355.95,
                    "gross_outlay_amount": 224431438.25
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2017-3505-000",
                    "obligated_amount": 25491259.09,
                    "gross_outlay_amount": -3627115.67
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2019-3505-000",
                    "obligated_amount": 6027401.27,
                    "gross_outlay_amount": 94614357.49
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3505-000",
                    "obligated_amount": 2611281.0,
                    "gross_outlay_amount": 4308921.18
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2015-3505-000",
                    "obligated_amount": 1053577.72,
                    "gross_outlay_amount": 2042540.96
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2018-3505-000",
                    "obligated_amount": 628351.44,
                    "gross_outlay_amount": 46724559.25
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2016/2016-3505-000",
                    "obligated_amount": 574333.2,
                    "gross_outlay_amount": 24394557.95
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2016/2017-3505-000",
                    "obligated_amount": 340664.36,
                    "gross_outlay_amount": 649629.4
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2016-3505-000",
                    "obligated_amount": 11312.35,
                    "gross_outlay_amount": 3556.92
                },
                {
                    "name": "Food Stamp Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2014/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 604351.66
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 7531915.4
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2016/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 23570750.8
                }
            ],
            "obligated_amount": 162823240986.46,
            "gross_outlay_amount": 141072269686.99
        },
        {
            "code": "012-3539",
            "name": "Child Nutrition Programs, Food and Nutrition Service",
            "children": [
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2020/2021-3539-000",
                    "obligated_amount": 61384000984.54,
                    "gross_outlay_amount": 32696592676.59
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2019/2020-3539-000",
                    "obligated_amount": 4819699557.81,
                    "gross_outlay_amount": 12346327874.95
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3539-000",
                    "obligated_amount": 611728635.55,
                    "gross_outlay_amount": 345365853.46
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2018/2019-3539-000",
                    "obligated_amount": 158912994.92,
                    "gross_outlay_amount": 1744269377.32
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2016/2017-3539-000",
                    "obligated_amount": 6592811.65,
                    "gross_outlay_amount": 17902648.6
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2017/2018-3539-000",
                    "obligated_amount": 4685721.1,
                    "gross_outlay_amount": 31639099.13
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2015/2016-3539-000",
                    "obligated_amount": 3930393.46,
                    "gross_outlay_amount": -117890.67
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2014/2015-3539-000",
                    "obligated_amount": 814976.24,
                    "gross_outlay_amount": 250709.54
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2020-3539-000",
                    "obligated_amount": 500000.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Child Nutrition Programs, Food Nutrition Service, Agriculture",
                    "code": "012-2013/2017-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 686199.83
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2018-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 136149.96
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2019-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 557430.0
                }
            ],
            "obligated_amount": 66990866075.27,
            "gross_outlay_amount": 47183610128.71
        },
        {
            "code": "012-1980",
            "name": "Rural Water and Waste Disposal Program Account, Rural Utilities Service, Agriculture",
            "children": [
                {
                    "name": "Rural Water and Waste Disposal Program Account, Rural Utilities Service, Agriculture",
                    "code": "012-X-1980-000",
                    "obligated_amount": 26783432887.41,
                    "gross_outlay_amount": 3466881677.05
                }
            ],
            "obligated_amount": 26783432887.41,
            "gross_outlay_amount": 3466881677.05
        },
        {
            "code": "012-4336",
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "children": [
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-X-4336-000",
                    "obligated_amount": 21962031408.87,
                    "gross_outlay_amount": 20850060274.71
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2019/2020-4336-000",
                    "obligated_amount": 13852997.0,
                    "gross_outlay_amount": 13759481.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2018/2018-4336-000",
                    "obligated_amount": 636408.93,
                    "gross_outlay_amount": 590572.15
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2018/2019-4336-000",
                    "obligated_amount": 16386.0,
                    "gross_outlay_amount": 36971.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2019/2019-4336-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 865378.8
                }
            ],
            "obligated_amount": 21976537200.8,
            "gross_outlay_amount": 20865312677.66
        },
        {
            "code": "012-0137",
            "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
            "children": [
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2019/2019-0137-000",
                    "obligated_amount": 9325965763.47,
                    "gross_outlay_amount": 6229330871.85
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2020/2020-0137-000",
                    "obligated_amount": 8985052632.0,
                    "gross_outlay_amount": 648504852.86
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2018-0137-000",
                    "obligated_amount": 1255062244.16,
                    "gross_outlay_amount": 1373404378.57
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2019-0137-000",
                    "obligated_amount": 361087979.17,
                    "gross_outlay_amount": 89060806.17
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-X-0137-000",
                    "obligated_amount": 243148249.39,
                    "gross_outlay_amount": 32752046.03
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2018-0137-000",
                    "obligated_amount": 148875010.03,
                    "gross_outlay_amount": 136525890.67
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2016/2016-0137-000",
                    "obligated_amount": 47479304.14,
                    "gross_outlay_amount": 12380695.66
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2017-0137-000",
                    "obligated_amount": 46708516.04,
                    "gross_outlay_amount": 18276133.6
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2015/2015-0137-000",
                    "obligated_amount": 20364408.43,
                    "gross_outlay_amount": 9549981.07
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2014/2014-0137-000",
                    "obligated_amount": 1428229.37,
                    "gross_outlay_amount": 258167.49
                }
            ],
            "obligated_amount": 20435172336.2,
            "gross_outlay_amount": 8550043823.97
        },
        {
            "code": "012-4085",
            "name": "Federal Crop Insurance Corporation Fund, Risk Management Agency, Agriculture",
            "children": [
                {
                    "name": "Federal Crop Insurance Corporation Fund, Risk Management Agency, Agriculture",
                    "code": "012-X-4085-000",
                    "obligated_amount": 19530057069.54,
                    "gross_outlay_amount": 28557733987.03
                }
            ],
            "obligated_amount": 19530057069.54,
            "gross_outlay_amount": 28557733987.03
        },
        {
            "code": "012-3510",
            "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
            "children": [
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2020/2021-3510-000",
                    "obligated_amount": 9922276035.73,
                    "gross_outlay_amount": 4462063824.96
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2019/2020-3510-000",
                    "obligated_amount": 3541610281.49,
                    "gross_outlay_amount": 4660762302.97
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC), Food and Nutrition Service, Agriculture",
                    "code": "012-X-3510-000",
                    "obligated_amount": 51698550.0,
                    "gross_outlay_amount": 89240393.99
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2018/2019-3510-000",
                    "obligated_amount": 177521.14,
                    "gross_outlay_amount": 80191402.71
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2016/2017-3510-000",
                    "obligated_amount": 169609.04,
                    "gross_outlay_amount": 2184857.63
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2017/2018-3510-000",
                    "obligated_amount": 6101.86,
                    "gross_outlay_amount": 19389894.43
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2014/2015-3510-000",
                    "obligated_amount": 4073.08,
                    "gross_outlay_amount": 5849865.13
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2015/2016-3510-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 9331070.99
                }
            ],
            "obligated_amount": 13515942172.34,
            "gross_outlay_amount": 9329013612.81
        },
        {
            "code": "012-4230",
            "name": "Rural Electrification and Telephone Revolving Fund, Liquidating Account, Rural Utilities Service, Agriculture",
            "children": [
                {
                    "name": "Rural Electrification and Telephone Revolving Fund, Liquidating Account, Rural Utilities Service, Agriculture",
                    "code": "012-X-4230-000",
                    "obligated_amount": 10620944960.88,
                    "gross_outlay_amount": 10543591691.12
                }
            ],
            "obligated_amount": 10620944960.88,
            "gross_outlay_amount": 10543591691.12
        },
        {
            "code": "012-1232",
            "name": "Distance Learning, Telemedicine and Broadband Program, Rural Utilities Service, Agriculture",
            "children": [
                {
                    "name": "Distance Learning, Telemedicine and Broadband Program, Rural Utilities Service,  Agriculture",
                    "code": "012-X-1232-000",
                    "obligated_amount": 8179559939.22,
                    "gross_outlay_amount": 468092401.92
                },
                {
                    "name": "Distance Learning, Telemedicine and Broadband Program, Rural Utilities Service, Agriculture",
                    "code": "012-2020/2021-1232-000",
                    "obligated_amount": 228625087.0,
                    "gross_outlay_amount": 21000000.0
                }
            ],
            "obligated_amount": 8408185026.22,
            "gross_outlay_amount": 489092401.92
        },
        {
            "code": "012-1004",
            "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
            "children": [
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-X-1004-000",
                    "obligated_amount": 5644332491.56,
                    "gross_outlay_amount": 6654133001.42
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2019/2023-1004-000",
                    "obligated_amount": 61696544.96,
                    "gross_outlay_amount": 650849.14
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2012/2012-1004-000",
                    "obligated_amount": 10082800.14,
                    "gross_outlay_amount": 13271867.05
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2020/2020-1004-000",
                    "obligated_amount": 3246981.8,
                    "gross_outlay_amount": 6239198.51
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2008/2008-1004-000",
                    "obligated_amount": 576678.78,
                    "gross_outlay_amount": 255384.74
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2014/2014-1004-000",
                    "obligated_amount": 96179.73,
                    "gross_outlay_amount": 1982861.01
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2019/2019-1004-000",
                    "obligated_amount": 25768.5,
                    "gross_outlay_amount": 4818932.57
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2017/2017-1004-000",
                    "obligated_amount": 23455.93,
                    "gross_outlay_amount": 907735.29
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2018/2018-1004-000",
                    "obligated_amount": 22902.9,
                    "gross_outlay_amount": 1266027.42
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2011/2011-1004-000",
                    "obligated_amount": 14760.17,
                    "gross_outlay_amount": 4357388.43
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2016/2016-1004-000",
                    "obligated_amount": 8219.64,
                    "gross_outlay_amount": 90045.07
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service, Agriculture",
                    "code": "012-2015/2015-1004-000",
                    "obligated_amount": 3992.82,
                    "gross_outlay_amount": 36602.85
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2007/2007-1004-000",
                    "obligated_amount": 362.15,
                    "gross_outlay_amount": 256234.88
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2004/2004-1004-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 2179411.02
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2010/2010-1004-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2003/2003-1004-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 458919.48
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2006/2006-1004-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 1298200.98
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2009/2009-1004-000",
                    "obligated_amount": -1409.93,
                    "gross_outlay_amount": -1409.93
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2005/2005-1004-000",
                    "obligated_amount": -1617.6,
                    "gross_outlay_amount": 1977521.43
                },
                {
                    "name": "Farm Security and Rural Investment Programs, Natural Resources Conservation Service",
                    "code": "012-2013/2013-1004-000",
                    "obligated_amount": -85643.39,
                    "gross_outlay_amount": 10528143.06
                }
            ],
            "obligated_amount": 5720042468.16,
            "gross_outlay_amount": 6704706914.42
        }
    ],
    "messages": []
}