USAspending API ReferenceIndependent
Try the API

List of Available Program Activities

GET/api/v2/federal_accounts/{federal_account_id}/available_program_activities

This endpoint supports the Federal Account page and allows for listing all Program Activities with activity by the Federal Account.

This endpoint returns a list of all Program Activities that the specified federal account has allotted money toward.

Request

curl 'https://api.usaspending.gov/api/v2/federal_accounts/5/available_program_activities'

Path parameters

  • federal_account_idstringRequired

    Example 5

Try it

Runs against the live API. Responses are real data.

GET/api/v2/federal_accounts/5/available_program_activities

Response · 200

  • countnumberRequired
  • resultsarray of ProgramActivityRequired2 fields
    • namestringRequired
    • codestringRequired
Example response
{
  "count": 9,
  "results": [
    {
      "name": "UNKNOWN/OTHER",
      "code": "0000"
    },
    {
      "name": "ZERO OBLIGATION",
      "code": "0000"
    },
    {
      "name": "FEDERAL CONTRIBUTION TO MATCH PREMIUMS (SMI)",
      "code": "0001"
    },
    {
      "name": "PART D BENEFITS (RX DRUG)",
      "code": "0002"
    },
    {
      "name": "PART D FEDERAL ADMINISTRATION (RX DRUG)",
      "code": "0003"
    },
    {
      "name": "GENERAL FUND TRANSFERS TO HI",
      "code": "0004"
    },
    {
      "name": "FEDERAL BUREAU OF INVESTIGATION (HCFAC)",
      "code": "0006"
    },
    {
      "name": "FEDERAL PAYMENTS FROM TAXATION OF OASDI BENEFITS (HI)",
      "code": "0007"
    },
    {
      "name": "STATE LOW INCOME DETERMINATIONS",
      "code": "0011"
    }
  ]
}

Recent changes

No contract changes to this endpoint since October 2024. The changelog covers every endpoint.

Contract notes

  • The contract doesn't declare federal_account_id in its URL template, so it was added here from the path.

Generated from contracts/v2/federal_accounts/federal_account_id/available_program_activity.md in the USAspending API repo.

Loading…