Skip to main content
POST
Agency

Request contract

  • Method and path: POST /apis/v1/usaspending-gov/agencies/agency
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/usaspending-gov/agencies/agency
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
toptier_code
string
required

Pattern: ^[0-9]{3,4}$.

fiscal_year
number

Omitted = the current fiscal year.

Provider reference: minimum 2008; maximum 2035.

Response

Toptier agency overview for a fiscal year by CGAC/FREC code (097 Department of Defense, 075 Health and Human Services, 036 Veterans Affairs): name, mission, website, subtier count, DEF codes in use and the fiscal year's award obligations and transaction count.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.