Skip to content

USAspending API: Get agency spending

Gets a federal agency's fiscal-year budgetary resources, obligations, share of federal obligations, new award count, top recipients and spending classes from USAspending.

usaspending.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by USAspending.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Agency, requiredagency

Federal agency name or common abbreviation, for example NASA or Department of Defense.

EPA

Fiscal Year optionalfiscal_year

Federal fiscal year, for example 2025. Defaults to the latest year with agency data.

Not set

Whole number.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "as_of_date": "2026-10-23",  "agency_code": "068",  "agency_link": "https://www.usaspending.gov/agency/environmental-protection-agency",  "agency_name": "Environmental Protection Agency",  "fiscal_year": 2026,  "top_recipients": [    {      "name": "FLORIDA DEPARTMENT OF ENVIRONMENTAL PROTECTION",      "page_link": "https://www.usaspending.gov/recipient/ae3e08de-48a4-ddbd-7a58-53e1fb14742f-C/latest",      "amount_usd": 2007463505    },    {      "name": "THE STATE OF OHIO OFFICE OF BUDGET AND MANAGEMENT",      "page_link": "https://www.usaspending.gov/recipient/615ca93b-904d-c303-bd34-715393928147-C/latest",      "amount_usd": 813141191    },    {      "name": "ILLINOIS ENVIRONMENTAL PROTECTION AGENCY",      "page_link": "https://www.usaspending.gov/recipient/fc0efc9e-c129-b96b-fa39-cfefcb2eb204-C/latest",      "amount_usd": 705470519    }  ],  "number_of_awards": 3579,  "total_obligations_usd": 21215321918.57,  "top_spending_categories": [    {      "name": "Grants, subsidies, and contributions",      "page_link": "https://www.usaspending.gov/agency/environmental-protection-agency",      "amount_usd": 14628663614.36    },    {      "name": "Other services from non-Federal sources",      "page_link": "https://www.usaspending.gov/agency/environmental-protection-agency",      "amount_usd": 2267884750.52    },    {      "name": "Full-time permanent",      "page_link": "https://www.usaspending.gov/agency/environmental-protection-agency",      "amount_usd": 1652459740.32    }  ],  "total_budgetary_resources_usd": 56866106074.7,  "share_of_federal_obligations_percent": 0.2139}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
usaspending.gov/get_agency_spending
Returns
budgetary resources, obligations, share of federal obligations, award count, top recipients, top spending categories, data date

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method usaspending.gov/get_agency_spending with the inputs above.

Ask your agent

  • How much budget did NASA have available and how much did it obligate in fiscal year 2025?
  • What share of total federal obligations went to the Department of Defense in FY 2024, and who were its top recipients?
  • Show me the number of new awards the VA made last fiscal year along with its biggest spending categories on usaspending.gov.
  • Pull up the Department of Energy's budgetary resources and obligations for fiscal 2023, including the data date.
  • Which companies received the most money from the Department of Health and Human Services in 2025, and what were the main spending classes?
  • Returns federal obligations and distinct awards for a company or organization, including its parent and child recipient records. Covers the selected fiscal year or the last five fiscal years.

    usaspending.gov/get_company_federal_awards
  • Searches USAspending federal awards by keywords, awarding agency, state of performance and date across contracts, grants, loans and direct payments. Searches from October 1, 2007 onward.

    usaspending.gov/search_federal_awards
  • Finds U.S. federal grant opportunities by topic, agency, applicant type and status, with funding and eligibility details. Open results exclude opportunities whose closing date has passed.

    grants.gov/search_grants
  • Searches USAJOBS federal jobs by keywords, location, salary threshold and applicant group, in website relevance order. Salary ranges may start below the threshold; annual pay or remote status is null when the announcement does not state it.

    usajobs.gov/search_jobs
  • Finds NIH research grants by topic, organisation, or researcher name. Searches the last five fiscal years by default.

    reporter.nih.gov/search_grants
  • Returns US national debt (Debt to the Penny) for a given date, or the latest published day. Dates without a record use the previous published day.

    home.treasury.gov/get_national_debt
  • Finds active federal contract notices on SAM.gov that match keywords, agency, place of performance, set-aside, notice type and posting period.

    sam.gov/search_contract_opportunities
  • Find Federal Register rules, proposed rules, notices, and presidential documents by topic, agency, publication dates, and comment status. Significant means designated significant by the source; documents without that designation show no.

    federalregister.gov/search_rules