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": 2022,
    "page_metadata": {
        "page": 1,
        "total": 148,
        "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-2022/2022-3505-000",
                    "obligated_amount": 104107849763.56,
                    "gross_outlay_amount": 92298761934.68
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2021-3505-000",
                    "obligated_amount": 2720274072.39,
                    "gross_outlay_amount": 18819079334.97
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2022/2023-3505-000",
                    "obligated_amount": 730751556.11,
                    "gross_outlay_amount": 146403735.16
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2023-3505-000",
                    "obligated_amount": 430279172.51,
                    "gross_outlay_amount": 227190953.84
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2022-3505-000",
                    "obligated_amount": 184789539.98,
                    "gross_outlay_amount": 540864515.04
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2020-3505-000",
                    "obligated_amount": 24259158.59,
                    "gross_outlay_amount": 98329479.9
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2017-3505-000",
                    "obligated_amount": 13811080.75,
                    "gross_outlay_amount": 7074470.19
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2027-3505-000",
                    "obligated_amount": 11380000.0,
                    "gross_outlay_amount": 723801076.38
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2020/2021-3505-000",
                    "obligated_amount": 4296502.08,
                    "gross_outlay_amount": 143593393.77
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3505-000",
                    "obligated_amount": 2237643.6,
                    "gross_outlay_amount": 5764172.64
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2019-3505-000",
                    "obligated_amount": 502644.19,
                    "gross_outlay_amount": 58274.93
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2019-3505-000",
                    "obligated_amount": 366578.42,
                    "gross_outlay_amount": 7605909.82
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2026-3505-000",
                    "obligated_amount": 279357.28,
                    "gross_outlay_amount": 30839.16
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2018/2018-3505-000",
                    "obligated_amount": 22374.62,
                    "gross_outlay_amount": 8286124.16
                },
                {
                    "name": "Food Stamp Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2014/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 2067236.0
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2015/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 1312424.0
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2017/2018-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 13780876.89
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2021-3505-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 635595.49
                },
                {
                    "name": "Supplemental Nutrition Assistance Program, Food and Nutrition Service, Agriculture",
                    "code": "012-2019/2020-3505-000",
                    "obligated_amount": -810466.17,
                    "gross_outlay_amount": -226815.05
                }
            ],
            "obligated_amount": 108230288977.91,
            "gross_outlay_amount": 113044413531.97
        },
        {
            "code": "012-3539",
            "name": "Child Nutrition Programs, Food and Nutrition Service",
            "children": [
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2022/2023-3539-000",
                    "obligated_amount": 19822450072.97,
                    "gross_outlay_amount": 16296794382.09
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2021/2022-3539-000",
                    "obligated_amount": 11491019946.28,
                    "gross_outlay_amount": 14499290872.24
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-X-3539-000",
                    "obligated_amount": 259201253.39,
                    "gross_outlay_amount": 185644228.06
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2020/2021-3539-000",
                    "obligated_amount": 19394990.54,
                    "gross_outlay_amount": 92813724.9
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2019/2020-3539-000",
                    "obligated_amount": 4177647.62,
                    "gross_outlay_amount": 8621869.98
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2017/2018-3539-000",
                    "obligated_amount": 1616958.13,
                    "gross_outlay_amount": 1550265.67
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2022/2022-3539-000",
                    "obligated_amount": 250000.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2021-3539-000",
                    "obligated_amount": 225407.0,
                    "gross_outlay_amount": 672901996.69
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2018/2019-3539-000",
                    "obligated_amount": 183522.92,
                    "gross_outlay_amount": 3840083.71
                },
                {
                    "name": "Child Nutrition Programs, Food and Nutrition Service",
                    "code": "012-2016/2017-3539-000",
                    "obligated_amount": 139092.05,
                    "gross_outlay_amount": 986924.96
                }
            ],
            "obligated_amount": 31598658890.9,
            "gross_outlay_amount": 31762444348.3
        },
        {
            "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": 24642655393.89,
                    "gross_outlay_amount": 2319663911.85
                }
            ],
            "obligated_amount": 24642655393.89,
            "gross_outlay_amount": 2319663911.85
        },
        {
            "code": "012-0137",
            "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
            "children": [
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2021/2021-0137-000",
                    "obligated_amount": 9681042112.23,
                    "gross_outlay_amount": 3346585416.09
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2020/2020-0137-000",
                    "obligated_amount": 2040489387.8,
                    "gross_outlay_amount": 1548398934.19
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2022/2022-0137-000",
                    "obligated_amount": 1798184781.67,
                    "gross_outlay_amount": 89711068.95
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2020/2021-0137-000",
                    "obligated_amount": 320000000.0,
                    "gross_outlay_amount": 20660922.55
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2019/2020-0137-000",
                    "obligated_amount": 173233997.26,
                    "gross_outlay_amount": 112547862.09
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2021/2022-0137-000",
                    "obligated_amount": 165630814.44,
                    "gross_outlay_amount": 106500744.64
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-X-0137-000",
                    "obligated_amount": 144386915.54,
                    "gross_outlay_amount": 13961772.97
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2019/2019-0137-000",
                    "obligated_amount": 85441057.4,
                    "gross_outlay_amount": 24607323.29
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2018-0137-000",
                    "obligated_amount": 50267408.48,
                    "gross_outlay_amount": 3903874.87
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2017-0137-000",
                    "obligated_amount": 17302822.28,
                    "gross_outlay_amount": 604854.03
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2018/2019-0137-000",
                    "obligated_amount": 13257716.26,
                    "gross_outlay_amount": 4756337.44
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2016/2016-0137-000",
                    "obligated_amount": 6774039.72,
                    "gross_outlay_amount": 340862.55
                },
                {
                    "name": "Rental Assistance Program, Rural Housing Service, Agriculture",
                    "code": "012-2017/2018-0137-000",
                    "obligated_amount": 1099267.04,
                    "gross_outlay_amount": 271093.9
                }
            ],
            "obligated_amount": 14497110320.12,
            "gross_outlay_amount": 5272851067.56
        },
        {
            "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": 12279473403.19,
                    "gross_outlay_amount": 11876640388.71
                }
            ],
            "obligated_amount": 12279473403.19,
            "gross_outlay_amount": 11876640388.71
        },
        {
            "code": "012-4336",
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "children": [
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-X-4336-000",
                    "obligated_amount": 8933014142.7,
                    "gross_outlay_amount": 8890805313.76
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "072-012-X-4336-000",
                    "obligated_amount": 208488318.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2017/2018-4336-000",
                    "obligated_amount": 99351.0,
                    "gross_outlay_amount": 99351.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2019/2020-4336-000",
                    "obligated_amount": 144.0,
                    "gross_outlay_amount": 299.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2018/2019-4336-000",
                    "obligated_amount": 88.0,
                    "gross_outlay_amount": 88.0
                },
                {
                    "name": "Commodity Credit Corporation Fund, Agriculture",
                    "code": "012-2020/2020-4336-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 403817.76
                }
            ],
            "obligated_amount": 9141602043.7,
            "gross_outlay_amount": 8891308869.52
        },
        {
            "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": 7206983307.21,
                    "gross_outlay_amount": 702031037.94
                },
                {
                    "name": "Distance Learning, Telemedicine and Broadband Program, Rural Utilities Service, Agriculture",
                    "code": "012-2020/2021-1232-000",
                    "obligated_amount": 734367025.0,
                    "gross_outlay_amount": 8750184.0
                }
            ],
            "obligated_amount": 7941350332.21,
            "gross_outlay_amount": 710781221.94
        },
        {
            "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-2022/2023-3510-000",
                    "obligated_amount": 4270407073.63,
                    "gross_outlay_amount": 1824425984.23
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2021/2022-3510-000",
                    "obligated_amount": 1791135685.44,
                    "gross_outlay_amount": 2148473279.57
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC), Food and Nutrition Service, Agriculture",
                    "code": "012-X-3510-000",
                    "obligated_amount": 4611598.0,
                    "gross_outlay_amount": 12740497.25
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2020/2021-3510-000",
                    "obligated_amount": 322396.62,
                    "gross_outlay_amount": 137005266.5
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2019/2020-3510-000",
                    "obligated_amount": 58453.6,
                    "gross_outlay_amount": 6936622.46
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC), Food and Nutrition Service, Agriculture",
                    "code": "012-2021/2024-3510-000",
                    "obligated_amount": 32388.0,
                    "gross_outlay_amount": 0.0
                },
                {
                    "name": "Special Supplemental Nutrition Program for Women, Infants and Children (WIC), Food and Nutrition Service",
                    "code": "012-2017/2018-3510-000",
                    "obligated_amount": 2.32,
                    "gross_outlay_amount": 1535632.49
                },
                {
                    "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": 246854.12
                },
                {
                    "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": 2867097.3
                }
            ],
            "obligated_amount": 6066567597.61,
            "gross_outlay_amount": 4134231233.92
        },
        {
            "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": 3293736760.54,
                    "gross_outlay_amount": 2903123716.46
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2022/2024-0115-000",
                    "obligated_amount": 614712324.0,
                    "gross_outlay_amount": 592393692.09
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2022/2022-0115-000",
                    "obligated_amount": 77486936.45,
                    "gross_outlay_amount": 58888310.0
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2020/2020-0115-000",
                    "obligated_amount": 2434159.01,
                    "gross_outlay_amount": 3572461.16
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2021/2021-0115-000",
                    "obligated_amount": 1106827.91,
                    "gross_outlay_amount": 18808200.81
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2020/2022-0115-000",
                    "obligated_amount": 106244.36,
                    "gross_outlay_amount": 167702.1
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2018/2018-0115-000",
                    "obligated_amount": 47547.96,
                    "gross_outlay_amount": 48579.85
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2019/2019-0115-000",
                    "obligated_amount": 5785.94,
                    "gross_outlay_amount": 3714244.66
                },
                {
                    "name": "Production, Processing and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2017/2017-0115-000",
                    "obligated_amount": 601.63,
                    "gross_outlay_amount": 94882.96
                },
                {
                    "name": "Processing, Research and Marketing, Office of the Secretary, Agriculture",
                    "code": "012-2019/2021-0115-000",
                    "obligated_amount": 0.0,
                    "gross_outlay_amount": 5579.0
                }
            ],
            "obligated_amount": 3989637187.8,
            "gross_outlay_amount": 3580817369.09
        },
        {
            "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": 2685190216.1,
                    "gross_outlay_amount": 2559737383.83
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2017/2020-1115-000",
                    "obligated_amount": 343128.46,
                    "gross_outlay_amount": 8587860.21
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2020/2021-1115-000",
                    "obligated_amount": 41342.63,
                    "gross_outlay_amount": 491427.46
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2018/2021-1115-000",
                    "obligated_amount": -297293.76,
                    "gross_outlay_amount": 3149000.25
                },
                {
                    "name": "Wildland Fire Management, Forest Service, Agriculture",
                    "code": "012-2019/2022-1115-000",
                    "obligated_amount": -705537.58,
                    "gross_outlay_amount": 8750419.93
                }
            ],
            "obligated_amount": 2684571855.85,
            "gross_outlay_amount": 2580716091.68
        }
    ],
    "messages": []
}