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": 2023,
    "totals": {
        "total_obligations": 11077629835.89,
        "total_outlays": 13006827963.26,
        "total_budgetary_resources": 53097517546.93
    },
    "page_metadata": {
        "page": 1,
        "total": 20,
        "limit": 10,
        "next": 2,
        "previous": null,
        "hasNext": true,
        "hasPrevious": false
    },
    "results": [
        {
            "name": "Commodity Credit Corporation Fund, Agriculture",
            "id": "012-4336",
            "total_obligations": 9679433744.71,
            "total_outlays": 11617764697.53,
            "total_budgetary_resources": 46004494269.21
        },
        {
            "name": "Salaries and Expenses, Farm Service Agency, Agriculture",
            "id": "012-0600",
            "total_obligations": 1214951840.1,
            "total_outlays": 1197428936.54,
            "total_budgetary_resources": 1681634026.33
        },
        {
            "name": "Emergency Conservation Program, Farm Service Agency, Agriculture",
            "id": "012-3316",
            "total_obligations": 72577292.15,
            "total_outlays": 78793231.87,
            "total_budgetary_resources": 671780314.63
        },
        {
            "name": "Commodity Credit Corporation Export Loans Program Account, Foreign Agricultural Service, Agriculture",
            "id": "012-1336",
            "total_obligations": 35812347.61,
            "total_outlays": 34518055.95,
            "total_budgetary_resources": 39867732.05
        },
        {
            "name": "Agriculture Wool Apparel Manufacturers Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5636",
            "total_obligations": 21722671.49,
            "total_outlays": 21595366.49,
            "total_budgetary_resources": 35731283.25
        },
        {
            "name": "Emergency Forest Restoration Program, Farm Service Agency, Agriculture",
            "id": "012-0171",
            "total_obligations": 19230999.3,
            "total_outlays": 19991365.88,
            "total_budgetary_resources": 422401659.83
        },
        {
            "name": "Pima Agriculture Cotton Trust Fund, Farm Service Agency, Agriculture",
            "id": "012-5635",
            "total_obligations": 15088000.0,
            "total_outlays": 14960695.0,
            "total_budgetary_resources": 15587818.01
        },
        {
            "name": "Tobacco Trust Fund, Commodity Credit Corporation, Agriculture",
            "id": "012-8161",
            "total_obligations": 10696728.64,
            "total_outlays": 10696728.64,
            "total_budgetary_resources": 51677000.0
        },
        {
            "name": "Grassroots Source Water Protection Program, Farm Service Agency, Agriculture",
            "id": "012-3304",
            "total_obligations": 7500000.0,
            "total_outlays": 7500000.0,
            "total_budgetary_resources": 7500000.0
        },
        {
            "name": "Dairy Indemnity Program, Farm Service Agency, Agriculture",
            "id": "012-3314",
            "total_obligations": 549924.24,
            "total_outlays": 549924.24,
            "total_budgetary_resources": 943000.0
        }
    ],
    "messages": []
}