Obtain the count of federal accounts and treasury accounts for a specific agency in a single fiscal year

Documentation for this endpoint can be found here.

GET /api/v2/agency/012/federal_account/count/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "toptier_code": "012",
    "fiscal_year": 2023,
    "federal_account_count": 136,
    "treasury_account_count": 744,
    "messages": []
}