Obtain the list of subagencies and offices based on the provided toptier_code and fiscal year, as well as award type. Can be either by funding agency or awarding agency. Based on transaction data.

Documentation for this endpoint can be found here.

GET /api/v2/agency/012/sub_agency/?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": 10,
        "limit": 10,
        "next": null,
        "previous": null,
        "hasNext": false,
        "hasPrevious": false
    },
    "results": [
        {
            "name": "Forest Service",
            "abbreviation": "FS",
            "total_obligations": 7284993.21,
            "transaction_count": 358,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA-FS, INCIDENT PROCUREMENT LOGISTICS",
                    "total_obligations": 7067057.44,
                    "transaction_count": 108,
                    "new_award_count": 0
                },
                {
                    "name": "USDA FOREST SERVICE",
                    "total_obligations": 197598.36,
                    "transaction_count": 16,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA EAST 9",
                    "total_obligations": 13747.32,
                    "transaction_count": 16,
                    "new_award_count": 0
                },
                {
                    "name": "INCIDENT PROCUREMENT AVIATION BRANCH",
                    "total_obligations": 2500.0,
                    "transaction_count": 8,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA SOUTHWEST 7",
                    "total_obligations": 0.0,
                    "transaction_count": 9,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA EAST 13",
                    "total_obligations": 0.0,
                    "transaction_count": 8,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA INTERMOUNTAIN 3",
                    "total_obligations": -1.99,
                    "transaction_count": 38,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA EAST 2",
                    "total_obligations": -954.04,
                    "transaction_count": 8,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA SOUTHWEST 1",
                    "total_obligations": -82983.12,
                    "transaction_count": 9,
                    "new_award_count": 0
                },
                {
                    "name": "USDA-FS, CSA NORTHWEST 1",
                    "total_obligations": -118445.05,
                    "transaction_count": 13,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Office of the Chief Financial Officer",
            "abbreviation": "OCFO",
            "total_obligations": 4064281.31,
            "transaction_count": 55,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA, OCP-POD-ACQ-MGMT-BRANCH-FTC",
                    "total_obligations": 4064281.31,
                    "transaction_count": 55,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Animal and Plant Health Inspection Service",
            "abbreviation": "APHIS",
            "total_obligations": 1480087.75,
            "transaction_count": 48,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA  APHIS  MRPBS",
                    "total_obligations": 1480087.75,
                    "transaction_count": 48,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Agricultural Research Service",
            "abbreviation": "ARS",
            "total_obligations": 647671.57,
            "transaction_count": 85,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA ARS SEA AAO ACQ/PER PROP",
                    "total_obligations": 362836.49,
                    "transaction_count": 35,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS PA AAO ACQ/PER PROP",
                    "total_obligations": 126791.34,
                    "transaction_count": 18,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS AFM APD",
                    "total_obligations": 69327.39,
                    "transaction_count": 8,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS NEA AAO ACQ/PER PROP",
                    "total_obligations": 50158.45,
                    "transaction_count": 6,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS PWA AAO ACQ/PER PROP",
                    "total_obligations": 42746.9,
                    "transaction_count": 14,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS PWA PULLMAN LSS",
                    "total_obligations": 0.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS MWA AAO ACQ/PER PROP",
                    "total_obligations": 0.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS SEA TIFTON LSS",
                    "total_obligations": -779.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA ARS PWA SJVASC",
                    "total_obligations": -3410.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Rural Housing Service",
            "abbreviation": "RHS",
            "total_obligations": 579007.78,
            "transaction_count": 4,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA/RD/REGIONAL ACQ DIVISION",
                    "total_obligations": 625725.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA/RD/REGIONAL ACQ DIVISION",
                    "total_obligations": 0.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA/RD/STRATEGIC ACQUISITION DIV",
                    "total_obligations": 0.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                },
                {
                    "name": "USDA RURAL DEVELOPMENT",
                    "total_obligations": -46717.22,
                    "transaction_count": 1,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Farm Service Agency",
            "abbreviation": "FSA",
            "total_obligations": 511691.85,
            "transaction_count": 235,
            "new_award_count": 0,
            "children": [
                {
                    "name": "Deputy Administrator Farm Programs",
                    "total_obligations": 511691.85,
                    "transaction_count": 234,
                    "new_award_count": 0
                },
                {
                    "name": "FSA-MGMT SVS DIV-ACQ MGMT BRAN-DC",
                    "total_obligations": 0.0,
                    "transaction_count": 1,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Under Secretary for Farm and Foreign Agricultural Services",
            "abbreviation": null,
            "total_obligations": 174261.31,
            "transaction_count": 19,
            "new_award_count": 0,
            "children": [
                {
                    "name": "FPAC BUS CNTR-ACQ DIV-OPS BRA-SEC 1",
                    "total_obligations": 189525.0,
                    "transaction_count": 4,
                    "new_award_count": 0
                },
                {
                    "name": "FPAC BUS CNTR-ACQ DIV-OPS BRA-SEC 2",
                    "total_obligations": 0.0,
                    "transaction_count": 4,
                    "new_award_count": 0
                },
                {
                    "name": "FPAC BUS CNTR-ACQ DIV-OPS BRA-SEC 4",
                    "total_obligations": -836.56,
                    "transaction_count": 4,
                    "new_award_count": 0
                },
                {
                    "name": "FPAC BUS CNTR-ACQ DIV-OPS BRA-SEC 3",
                    "total_obligations": -14427.13,
                    "transaction_count": 7,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Foreign Agricultural Service",
            "abbreviation": "FAS",
            "total_obligations": 66717.99,
            "transaction_count": 3,
            "new_award_count": 0,
            "children": [
                {
                    "name": "Food for Progress",
                    "total_obligations": 66717.99,
                    "transaction_count": 3,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Food Safety and Inspection Service",
            "abbreviation": "FSIS",
            "total_obligations": 9049.5,
            "transaction_count": 4,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA, FSIS, OAS PCMB",
                    "total_obligations": 9049.5,
                    "transaction_count": 4,
                    "new_award_count": 0
                }
            ]
        },
        {
            "name": "Agricultural Marketing Service",
            "abbreviation": "AMS",
            "total_obligations": -126.4,
            "transaction_count": 22,
            "new_award_count": 0,
            "children": [
                {
                    "name": "USDA  AMS  3J14",
                    "total_obligations": 0.0,
                    "transaction_count": 17,
                    "new_award_count": 0
                },
                {
                    "name": "USDA AMS",
                    "total_obligations": 0.0,
                    "transaction_count": 4,
                    "new_award_count": 0
                },
                {
                    "name": "USDA  AMS  COTTON DIVISION",
                    "total_obligations": -126.4,
                    "transaction_count": 1,
                    "new_award_count": 0
                }
            ]
        }
    ],
    "messages": []
}