US Contracts Scraper
Pricing
from $2.10 / 1,000 results
US Contracts Scraper
Scrape federal contract awards from USAspending.gov. Search by keyword, agency, NAICS code, and value. Get award amounts, recipients, dates, and more.
Pricing
from $2.10 / 1,000 results
Rating
0.0
(0)
Developer
Artificially
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 hours ago
Last modified
Categories
Share
US Government Contracts Scraper - Enhanced
Scrape federal contract awards from USAspending.gov with contractor profiles, subawards, and contract analytics. Access billions of dollars in government procurement data.
What's new (September 2026)
This Actor was rebuilt. If you tried an earlier version, here's what changed:
- NAICS, PSC, set-aside, competition and contract value fields restored after USAspending API changes
- Contractor profiles now use each contractor's own contracts; large runs are about 3x faster, survive API outages and stop cleanly before the run timeout
- You only pay for complete results: failed, blocked and empty results are free
Use with AI agents (MCP)
This actor works as a tool for AI agents through Apify's MCP server at https://mcp.apify.com, so Claude, ChatGPT, Cursor and other MCP clients can look up US federal contract awards directly. For agents, set "compactOutput": true and keep maxContracts small (5-20) to get short, token-friendly results.
Quick setup (sign in with your Apify account when asked):
- Claude (claude.ai or Claude Desktop): Settings → Connectors → Add custom connector, and paste
https://mcp.apify.com?tools=artificially/us-contracts-scraper - Claude Code or Cursor via the Apify CLI (latest version,
apify upgrade):apify mcp install claude-code --tools artificially/us-contracts-scraper(usecursorinstead ofclaude-codefor Cursor) - Any MCP client (Cursor, VS Code, Windsurf):
{"mcpServers": {"apify": { "url": "https://mcp.apify.com?tools=artificially/us-contracts-scraper" }}}
Try asking:
- "Which companies won the largest US federal cybersecurity contracts last year?"
- "Find federal contracts awarded to Palantir with amounts, agencies and dates."
Features
Core Search
- Keyword Search: Find contracts by description or title
- Agency Filter: Filter by federal agency
- NAICS Codes: Search by industry classification
- Value Range: Filter by contract amount
- Date Range: Specify award period
Set-Aside Filters (NEW)
- Small Business: Filter by SBA small business set-asides
- 8(a) Program: Find 8(a) certified contractor awards
- HUBZone: HUBZone certified businesses
- WOSB: Women-Owned Small Business
- SDVOSB: Service-Disabled Veteran-Owned
- ISBEE: Indian Small Business Economic Enterprise
Contractor Enrichment (NEW)
- Contractor Profile: Detailed business info, CAGE code, DUNS
- Business Types: Small business certifications and categories
- Location Details: Full address with congressional district
- Contract History: See contractor's other federal awards
Contract Analytics (NEW)
- Subawards Tracking: View subcontractor awards under prime contracts
- Transaction History: All modifications and funding actions
- Contract Health: Duration analysis and modification tracking
- Related Contracts: Find other awards to same contractor
Use Cases
- Government contracting business intelligence
- Small business set-aside opportunity tracking
- Contractor vetting and due diligence
- Subcontracting opportunity discovery
- Agency spending pattern analysis
- Build procurement databases for analysis
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
searchQuery | string | No | - | Keyword search in contract descriptions (min. 3 characters) |
agency | string | No | - | Awarding top-tier agency name, exactly as on USAspending.gov |
naicsCodes | array | No | - | NAICS industry codes |
pscCodes | array | No | - | Product and Service Codes |
maxContracts | number | No | 100 | Maximum contracts (1-1000) |
minValue | number | No | - | Minimum award amount (USD) |
maxValue | number | No | - | Maximum award amount (USD) |
dateFrom | string | No | 2020-01-01 | Contracts with activity on or after this date (earliest 2007-10-01) |
dateTo | string | No | Today | Contracts with activity on or before this date |
setAsideType | string | No | - | Small business set-aside filter (SBA, 8A, HUB, WOSB, SDVOSB, ISBEE) |
includeContractorProfile | boolean | No | true | Contractor business types, certifications, contract count, top agencies/NAICS, recent contracts |
includeSubawards | boolean | No | false | Fetch subcontractor awards (largest first) |
maxSubawards | number | No | 10 | Subawards per contract |
includeTransactionHistory | boolean | No | false | Up to 100 most recent modifications per contract |
includeRelatedContracts | boolean | No | false | Largest other contracts awarded to the same contractor |
maxRelatedContracts | number | No | 5 | Related contracts per contract |
compactOutput | boolean | No | false | Slim items with only key fields (see below); recommended for AI agents |
Results are sorted by award amount, largest first.
Example Input
{"searchQuery": "cybersecurity","agency": "Department of Defense","setAsideType": "SBA","maxContracts": 50,"includeContractorProfile": true,"includeSubawards": true,"dateFrom": "2023-01-01"}
Output
Each contract produces one dataset item (abbreviated):
{"awardId": "CONT_AWD_36C10B23F0346_3600_47QSWA18D008Q_4732","piid": "36C10B23F0346","title": "VA CYBERSECURITY OPERATIONS CENTER NEXT GENERATION II (CSOC NG II) SUPPORT","description": "VA CYBERSECURITY OPERATIONS CENTER NEXT GENERATION II (CSOC NG II) SUPPORT","awardingAgency": "Department of Veterans Affairs","awardingSubAgency": "Department of Veterans Affairs","awardingOffice": "TECHNOLOGY ACQUISITION CENTER NJ (36C10B)","fundingAgency": "Department of Veterans Affairs","recipientName": "MAVERIS LLC","recipientUei": "NEKWPBM5VT33","recipientLocation": { "addressLine1": "8180 GREENSBORO DR STE 1000", "city": "MCLEAN", "stateCode": "VA", "zip": "22102", "countryCode": "USA", "congressionalDistrict": "11" },"awardAmount": 217817200.48,"obligatedAmount": 217817200.48,"potentialValue": 331158125.88,"baseAndExercisedOptionsValue": 217817200.48,"startDate": "2023-09-29","endDate": "2027-09-28","potentialEndDate": "2028-12-28","signedDate": "2023-09-28","naicsCode": "541511","naicsDescription": "CUSTOM COMPUTER PROGRAMMING SERVICES","pscCode": "R499","pscDescription": "SUPPORT- PROFESSIONAL: OTHER","contractType": "DELIVERY ORDER","pricingType": "FIRM FIXED PRICE","parentAwardId": "CONT_IDV_47QSWA18D008Q_4732","setAsideType": "SERVICE DISABLED VETERAN OWNED SMALL BUSINESS SET-ASIDE","setAsideCode": "SDVOSBC","competitionType": "FULL AND OPEN COMPETITION","numberOfOffers": 3,"isCompetitive": true,"subawardCount": 25,"totalSubawardAmount": 76546267.95,"placeOfPerformance": { "city": "MARTINSBURG", "stateCode": "WV", "zip": "25401" },"contractDurationDays": 1460,"contractHealth": "on-track","contractorProfile": {"name": "MAVERIS LLC","uei": "NEKWPBM5VT33","duns": "079819668","businessTypes": ["category_business", "limited_liability_corporation", "other_than_small_business"],"isSmallBusiness": false,"totalContractsWon": 7,"totalContractValue": 72469485.62,"topAgencies": [{ "name": "Department of Veterans Affairs", "value": 349049380.6 }],"topNaicsCodes": [{ "code": "541511", "value": 262873842.12 }],"recentContracts": [{ "awardId": "CONT_AWD_...", "title": "...", "agency": "...", "amount": 13151106.84, "startDate": "2024-11-06", "url": "..." }]},"subawards": [{ "subawardNumber": "PRI-0004-S11", "recipientName": "VCH PARTNERS LLC", "amount": 20130362.28, "description": "PROFESSIONAL SERVICES" }],"transactionHistory": [{ "modificationNumber": "P00012", "actionDate": "2026-08-20", "actionType": "C", "federalActionObligation": 1234567, "description": "..." }],"relatedContracts": [{ "awardId": "CONT_AWD_...", "title": "...", "amount": 49813661.38 }],"url": "https://www.usaspending.gov/award/CONT_AWD_36C10B23F0346_3600_47QSWA18D008Q_4732","scrapedAt": "2026-09-23T09:02:15.368Z"}
contractHealth is one of completed, modified-heavily, early-stage, on-track. contractorProfile.totalContractsWon counts all contract awards since 2007-10-01; totalContractValue is USAspending's trailing 12-month total. Fields not reported by USAspending are null.
A SUMMARY record (counts of saved and skipped contracts) and a FAILED_REQUESTS record (API lookups that failed after retries) are written to the run's key-value store.
Compact output
With "compactOutput": true each item keeps only the key decision fields: awardId, piid, title, awardingAgency, awardingSubAgency, recipientName, recipientUei, recipientState, awardAmount, potentialValue, startDate, endDate, potentialEndDate, naicsCode, naicsDescription, pscCode, awardType, setAsideType, competitionType, numberOfOffers, placeOfPerformanceState, subawardCount, totalSubawardAmount, transactionCount, relatedContractsCount, contractorTotalContractsWon, contractorIsSmallBusiness, contractHealth, url, scrapedAt. Descriptions, full contractor profiles, subaward lists, transaction history and related contract lists are left out (counts are kept).
Cost
This actor uses pay-per-result pricing; see the Pricing tab for current rates.
You only pay for valid results: contracts whose details could not be loaded are skipped and not charged. The run stops cleanly when your maximum cost per run is reached.
No API key required - Uses USAspending.gov's public API.
Tips
-
Set-aside codes:
SBA- Small Business Set-Aside (total and partial)8A- 8(a) Business Development (competitive and sole source)HUB- HUBZone (set-aside and sole source)WOSB- Women-Owned Small Business (incl. EDWOSB)SDVOSB- Service-Disabled Veteran-Owned (set-aside and sole source)ISBEE- Indian Small Business Economic Enterprise
-
Contractor enrichment: Enable
includeContractorProfileto get business types and certifications -
Subcontracting: Large prime contracts often have significant subcontracting - enable
includeSubawardsto discover these opportunities -
Contract tracking: Use
includeTransactionHistoryto see all modifications and funding changes
Data Source
Data from USAspending.gov, the official source for federal spending data.
Support
- Built by: Artificially
- Issues: Report bugs or request features via Apify Console
Feedback
If this Actor saved you time, a short review on its Store page helps a lot and helps other people find it. Found a problem or missing a field? Open an issue on the Issues tab and we'll look at it quickly.
Related actors
- SAM.gov Contract Opportunities Scraper - open US federal bids: solicitations, sources sought and presolicitations with deadlines and contacts
- EU Tenders Scraper - EU public procurement tenders and contract awards from TED Europa