GET api/v2/federal_accounts/{account_code}/

usaspending.gov:usaspending-api

Summary: Get federal account
Operation ID: getFederalAccount
Auth: none
Description

Returns a federal account based on its federal account code

Parameters (1)

account_code (string, path, required)

Federal account code (e.g., 020-0550)

Examples (3)

TitleTypeURLAction
Get Treasury Department account curl https://api.usaspending.gov/api/v2/federal_accounts/020-0550/
Get Agriculture Department account curl https://api.usaspending.gov/api/v2/federal_accounts/012-1801/
Get Defense Department account curl https://api.usaspending.gov/api/v2/federal_accounts/097-0300/

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:36:39.466523 200 1288ms
2026-03-23 10:22:46.532467 200 765ms
2026-03-23 09:47:33.206238 200 2960ms

Response Changes

WhenOldNew
2026-03-23 10:22:46.532467 150186094d31 9c802b021220
2026-03-23 10:36:39.466523 9c802b021220 337559083c6d