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/?format=api
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": 433368720533.73,
    "total_gross_outlay_amount": 433368720533.73,
    "total_budgetary_resources": 992354482735.72,
    "children": [
        {
            "name": "Interest on the Public Debt (Indefinite), Bureau of the Fiscal Service, Treasury",
            "code": "020-X-0550-000",
            "obligated_amount": 433368720533.73,
            "gross_outlay_amount": 433368720533.73,
            "budgetary_resources_amount": 992354482735.72
        }
    ]
}