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/sub_components/farm-service-agency/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "toptier_code": "012",
    "bureau_slug": "farm-service-agency",
    "fiscal_year": 2022,
    "totals": {
        "total_obligations": 5451223613.15,
        "total_outlays": 9391782572.38,
        "total_budgetary_resources": 38304224811.9
    },
    "page_metadata": {
        "page": 1,
        "total": 15,
        "limit": 10,
        "next": 2,
        "previous": null,
        "hasNext": true,
        "hasPrevious": false
    },
    "results": [
        {
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "id": "012-4336",
            "total_obligations": 5100520491.24,
            "total_outlays": 9032167454.9,
            "total_budgetary_resources": 37564892641.17
        },
        {
            "name": "Salaries and Expenses, Farm Service Agency, Agriculture",
            "id": "012-0600",
            "total_obligations": 323089938.99,
            "total_outlays": 339341959.62,
            "total_budgetary_resources": 556012810.48
        },
        {
            "name": "Emergency Conservation Program, Farm Service Agency, Agriculture",
            "id": "012-3316",
            "total_obligations": 23176012.09,
            "total_outlays": 18384976.27,
            "total_budgetary_resources": 0.0
        },
        {
            "name": "Emergency Forest Restoration Program, Farm Service Agency, Agriculture",
            "id": "012-0171",
            "total_obligations": 3980337.2,
            "total_outlays": 1799464.89,
            "total_budgetary_resources": 0.0
        },
        {
            "name": "Commodity Credit Corporation Export Loans Program Account, Foreign Agricultural Service, Agriculture",
            "id": "012-1336",
            "total_obligations": 1040126.99,
            "total_outlays": 781895.3,
            "total_budgetary_resources": 5075219.0
        },
        {
            "name": "Dairy Indemnity Program, Farm Service Agency, Agriculture",
            "id": "012-3314",
            "total_obligations": 169817.93,
            "total_outlays": 169817.93,
            "total_budgetary_resources": 1414500.0
        },
        {
            "name": "Tobacco Trust Fund, Commodity Credit Corporation, Agriculture",
            "id": "012-8161",
            "total_obligations": 68636.5,
            "total_outlays": 68636.5,
            "total_budgetary_resources": 133450000.0
        },
        {
            "name": "Agriculture Wool Apparel Manufacturers Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5636",
            "total_obligations": 0.0,
            "total_outlays": -127305.0,
            "total_budgetary_resources": 28290000.0
        },
        {
            "name": "Commodity Credit Corporation Direct Loans, Liquidating Account, Agriculture",
            "id": "012-4338",
            "total_obligations": 0.0,
            "total_outlays": 0.0,
            "total_budgetary_resources": 0.0
        },
        {
            "name": "Conservation Reserve Program, Farm Service Agency, Agriculture",
            "id": "012-3319",
            "total_obligations": 0.0,
            "total_outlays": 0.0,
            "total_budgetary_resources": 0.0
        }
    ],
    "messages": []
}