USAspending Scraper: Federal Contracts, Grants & Awards avatar

USAspending Scraper: Federal Contracts, Grants & Awards

Pricing

from $1.20 / 1,000 awards

Go to Apify Store
USAspending Scraper: Federal Contracts, Grants & Awards

USAspending Scraper: Federal Contracts, Grants & Awards

Search U.S. federal contracts, grants, IDVs and other federal awards from the official USAspending.gov API: government spending by keyword, agency, recipient, NAICS, PSC, state and amount. Find recompete leads with contracts expiring soon. No API key.

Pricing

from $1.20 / 1,000 awards

Rating

0.0

(0)

Developer

Emilio Cisneros

Emilio Cisneros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Search U.S. federal contracts, IDVs, grants, loans and direct payments from USAspending.gov, the official source of federal spending data, and export clean rows to JSON, CSV or Excel. No API key, no login, no proxies.

How to use

  1. Add at least one filter: keywords, agency, recipient, NAICS/PSC code, state, date range or minimum amount.
  2. For recompete leads, set Expiring within days (e.g. 180). Turn on Include award details for competition data (number of offers, set-aside).
  3. Click Start and export the awards to CSV/Excel or your CRM.

What you can do

  • Find contracts by keyword, agency, sub-agency, recipient (name or UEI), NAICS, PSC, set-aside, state, amount and date.
  • Find recompete leads: contracts expiring within N days (e.g. 180), so BD teams can line up bids before the solicitation drops.
  • Research competitors: every award to a contractor, with amounts, agencies and periods of performance.
  • Optional award details: extent competed, number of offers received, set-aside type, contract pricing type, solicitation ID, parent IDV, the recipient's parent company, location, subaward totals, and the NAICS/PSC hierarchy.
  • Covers grants and other assistance too, with assistance listings (CFDA).

Why this Actor

This ActorTypical SAM.gov / USAspending scrapers
SourceOfficial USAspending API (no key)Often SAM.gov HTML or a key you must request
Recompete / expiring filterYesRarely
Competition data (offers, set-aside)Yes (optional)No
Contracts + IDVs + grants in one runYesUsually one type
Price$1.50 / 1,000 awards$2 to $3 / 1,000

Input examples

Cybersecurity contracts over $1M in FY2026

{ "keywords": ["cybersecurity"], "dateFrom": "2025-10-01", "dateTo": "2026-09-30", "minAmount": 1000000 }

DHS IT contracts expiring within 180 days (recompete pipeline)

{ "agencies": ["Department of Homeland Security"], "naicsCodes": ["541512", "541519"], "expiringWithinDays": 180, "includeDetails": true }

Everything awarded to a competitor since 2024

{ "recipients": ["Booz Allen Hamilton"], "awardTypes": ["contracts", "idvs"], "dateFrom": "2024-01-01", "maxItems": 2000 }

Broadband grants

{ "keywords": ["broadband"], "awardTypes": ["grants"] }

Output (one row per award)

{ "awardId": "FA862118F6251", "awardCategory": "Contract", "awardType": "DELIVERY ORDER", "recipientName": "LOCKHEED MARTIN CORPORATION", "recipientUei": "KDT2YLB34NT6",
"awardAmount": 666315748.84, "startDate": "2018-02-08", "endDate": "2027-01-31", "daysUntilEnd": 105, "awardingAgency": "Department of Defense",
"awardingSubAgency": "Department of the Air Force", "naicsCode": "336413", "pscCode": "J069", "popState": "FL", "description": "...",
"usaspendingUrl": "https://www.usaspending.gov/award/CONT_AWD_...", "extentCompeted": "FULL AND OPEN COMPETITION", "numberOfOffers": 4, "setAside": null, "pricingType": "FIRM FIXED PRICE", "recipientParentName": "LOCKHEED MARTIN CORP" }

Pricing (pay per event)

  • $0.0015 per award ($1.50 per 1,000).
  • $0.001 per award with details, only when Include award details is on.
  • Error records and scanned-but-filtered awards are free. Set a max cost per run and the Actor stops at your limit.

How much does it cost?

You only pay for results, never for compute time:

You getYou pay (Starter/Bronze plan price)
100 awards$0.15
1,000 awards$1.50
10,000 awards$15.00

Apify's free plan includes $5 of usage every month, and free-plan users pay half price on this Actor, so that covers about 6,666 awards at no cost. Paid plans get volume discounts (Silver -10%, Gold -20%). Set a maximum cost per run and the Actor stops cleanly at your limit.

Notes

  • The data is public U.S. government data. We omit executive-compensation names on purpose.
  • USAspending search supports action dates from 2007-10-01.
  • Use exact agency names as shown on usaspending.gov (e.g. "Department of Veterans Affairs").

Use cases

  • Government contractors (BD/capture teams): find recompete opportunities and see who holds the current contract.
  • Competitive intelligence: list every award a competitor has won, by agency and NAICS.
  • Market sizing: total federal spend by keyword, agency, NAICS or state.
  • Journalism and research: follow the money on grants and contracts.

Run it from code (API, Python, JavaScript)

curl -X POST "https://api.apify.com/v2/acts/api-co~usaspending-federal-contracts/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" -d '{"keywords": ["cybersecurity"], "minAmount": 1000000, "maxItems": 20}'
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("api-co/usaspending-federal-contracts").call(run_input={"keywords": ["cybersecurity"], "minAmount": 1000000, "maxItems": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('api-co/usaspending-federal-contracts').call({"keywords": ["cybersecurity"], "minAmount": 1000000, "maxItems": 20});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

It also works from AI agents through the Apify MCP server, and with Zapier, Make, n8n, Google Sheets and webhooks. You can schedule it in the Apify Console.

FAQ

Do I need a SAM.gov or USAspending API key? No. The Actor uses the public USAspending.gov API, which needs no key or login.

How fresh is the data? USAspending is updated daily from FPDS and agency submissions. Contract actions usually appear within a few days.

Can I find contracts that are about to expire? Yes. Set Expiring within days (for example 180) to build a recompete pipeline.

Does it include grants? Yes. Choose grants, loans, direct payments or IDVs in Award types.