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": 8256980118.02,
        "total_outlays": 8228999081.66,
        "total_budgetary_resources": 45317310342.12
    },
    "page_metadata": {
        "page": 1,
        "total": 19,
        "limit": 10,
        "next": 2,
        "previous": null,
        "hasNext": true,
        "hasPrevious": false
    },
    "results": [
        {
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "id": "012-4336",
            "total_obligations": 7230515755.92,
            "total_outlays": 7258066510.5,
            "total_budgetary_resources": 41756975889.81
        },
        {
            "name": "Salaries and Expenses, Farm Service Agency, Agriculture",
            "id": "012-0600",
            "total_obligations": 978298851.43,
            "total_outlays": 926798255.12,
            "total_budgetary_resources": 1602097179.32
        },
        {
            "name": "Agriculture Wool Apparel Manufacturers Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5636",
            "total_obligations": 19881777.99,
            "total_outlays": 19705294.99,
            "total_budgetary_resources": 55115968.75
        },
        {
            "name": "Pima Agriculture Cotton Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5635",
            "total_obligations": 14997662.68,
            "total_outlays": 15003764.06,
            "total_budgetary_resources": 15187694.08
        },
        {
            "name": "Commodity Credit Corporation Export Loans Program Account, Foreign Agricultural Service, Agriculture",
            "id": "012-1336",
            "total_obligations": 6457029.65,
            "total_outlays": 1869470.17,
            "total_budgetary_resources": 10653966.08
        },
        {
            "name": "Emergency Conservation Program, Farm Service Agency, Agriculture",
            "id": "012-3316",
            "total_obligations": 5883874.02,
            "total_outlays": 6517672.82,
            "total_budgetary_resources": 754488508.69
        },
        {
            "name": "Emergency Forest Restoration Program, Farm Service Agency, Agriculture",
            "id": "012-0171",
            "total_obligations": 915222.7,
            "total_outlays": 1003461.7,
            "total_budgetary_resources": 433990165.76
        },
        {
            "name": "Agricultural Disaster Relief Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5531",
            "total_obligations": 17232.54,
            "total_outlays": 18995.54,
            "total_budgetary_resources": 93732.67
        },
        {
            "name": "USDA Disaster Assistance, Farm Service Agency, Agriculture",
            "id": "012-2701",
            "total_obligations": 12711.09,
            "total_outlays": 15656.76,
            "total_budgetary_resources": 4472949.56
        },
        {
            "name": "Agricultural Credit Insurance Fund, Liquidating Account, Consolidated Farm Service Agency, Agriculture",
            "id": "012-4140",
            "total_obligations": 0.0,
            "total_outlays": 0.0,
            "total_budgetary_resources": 4708754.94
        }
    ],
    "messages": []
}