Federal Contracts Scraper: USAspending & SAM.gov Data
Pricing
from $1.30 / 1,000 record saveds
Federal Contracts Scraper: USAspending & SAM.gov Data
Search US federal contracts, task orders and grants from official USAspending.gov data by keyword, NAICS, agency, state and amount. Find contracts ending soon, add competition details, and get open SAM.gov bids.
Pricing
from $1.30 / 1,000 record saveds
Rating
0.0
(0)
Developer
TechLion Dev
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
🏛️ What is Federal Contracts Scraper?
Federal Contracts Scraper searches US federal government contracts, umbrella contracts and grants from USAspending.gov and optional open bids from SAM.gov, and turns them into a clean spreadsheet. USAspending.gov is the official public source of federal spending data run by the US Treasury, so you don't need an account or API (application programming interface) key for award data. You can also add open bid opportunities from SAM.gov (the System for Award Management) with your own free SAM.gov key.
It is for government-contracting teams, business-development staff and researchers who need a USAspending or SAM.gov feed of federal contracts and grants.
- Find who wins work in your field: search by keyword, NAICS (North American Industry Classification System) code, agency, state or set-aside.
- Spot contracts up for renewal: list awards ending in the next 6 or 12 months, so you can prepare for the follow-on bid.
- Build lead lists: companies that just won federal money, with their address, parent company and small-business status.
- Study the competition: how each award was competed, how many offers came in, the contract vehicle and the full potential value.
- Get a daily feed: schedule it and save only awards that are new or changed since the last run.
What data does it extract?
| 📄 Award number, description and award type | 💵 Amount obligated and amount paid out so far |
| 🏢 Recipient name, UEI (Unique Entity ID) and address | 🏛️ Awarding agency, sub-agency and funding agency |
| 🏷️ NAICS industry and PSC (Product and Service Code) | 📅 Start date, end date, length and days left |
| 📍 Place of performance | 🔗 Link to the official record |
| ➕ Competition type, number of offers and set-aside (add-on) | ➕ Potential value, potential end date and contract vehicle (add-on) |
| ➕ Parent company, business types and small-business flag (add-on) | ➕ Contracting office, subawards and top executive pay (add-on) |
| 📣 SAM.gov notices: type, deadline, days left and contacts (optional) | 🔁 New or updated flag for scheduled runs |
Why this feed?
- Official data and no login. It reads the government's own public data services with plain web requests, so runs are fast and cheap.
- Renewal radar: the free Ending before filter finds contracts that end soon. Few other tools offer this.
- Deep award details for each contract on request: competition, offers, pricing type, vehicle, potential value and parent company.
- Free filters: every filter is free, and records you filter out are never charged.
- New and changed records only for daily alerts, with a
changeTypecolumn. - One table for everything: awards and SAM.gov notices have the same columns.
⬇️ Input
The fastest start is a keyword and a date window:
{"keywords": ["cybersecurity"],"awardCategories": ["contracts"],"dateFrom": "30 days","maxRecords": 50}
A renewal search for small-business IT work in Virginia, with full award details:
{"naicsCodes": ["541512", "541519"],"states": ["VA"],"awardCategories": ["contracts", "idvs"],"dateFrom": "2 years","endingBefore": "270 days","minAmount": 250000,"includeAwardDetails": true,"maxRecords": 500}
Main options:
- Keywords, Award types (contracts, indefinite delivery vehicles such as IDIQs (indefinite delivery, indefinite quantity contracts) and GSA (General Services Administration) schedules, and grants), From and To dates and what the dates refer to (any activity, new awards only, or last updated).
- Filters (free): words to skip, NAICS codes, PSC codes, agencies, recipient names, states, set-aside codes, minimum and maximum amount, Ending before and sort order.
- Award details add-on ($): one extra request per award for the deeper fields.
- New record tracking: save only new records, and optionally changed ones too.
- SAM.gov: your key, notice types, a limit and contacts.
⬆️ Output
One row per award or SAM.gov notice. The Overview view shows the essentials, Competition and renewals shows the add-on fields and end dates, and SAM.gov opportunities shows the open notices. Download as Excel, CSV (comma-separated values), JSON (JavaScript Object Notation), XML or HTML.
Table view
Sample rows from a real run (cybersecurity contracts from the last 30 days, with award details):
| Recipient | Obligated (USD) | Agency | Ends | Days left | Competition | Offers | Small biz | Vehicle |
|---|---|---|---|---|---|---|---|---|
| TANAQ MANAGEMENT SERVICES L… | 3,574,046.20 | Department of Health and Huma… | 2028-03-25 | 498 | Not Available For Competition | 1 | yes | |
| AUGUST SCHELL ENTERPRISES,… | 28,228.66 | Social Security Administration | 2027-11-04 | 356 | Full And Open Competition After E… | 10 | yes | GWAC |
| MANTECH ADVANCED SYSTEMS IN… | 4,288,808.84 | Consumer Financial Protection… | 2027-05-05 | 173 | Competed Under SAP | 6 | no | BPA |
| IRON VINE SECURITY LLC | 36,506,237.86 | Department of Education | 2027-03-15 | 122 | Full And Open Competition | 11 | no | BPA |
| ELECTROSOFT SERVICES, LLC | 4,131,597.33 | Department of Health and Huma… | 2027-09-29 | 320 | Full And Open Competition | 7 | yes | FSS |
| V3GATE, LLC | 8,183,939.48 | Department of Energy | 2027-09-29 | 320 | Not Competed Under SAP | 1 | yes | BPA |
| LEIDOS, INC. | 21,354,014.20 | Department of Homeland Securi… | 2027-01-26 | 74 | Full And Open Competition | 1 | no | GWAC |
| IRON VINE SECURITY LLC | 104,028,980.33 | Department of Commerce | 2027-03-27 | 134 | Full And Open Competition | 14 | no | FSS |
JSON example
One award from the same run, shortened:
{"recordType": "award","source": "USAspending.gov","awardCategory": "contract","awardId": "9531CB26F0127","title": "MANTECH - CYBERSECURITY SUPPORT SVCS BPA - RE-ISSUE BPA CALL 25F0127 (BFS TRANSF.) AS 26F0127 TO CORRECT PRISM ERROR & TO RE-OBLIGATE REMAINING FUNDS TO NEW CALL. CYBERSEC. SUPPORT SVCS - (CYBEROPS) - TRANSFERRED BFS CONTRACT NUMBER 20343024F0000","awardType": "BPA CALL","amount": 4288808.84,"totalOutlays": 2186377.18,"recipientName": "MANTECH ADVANCED SYSTEMS INTERNATIONAL, INC.","recipientUei": "JY2BDT2K58Z6","recipientAddress": "2251 CORPORATE PARK DR","recipientCity": "HERNDON","recipientState": "VA","recipientZip": "20171","recipientCountry": "USA","agency": "Consumer Financial Protection Bureau","subAgency": "Consumer Financial Protection Bureau","office": null,"fundingAgency": "Consumer Financial Protection Bureau","fundingSubAgency": "Consumer Financial Protection Bureau","naicsCode": "541519","naicsDescription": "OTHER COMPUTER RELATED SERVICES","pscCode": "DJ01","pscDescription": "IT AND TELECOM - SECURITY AND COMPLIANCE SUPPORT SERVICES (LABOR)","assistanceListings": [],"startDate": "2026-02-18","endDate": "2027-05-05","baseObligationDate": "2026-02-18","lastModifiedDate": "2026-11-04T12:17:50","durationDays": 441,"daysUntilEnd": 173,"placeOfPerformanceCity": "HERNDON","placeOfPerformanceState": "VA","placeOfPerformanceZip": "20171","placeOfPerformanceCountry": "USA","url": "https://www.usaspending.gov/award/CONT_AWD_9531CB26F0127_955F_9531CB25A0014_955F","noticeId": null,"solicitationNumber": null,"noticeType": null,"postedDate": null,"responseDeadline": null,"setAside": null,"isActive": null,"daysUntilDeadline": null,"contacts": [],"changeType": null,"potentialValue": 13324729.75,"potentialEndDate": "2027-10-14","daysUntilPotentialEnd": 335,"awardingOffice": "CONSUMER FINANCE PROTECTION BUREAU","parentAwardId": "9531CB25A0014","parentAwardType": "BPA","parentAwardAgency": "Consumer Financial Protection Bureau","extentCompeted": "Competed Under SAP","numberOfOffers": 6,"setAsideType": "No Set Aside Used.","contractPricingType": "Time And Materials","solicitationId": null,"isCommercialItem": true,"subawardCount": 0,"subawardAmount": null,"recipientParentName": "Mantech International Corporation","recipientParentUei": "KZA5CX3J8KE8","recipientBusinessTypes": ["Category Business","Corporate Entity Not Tax Exempt","Not Designated a Small Business"],"isSmallBusiness": false,"recipientCongressionalDistrict": "VA-11","placeOfPerformanceCounty": "FAIRFAX","topExecutives": [{"name": "Matthew A Tait","compensation": 2690395},{"name": "Joseph A Cubba","compensation": 1223014},{"name": "Michael D Ruppert","compensation": 2557282},{"name": "David P Hathaway","compensation": 1099164}],"naicsSector": "Professional, Scientific, and Technical Services","pscCategory": "IT And Telecom - Information Technology And Telecommunications","assistanceProgram": null,"fullDescription": "MANTECH - CYBERSECURITY SUPPORT SVCS BPA - RE-ISSUE BPA CALL 25F0127 (BFS TRANSF.) AS 26F0127 TO CORRECT PRISM ERROR & TO RE-OBLIGATE REMAINING FUNDS TO NEW CAL...","scrapedAt": "2026-11-13T00:46:10.722Z"}
RUN_SUMMARY in the run's key-value store shows records per award type, SAM.gov status, records skipped by filters or seen before, and any errors.
▶️ How to use it
- Click Try for free.
- Type a keyword or pick an industry code, and set the date window.
- Add any free filters, and turn on Add full award details if you want competition and vehicle data.
- Click Start. The default search finishes in a few seconds.
- Download the data, or schedule the run with Only save records not seen in earlier runs.
Adding SAM.gov opportunities (optional)
- Sign in to SAM.gov, open Account Details and request a public API key.
- Turn on Also get open bid opportunities from SAM.gov and paste the key. It is stored encrypted and sent only to SAM.gov.
- Your keywords are matched against notice titles, and your NAICS codes, states and dates are reused. SAM.gov allows at most one year of posting dates.
If the key is wrong or not active yet, the award data is still saved and the run summary explains what went wrong.
💲 How much does it cost?
Pay-per-event pricing: you pay for the records you get, not for computer time.
| Event | Price (free plan) | When it is charged |
|---|---|---|
| Actor start | $0.00005 | Once per run |
| Record saved | $0.002 ($2 per 1,000) | For each award or SAM.gov notice saved, after your filters |
| Add-on: Full award details | $0.002 | For each saved award whose details were loaded |
Paid Apify plans get lower prices automatically. The Pricing tab lists every plan.
Worked examples
- Default search, 50 records: $0.00005 + 50 × $0.002 = about $0.10.
- 1,000 awards: $2.00, or $4.00 with full award details. Comparable federal data tools charge $2.50 to $3 per 1,000 records plus a start fee, or $12 per 1,000.
- Daily alert, about 40 new awards a day: 30 runs × $0.00005 + 1,200 × $0.002 = about $2.40 per month.
Filtered-out records and records seen before are never charged.
🎯 Use cases
- Capture and bid teams: follow-on opportunities from contracts ending soon, and who holds them today.
- Business development: new prime contract winners who may need subcontractors, partners or suppliers.
- Competitive intelligence: a competitor's wins, vehicles, pricing types and number of competing offers.
- Market research: spending by agency, industry, state and set-aside.
- Journalism and policy: track grants and contracts for a topic, program or district.
🔌 Integrations
- Schedules with new-record tracking for daily or weekly feeds.
- Webhooks to notify your system when a run finishes.
- Ready-made integrations for Google Sheets, Slack, Zapier, Make, Airtable and more.
- API and client libraries for Python and JavaScript (see the API tab).
- AI agents through the Apify MCP (Model Context Protocol) server.
💻 Use it from code (API)
You can start this Actor and read its results from your own code with the Apify API. Replace YOUR_APIFY_TOKEN with the API token from the Settings > API & Integrations page in Apify Console.
Python (install with pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("techliondev/federal-contracts-feed").call(run_input={"keywords": ["cybersecurity"],"awardCategories": ["contracts"],"dateFrom": "30 days","maxRecords": 50})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript / Node.js (install with npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('techliondev/federal-contracts-feed').call({"keywords": ["cybersecurity"],"awardCategories": ["contracts"],"dateFrom": "30 days","maxRecords": 50});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Any language (HTTP): send a POST request with the input as JSON to the run-sync-get-dataset-items endpoint for techliondev~federal-contracts-feed and you get the records back in the response. The API tab on this page shows the exact address and more examples.
❓ FAQ
Is this data public?
Yes. USAspending.gov and SAM.gov publish this data for public use. This tool reads it through their official public data services.
How fresh is it?
USAspending is updated daily from agency reports, but agencies can report a contract several days after signing it. SAM.gov notices appear as soon as they are posted.
What does "Any activity in the range" mean?
It includes older contracts that had a payment or change in your dates. Choose New awards only to see only awards that started in your range.
How does "Ending before" work?
It keeps awards whose current end date is between today and your date. For umbrella contracts, the end date is the last date to place orders. With award details on, potentialEndDate also shows the end date if all options are used.
Why are some add-on fields empty?
Agencies do not report every field for every award. For example, the number of offers is often missing for orders under umbrella contracts, and executive pay is only reported for some companies.
What do the competition values mean?
They are the government's own labels. For example, "Competed under SAP" means the award used simplified acquisition procedures (the faster process for smaller purchases), and "Full and open competition after exclusion of sources" usually means a small-business set-aside. The vehicle types are FSS (Federal Supply Schedule), GWAC (Government-Wide Acquisition Contract), BPA (Blanket Purchase Agreement) and IDC (Indefinite Delivery Contract).
Agency names don't match?
Use the official full name, for example Department of Defense or Department of Health and Human Services.
Is this a USAspending API alternative?
It uses the official USAspending.gov data behind the scenes, but saves you from learning its API (application programming interface): you fill in a simple form, and you get flat spreadsheet columns instead of nested data. You can still call it from code through the Apify API, as shown above.
Can I find government contracts for my small business?
Yes. Filter by your NAICS code, your state and a set-aside type (such as small business or women-owned), and set Ending before to see contracts that will come up for a new bid soon.
Your feedback
Found a bug or have an idea? Open an issue on the Issues tab with your input and the run link.