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/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "toptier_code": "012",
    "fiscal_year": 2021,
    "page_metadata": {
        "page": 1,
        "total": 130,
        "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-2021/2021-3505-000",
                    "obligated_amount": 16933588540.5,
                    "gross_outlay_amount": 1895193452.7
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2022-3505-000",
                    "obligated_amount": 150150075.25,
                    "gross_outlay_amount": 5537723.68
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2021-3505-000",
                    "obligated_amount": 14783488.36,
                    "gross_outlay_amount": 81994009.02
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2019-3505-000",
                    "obligated_amount": 9912411.04,
                    "gross_outlay_amount": 49511563.12
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2018-3505-000",
                    "obligated_amount": 345685.75,
                    "gross_outlay_amount": 932747.43
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2019-3505-000",
                    "obligated_amount": 10.58,
                    "gross_outlay_amount": 33510.96
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2016-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 2371.28
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 209842.0
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2016/2016-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 347384.24
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2017-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": -25020995.38
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 27561753.78
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2020-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 20590264.19
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2020-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 442231139.08
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 532702.22
                }
            ],
            "obligated_amount": 17108780211.48,
            "gross_outlay_amount": 2499657468.32
        },
        {
            "code": "012-4336",
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "children": [
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-X-4336-000",
                    "obligated_amount": 8022072773.14,
                    "gross_outlay_amount": 7685824253.63
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2019/2019-4336-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 364215.53
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2020/2020-4336-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 178000.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "072-012-X-4336-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 207.88
                }
            ],
            "obligated_amount": 8022072773.14,
            "gross_outlay_amount": 7686366677.04
        },
        {
            "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": 4386958839.82,
                    "gross_outlay_amount": 3066923581.64
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2021/2022-3539-000",
                    "obligated_amount": 1847280535.77,
                    "gross_outlay_amount": 289371702.96
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3539-000",
                    "obligated_amount": 204289647.63,
                    "gross_outlay_amount": 20536276.88
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2017/2018-3539-000",
                    "obligated_amount": 37422.68,
                    "gross_outlay_amount": 756524.37
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2016/2017-3539-000",
                    "obligated_amount": 35334.69,
                    "gross_outlay_amount": 747546.57
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2015/2016-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 209039.97
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2018/2019-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 5535478.71
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2019/2020-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 31644658.7
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2020-3539-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 51375.0
                }
            ],
            "obligated_amount": 6438601780.59,
            "gross_outlay_amount": 3415776184.8
        },
        {
            "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": 5534884294.98,
                    "gross_outlay_amount": 263011209.16
                }
            ],
            "obligated_amount": 5534884294.98,
            "gross_outlay_amount": 263011209.16
        },
        {
            "code": "012-0137",
            "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
            "children": [
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2020/2020-0137-000",
                    "obligated_amount": 2286619105.02,
                    "gross_outlay_amount": 392708615.08
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2019/2019-0137-000",
                    "obligated_amount": 485716929.37,
                    "gross_outlay_amount": 311380916.5
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2019/2020-0137-000",
                    "obligated_amount": 80002497.67,
                    "gross_outlay_amount": 55255.35
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2019-0137-000",
                    "obligated_amount": 45603504.7,
                    "gross_outlay_amount": 16958661.09
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-X-0137-000",
                    "obligated_amount": 44685508.84,
                    "gross_outlay_amount": 2395253.95
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2018-0137-000",
                    "obligated_amount": 20985448.88,
                    "gross_outlay_amount": 5001737.22
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2016/2016-0137-000",
                    "obligated_amount": 6253992.58,
                    "gross_outlay_amount": 1007254.77
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2017-0137-000",
                    "obligated_amount": 6092562.15,
                    "gross_outlay_amount": 590196.21
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2015/2015-0137-000",
                    "obligated_amount": 2169316.19,
                    "gross_outlay_amount": 159641.65
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2018-0137-000",
                    "obligated_amount": 1378737.56,
                    "gross_outlay_amount": 699785.9
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2021/2021-0137-000",
                    "obligated_amount": 352745.0,
                    "gross_outlay_amount": 23960.6
                }
            ],
            "obligated_amount": 2979860347.96,
            "gross_outlay_amount": 730981278.32
        },
        {
            "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": 1653538734.81,
                    "gross_outlay_amount": 23255836.47
                },
                {
                    "name": "Distance Learning, Telemedicine and Broadband Program, Rural Utilities Service, Agriculture",
                    "code": "012-2020/2021-1232-000",
                    "obligated_amount": 169899136.0,
                    "gross_outlay_amount": 0.0
                }
            ],
            "obligated_amount": 1823437870.81,
            "gross_outlay_amount": 23255836.47
        },
        {
            "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-2021/2022-3510-000",
                    "obligated_amount": 964471469.2,
                    "gross_outlay_amount": 345550754.88
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2020/2021-3510-000",
                    "obligated_amount": 500220068.88,
                    "gross_outlay_amount": 449326541.62
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC), Food and Nutrition Service, Agriculture",
                    "code": "012-X-3510-000",
                    "obligated_amount": 138591.0,
                    "gross_outlay_amount": 23205122.66
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2019/2020-3510-000",
                    "obligated_amount": 30075.51,
                    "gross_outlay_amount": 25488651.78
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2015/2016-3510-000",
                    "obligated_amount": 2595.99,
                    "gross_outlay_amount": 1165576.47
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2016/2017-3510-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 102500.93
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2017/2018-3510-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 685433.15
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2018/2019-3510-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 2203496.81
                }
            ],
            "obligated_amount": 1464862800.58,
            "gross_outlay_amount": 847728078.3
        },
        {
            "code": "012-1115",
            "name": "Wildland Fire Management, Forest Service, Agriculture",
            "children": [
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-X-1115-000",
                    "obligated_amount": 887925796.71,
                    "gross_outlay_amount": 1175606718.68
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2018/2021-1115-000",
                    "obligated_amount": 1907942.01,
                    "gross_outlay_amount": 6822035.6
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2019/2022-1115-000",
                    "obligated_amount": 172677.3,
                    "gross_outlay_amount": 4807537.16
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2020/2021-1115-000",
                    "obligated_amount": 136573.65,
                    "gross_outlay_amount": 451390.58
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2017/2020-1115-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 3594818.25
                }
            ],
            "obligated_amount": 890142989.67,
            "gross_outlay_amount": 1191282500.27
        },
        {
            "code": "012-0115",
            "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
            "children": [
                {
                    "name": "Office of the Secretary, Agriculture",
                    "code": "012-X-0115-000",
                    "obligated_amount": 486400072.9,
                    "gross_outlay_amount": 96624068.15
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2020/2020-0115-000",
                    "obligated_amount": 19861376.85,
                    "gross_outlay_amount": 1048848948.49
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2021/2021-0115-000",
                    "obligated_amount": 10760533.76,
                    "gross_outlay_amount": 7216849.66
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2020/2022-0115-000",
                    "obligated_amount": 1605717.84,
                    "gross_outlay_amount": 1750464.16
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2019/2021-0115-000",
                    "obligated_amount": 141247.91,
                    "gross_outlay_amount": 272380.79
                },
                {
                    "name": "Production, Processing and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2017/2017-0115-000",
                    "obligated_amount": 10988.99,
                    "gross_outlay_amount": 650485.02
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2018/2018-0115-000",
                    "obligated_amount": 8293.01,
                    "gross_outlay_amount": 797565.03
                },
                {
                    "name": "Production, Processing and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2016/2016-0115-000",
                    "obligated_amount": 6848.74,
                    "gross_outlay_amount": 17927.24
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2019/2019-0115-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 2851234.27
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2018/2020-0115-000",
                    "obligated_amount": -301.85,
                    "gross_outlay_amount": -301.85
                }
            ],
            "obligated_amount": 518794778.15,
            "gross_outlay_amount": 1159029620.96
        },
        {
            "code": "012-2081",
            "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
            "children": [
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2021/2021-2081-000",
                    "obligated_amount": 182667770.91,
                    "gross_outlay_amount": 168079591.91
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-X-2081-000",
                    "obligated_amount": 109096087.23,
                    "gross_outlay_amount": 475044.65
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2020/2020-2081-000",
                    "obligated_amount": 68582659.84,
                    "gross_outlay_amount": 19377040.69
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2018/2019-2081-000",
                    "obligated_amount": 23677772.98,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2019/2019-2081-000",
                    "obligated_amount": 20257866.97,
                    "gross_outlay_amount": 1688860.11
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2018/2018-2081-000",
                    "obligated_amount": 6769548.65,
                    "gross_outlay_amount": 652837.99
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2017/2017-2081-000",
                    "obligated_amount": 3209672.56,
                    "gross_outlay_amount": 117611.12
                },
                {
                    "name": "Rural Housing Insurance Fund Program Account, Rural Housing Service, Agriculture",
                    "code": "012-2016/2016-2081-000",
                    "obligated_amount": 106231.26,
                    "gross_outlay_amount": 977.12
                }
            ],
            "obligated_amount": 414367610.4,
            "gross_outlay_amount": 190391963.59
        }
    ],
    "messages": []
}