Federal Contracts Scraper — USASpending.gov avatar

Federal Contracts Scraper — USASpending.gov

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Federal Contracts Scraper — USASpending.gov

Federal Contracts Scraper — USASpending.gov

Search $700B+ in awarded U.S. federal contracts from USASpending.gov. Filter by keyword, NAICS code, agency, date range, and contract amount. No API key required.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Daniel Dimitrov

Daniel Dimitrov

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

11 hours ago

Last modified

Share

Government Contract Intelligence — USASpending.gov

Search and extract awarded U.S. federal contracts from USASpending.gov — the official database of all U.S. government spending. Covering $700B+ in annual contract awards, this Actor returns structured contract data with zero setup: no API key, no registration, no browser.

What does Government Contract Intelligence do?

Government Contract Intelligence queries the official USASpending.gov Awards API and returns clean, structured data on awarded federal contracts. Filter by keyword, NAICS code, agency, date range, and contract value.

It extracts:

  • Recipient company name and unique identifier (UEI)
  • Contract award amount (total obligated dollars)
  • Awarding agency and sub-agency
  • Contract type (definitive contract, delivery order, purchase order, IDIQ)
  • Period of performance (start and end dates)
  • NAICS code and industry description
  • Contract description
  • Place of performance (city, state)
  • Direct link to the full contract on USASpending.gov

Why scrape USASpending.gov?

USASpending.gov tracks every dollar the U.S. federal government spends on contracts, grants, and loans — over $700 billion in procurement per year. This data is public, updated daily, and searchable by any keyword or industry.

Here's how you can use it:

  • Competitive intelligence — see exactly which companies win contracts in your space, how much, and with which agencies
  • BD targeting — identify prime contractors to subcontract with or partner with for future bids
  • Market sizing — understand how much the government spends on your NAICS code annually
  • Agency research — find which agencies are the biggest buyers in your industry
  • Win/loss analysis — track competitor contract activity over time
  • Procurement trends — identify growing or shrinking categories of federal spending

If you would like more inspiration, check out our industry pages.

How to use Government Contract Intelligence

  1. Set your filters — keywords, NAICS code, agency, date range, minimum contract value.
  2. Click Run — results appear in the Dataset tab in seconds.
  3. Export — download as JSON, CSV, or push to Google Sheets, Airtable, or your CRM.

No API key. No signup. No browser automation required.

Input parameters

FieldTypeRequiredDefaultDescription
keywordsstringSearch terms (e.g., "cybersecurity", "cloud migration", "IT services")
naicsCodestringNAICS industry code (e.g., "541512" for Computer Systems Design)
agencystringAwarding agency name (e.g., "Department of Defense")
startDatestringAward date from — YYYY-MM-DD (e.g., "2024-01-01")
endDatestringAward date to — YYYY-MM-DD (e.g., "2024-12-31")
minAmountinteger0Minimum contract value in USD (e.g., 100000 for $100K+)
maxResultsinteger100Max contracts to return (1–10,000)
includeIdvsbooleanfalseAlso include IDIQ, BPA, and GWAC vehicles
sortBystringAward AmountSort by: Award Amount, Start Date, End Date, or Recipient Name

Output / Results

Each awarded federal contract is returned as a JSON object:

{
"awardId": "W911QY24C0042",
"recipient": "LEIDOS INC.",
"recipientUei": "KUQJL77URLN5",
"amount": 47500000,
"startDate": "2024-03-01",
"endDate": "2027-02-28",
"awardingAgency": "DEPT OF DEFENSE",
"awardingSubAgency": "DEFENSE INFORMATION SYSTEMS AGENCY",
"contractType": "Definitive Contract",
"naicsCode": "541512",
"naicsDescription": "Computer Systems Design Services",
"description": "CYBERSECURITY OPERATIONS AND SUPPORT SERVICES",
"placeOfPerformance": "Fort Meade, MD, USA",
"usaspendingUrl": "https://www.usaspending.gov/award/W911QY24C0042",
"scrapedAt": "2025-04-11T10:30:00.000Z"
}

How much will it cost?

Apify gives you $5 free credits every month on the Apify Free plan. Since Government Contract Intelligence uses lightweight API calls with no browser overhead, you can extract approximately 5,000 contracts per month for free.

For ongoing monitoring and larger datasets, the $49/month Personal plan gets you up to 50,000 contracts/month. Power users can get 500,000+ results/month on the $499 Team plan.

Tips for best results

  • Narrow by NAICS code to get the most relevant results for your industry. Find your code at census.gov/naics.
  • Use a date range — set startDate to 1 year ago to focus on recent awards.
  • Set a minimum amount — use minAmount: 100000 to filter out micro-purchases and focus on meaningful contracts.
  • Sort by Award Amount (default) to see the biggest contracts first.
  • Schedule monthly runs to track new awards in your target agencies and NAICS codes.
  • Export to Google Sheets via Apify integrations to build a BD intelligence dashboard.

Yes. USASpending.gov is a U.S. government public website and all its spending data is public domain under federal law (31 U.S.C. § 6101). This Actor uses the official USASpending.gov API — the documented, intended method for programmatic access. No scraping, no login, no terms violations. We also recommend reading: is web scraping legal?

Webhook Integration

Pass an optional webhookUrl in the input to receive a POST notification when the run finishes:

{
"webhookUrl": "https://your-server.com/webhook"
}

Payload sent by Apify:

{
"eventType": "ACTOR.RUN.SUCCEEDED",
"eventData": { "actorId": "...", "actorRunId": "..." },
"resource": { "id": "...", "status": "SUCCEEDED", "defaultDatasetId": "..." }
}

The webhook fires on SUCCEEDED, FAILED, TIMED_OUT, and ABORTED events. Use it to trigger downstream pipelines, Zapier, Make.com, or any HTTP endpoint.

FAQ about Federal Contract Scraper

Do I need a SAM.gov API key? No. This Actor queries the public USASpending.gov Awards API, which is freely accessible without registration or authentication. No API key of any kind is required.

How current is the data? USASpending.gov publishes contract data reported by federal agencies. Data lags real-world awards by up to 30 days, depending on when agencies submit their records. Use startDate to filter for recent awards.

What is a NAICS code and how do I find mine? NAICS (North American Industry Classification System) codes classify businesses by industry. Find your code at census.gov/naics. For example, 541512 = Computer Systems Design, 237310 = Highway/Street Construction, 541330 = Engineering Services.

What contract types are included? Definitive contracts, delivery orders, purchase orders, and IDIQs (Indefinite Delivery Indefinite Quantity vehicles). Set includeIdvs: true to include parent IDIQ contracts, BPAs, and GWACs.

Can I find subcontracting opportunities? The USASpending.gov API returns prime contract awards. Use the recipient field to identify prime contractors in your space, then contact them directly to explore subcontracting opportunities.

What is the UEI and how is it used? UEI (Unique Entity Identifier) is the standard identifier for all federal contract recipients, replacing the old DUNS number in 2022. Use it to cross-reference recipients across multiple USASpending.gov searches or other government databases.

How do I find contracts expiring soon for renewal targeting? Filter by endDate within the next 6–12 months to find contracts approaching expiration — prime targets for recompete bids and subcontract conversations.

Can I filter by contract size? Yes. Use minAmount to set a floor (e.g., minAmount: 250000 for $250K+ contracts). There is no maxAmount parameter — filter in your downstream spreadsheet or database.

NAICS codes for common industries

IndustryNAICS Code
Computer Systems Design541512
IT Consulting541611
Cybersecurity541519
Construction — General236220
Construction — Highway237310
Engineering Services541330
Management Consulting541611
Healthcare IT334111
Cloud Computing518210

Other sleek_waveform Actors you might like

  • Contractor Lead Scraper — find licensed contractors from state licensing boards (CA, FL, TX, NY). Pair with federal contract data to identify construction contractors who are both state-licensed and government-active.
  • Google Maps B2B Lead Scraper — extract phone, website, and email for any US business from Google Maps. Cross-reference federal contract recipients with their Google Maps listing to find contact information.
  • SaaS Competitor Scraper — scrape tech stacks and pricing from SaaS competitor websites. Use alongside contract data to identify which SaaS companies are winning federal IT contracts.

Found this Actor useful? Leave a review on the Apify Store — it takes 30 seconds and helps other developers discover it.