This route sends a request to the backend to retrieve a federal account based on its federal_account_code.

Documentation for this endpoint can be found here.

GET /api/v2/federal_accounts/020-0550/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "fiscal_year": 2024,
    "id": 4324,
    "agency_identifier": "020",
    "main_account_code": "0550",
    "account_title": "Interest on the Public Debt (Indefinite), Bureau of the Fiscal Service, Treasury",
    "federal_account_code": "020-0550",
    "parent_agency_toptier_code": "020",
    "parent_agency_name": "Department of the Treasury",
    "bureau_name": "Interest on the Public Debt",
    "bureau_slug": "interest-on-the-public-debt",
    "total_obligated_amount": 288010722716.21,
    "total_gross_outlay_amount": 288010722716.21,
    "total_budgetary_resources": 1020983616215.93,
    "children": [
        {
            "name": "Interest on the Public Debt (Indefinite), Bureau of the Fiscal Service, Treasury",
            "code": "020-X-0550-000",
            "obligated_amount": 288010722716.21,
            "gross_outlay_amount": 288010722716.21,
            "budgetary_resources_amount": 1020983616215.93
        }
    ]
}