USASpending.gov Scraper avatar

USASpending.gov Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
USASpending.gov Scraper

USASpending.gov Scraper

Scrape USASpending.gov, the official open data source for US federal government spending. Covers contracts, grants, loans, and other awards totaling $6+ trillion annually across all federal agencies.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract US federal government spending data from USASpending.gov — the official transparency platform for tracking $6+ trillion in federal contracts, grants, loans, and financial assistance annually.

What This Actor Does

This actor accesses the official USASpending.gov public API to retrieve:

  • Federal Awards — Search contracts, grants, loans, and other awards by keyword, agency, date range, or amount
  • Agency Spending — List all federal agencies ranked by budgetary authority
  • Award Details — Get complete details for a specific award by its unique ID
  • State Spending — Total federal spending breakdown by US state
  • Top Recipients — Identify the largest recipients of federal spending

No authentication required — USASpending.gov data is public.

Input Configuration

ParameterTypeDescription
modeString (required)What data to fetch. Options: awards, agencies, byAwardId, spendingByState, topRecipients
queryStringKeyword search for awards or recipients (e.g. infrastructure, cybersecurity)
awardTypeStringFilter by award type: contracts, grants, loans, direct_payments, other_financial_assistance
fromDateStringStart date filter (YYYY-MM-DD, e.g. 2023-01-01)
toDateStringEnd date filter (YYYY-MM-DD, e.g. 2023-12-31)
agencyNameStringFilter awards by awarding agency name
minAmountIntegerMinimum award amount in USD
maxAmountIntegerMaximum award amount in USD
awardIdStringUnique award ID for byAwardId mode
maxItemsIntegerMaximum records to return (1–1,000, default 25)

Award Types

TypeDescription
contractsBPA calls, purchase orders, delivery orders, definitive contracts
grantsBlock grants, formula grants, project grants, cooperative agreements
loansDirect loans and guaranteed/insured loans
direct_paymentsFormula-funded and unrestricted direct payments
other_financial_assistanceInsurance and other reimbursable assistance

Output Fields

Awards Mode

FieldTypeDescription
awardIdStringUnique award identifier (e.g. CONT_AWD_N000...)
recipientNameStringName of the recipient organization
awardTypeStringContract, grant, loan, etc.
startDateStringAward start date (YYYY-MM-DD)
endDateStringAward end date (YYYY-MM-DD)
awardAmountNumberTotal obligation in USD
awardingAgencyStringFederal agency that awarded the contract/grant
awardingSubAgencyStringSub-agency or office
fundingAgencyStringAgency providing the funding
descriptionStringAward description/statement of work
usaspendingUrlStringLink to the award on USASpending.gov

Agencies Mode

FieldTypeDescription
agencyNameStringFull agency name
agencyAbbreviationStringAgency abbreviation (e.g. DOD, NASA)
budgetaryResourcesNumberTotal budget authority in USD
percentOfTotalNumberPercentage of total federal budget
obligationsNumberTotal obligations in USD
usaspendingUrlStringAgency page on USASpending.gov

State Spending Mode

FieldTypeDescription
stateCodeStringTwo-letter state code (e.g. CA, TX)
stateNameStringFull state name
totalSpendingNumberTotal federal spending in the state (USD)
populationIntegerState population
perCapitaSpendingNumberFederal spending per capita (USD)

Example Use Cases

Find Infrastructure Contracts in 2023

{
"mode": "awards",
"query": "infrastructure",
"awardType": "contracts",
"fromDate": "2023-01-01",
"toDate": "2023-12-31",
"maxItems": 25
}

Get Top Federal Agencies by Budget

{
"mode": "agencies",
"maxItems": 20
}

Get Award Details by ID

{
"mode": "byAwardId",
"awardId": "CONT_AWD_NNM07AB03C_8000_-NONE-_-NONE-"
}

Federal Spending by State in 2023

{
"mode": "spendingByState",
"fromDate": "2023-01-01",
"toDate": "2023-12-31",
"awardType": "contracts"
}

Top Recipients for Defense Spending

{
"mode": "topRecipients",
"query": "defense",
"maxItems": 10
}

Data Source

All data comes from the USASpending.gov API v2 — the official US government transparency portal mandated by the Digital Accountability and Transparency Act (DATA Act). Data covers fiscal year 2000 to present.

Frequently Asked Questions

Q: Is this data official and reliable? A: Yes. USASpending.gov is the official federal spending transparency website maintained by the US Department of the Treasury. Data is submitted directly by federal agencies.

Q: How current is the data? A: Most award data is updated weekly. The platform covers spending from FY2000 to the present.

Q: What is an Award ID? A: Each federal award has a unique identifier. Contract IDs typically look like CONT_AWD_N00014... and grants like ASST_NON_.... You can find award IDs by searching in awards mode first.

Q: How large are federal awards? A: Awards range from small purchases of a few hundred dollars to multi-billion dollar defense contracts. Use minAmount and maxAmount to filter by size.

Q: Can I filter by congressional district or city? A: The spendingByState mode breaks down by US state. For more granular geographic data, use awards mode and filter by agency or keyword.

Q: Is authentication required? A: No. The USASpending.gov API is fully public and requires no API key or authentication.

Q: What's the difference between awards and subawards? A: This actor returns prime awards (direct federal awards). Subawards (awards made by prime recipients to other organizations) are not included.