SAM.gov & USAspending Federal Contracts & Awards Scraper avatar

SAM.gov & USAspending Federal Contracts & Awards Scraper

Pricing

from $1.05 / 1,000 results

Go to Apify Store
SAM.gov & USAspending Federal Contracts & Awards Scraper

SAM.gov & USAspending Federal Contracts & Awards Scraper

Extract US federal contract awards, prime contractors, recipient UEI/DUNS, awarding agencies, contract amounts, and executive compensation from USAspending.gov & SAM.gov with lead scoring and zero proxy fees.

Pricing

from $1.05 / 1,000 results

Rating

0.0

(0)

Developer

George Barnes

George Barnes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

SAM.gov & USAspending Federal Contracts & Opportunities Scraper ($1.50 / 1K)

Extract verified US federal prime contract awards, government contractors, recipient Unique Entity Identifiers (UEI), DUNS numbers, awarding agencies, obligation amounts, and executive compensation—with zero residential proxy fees and zero required API keys.

This Actor queries the official USAspending.gov REST API v2 (spending_by_award) and enriches each award via the deep award detail endpoint (/api/v2/awards/{id}/) in parallel, unlocking complete visibility into federal procurement without hitting SAM.gov's restrictive rate limits or paying expensive data brokerage subscriptions.


Why Choose This Federal Contracts Actor? (Comparison)

CapabilityThis ActorLegacy SAM.gov ScrapersManual USAspending CSV
Price per 1,000 Contract Leads$1.50 / 1K ($0.0015 / lead)$5.00 – $15.00 / 1K + ProxiesFree (Laborious manual export)
Live Unauthenticated API Access✅ Yes (0 proxy costs, 0 API keys)❌ Needs residential proxiesN/A (Web UI only)
Recipient UEI & Parent Corporate UEI✅ Enriched via /api/v2/awards/⚠️ Inconsistent or missing⚠️ Multiple table joins required
Executive Compensation & Officers✅ Included (Names + $ amounts)❌ Not available❌ Hidden in separate files
Contract Vehicle & Period of Performance✅ Full dates & contract type⚠️ Often truncated⚠️ Raw columns uncleaned
0–100 B2B Contractor Lead Score✅ Automated scoring & segments❌ No❌ No
Automated Segmentation Tags✅ MEGA_CONTRACTOR, VERIFIED_UEI, etc.❌ No❌ No
Dual Mode (Apify Cloud + CLI Fallback)✅ Run on Apify or standalone CLI❌ Apify platform only❌ No automation
Direct Web Permalinks✅ Instant USAspending award link❌ No❌ No

Transparent Pricing ($1.50 per 1,000 Awards)

Pay only for the federal contract records you extract ($0.0015 per record via Apify Pay-Per-Event pricing). No monthly subscriptions or minimum spend required:

WorkflowRecords ReturnedTotal Cost
Quick Test Run (verify schema & data quality)20 awards$0.03 (3 cents)
Daily Agency Contract Feed (e.g. DOD, HHS, DHS)~200 awards / day$0.30 / day (~$9.00 / mo)
Targeted Industry / NAICS Pull1,000 awards$1.50
Full Regional TAM Export10,000 awards$15.00

High-Intent B2B Playbooks (Copy-Paste Inputs)

1. Defense & Aerospace Mega-Contractors ($10M+ Prime Awards)

Filter for multi-million and multi-billion dollar definitive contracts awarded by the Department of Defense, Army, Navy, or Air Force. Ideal for government relations, defense subcontractors, and enterprise tooling:

{
"awardingAgency": "Department of Defense",
"awardTypeCodes": ["C", "D"],
"minAwardAmount": 10000000,
"sortBy": "Award Amount",
"sortOrder": "desc",
"enrichDetails": true,
"maxItems": 100
}

2. IT Modernization, Cloud & Cybersecurity Contracts

Discover prime contractors winning high-value federal IT, systems integration, and cybersecurity contract vehicles. Perfect for tech recruitment, B2B SaaS partnerships, and teaming:

{
"keywords": ["cybersecurity", "cloud", "artificial intelligence", "zero trust"],
"awardTypeCodes": ["A", "B", "C", "D"],
"minAwardAmount": 1000000,
"sortBy": "Award Amount",
"sortOrder": "desc",
"enrichDetails": true,
"maxItems": 50
}

3. Capital Region Federal Contractors (VA / MD / DC Headquarters)

Prospect government contractors headquartered in the DC metro area for executive search, local B2B services, commercial real estate, and financial advisory:

{
"recipientState": "VA",
"minAwardAmount": 250000,
"sortBy": "Award Amount",
"sortOrder": "desc",
"enrichDetails": true,
"maxItems": 100
}

4. Healthcare & Veterans Affairs Medical Procurement

Track prime vendors winning healthcare, pharmaceuticals, medical logistics, and health IT awards across the Department of Veterans Affairs and Department of Health and Human Services:

{
"awardingAgency": "Department of Veterans Affairs",
"awardTypeCodes": ["A", "B", "C", "D"],
"minAwardAmount": 500000,
"sortBy": "Award Amount",
"sortOrder": "desc",
"enrichDetails": true,
"maxItems": 50
}

Sample Output Record

{
"award_id": "HT940216C0001",
"recipient_name": "HUMANA GOVERNMENT BUSINESS INC",
"award_amount": 51269205263.03,
"awarding_agency": "Department of Defense",
"funding_agency": "Department of Defense",
"contract_description": "IGF::OT::IGF",
"recipient_uei": "ZE6ZM6NKSV43",
"recipient_duns": null,
"period_of_performance_start_date": "2016-08-01",
"period_of_performance_current_end_date": "2025-12-31",
"lead_score": 100,
"lead_segment": "MEGA_CONTRACTOR",
"extracted_at": "2026-11-04T00:22:11.983966+00:00",
"lead_segments": [
"MEGA_CONTRACTOR",
"VERIFIED_UEI",
"EXECUTIVE_OFFICERS_DISCLOSED",
"PRIME_DEFINITIVE_CONTRACT",
"DEFENSE_AEROSPACE"
],
"contract_award_type": "DEFINITIVE CONTRACT",
"awarding_sub_agency": "Defense Health Agency",
"funding_sub_agency": "Defense Health Agency",
"parent_recipient_name": "HUMANA GOVERNMENT BUSINESS INC",
"parent_recipient_uei": "ZE6ZM6NKSV43",
"recipient_address": "500 W MAIN STREET",
"recipient_city": "LOUISVILLE",
"recipient_state": "KY",
"recipient_zip": "40202",
"business_categories": [
"Category Business",
"Corporate Entity Not Tax Exempt",
"Not Designated a Small Business",
"Special Designations",
"U.S.-Owned Business"
],
"executive_officers": [
{
"name": "KAREN MORAN",
"compensation_usd": 1409718.0
},
{
"name": "KEVIN REGENHOLD",
"compensation_usd": 607266.0
}
],
"place_of_performance": {
"city": "LOUISVILLE",
"state": "KY",
"zip": "40201",
"country": "UNITED STATES"
},
"internal_id": 307885715,
"generated_internal_id": "CONT_AWD_HT940216C0001_9700_-NONE-_-NONE-",
"usaspending_permalink": "https://www.usaspending.gov/award/CONT_AWD_HT940216C0001_9700_-NONE-_-NONE-"
}

Integration & Automated Workflows

Python (Apify Client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
"keywords": ["cybersecurity"],
"minAwardAmount": 1000000,
"maxItems": 50,
}
run = client.actor("your-username/sam-gov-federal-contracts-opportunities").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"Contract: {item['award_id']} | Recipient: {item['recipient_name']} | Amount: ${item['award_amount']:,.2f}")

Clay.com / n8n / Make (Sync HTTP Webhook)

Run the Actor synchronously and retrieve enriched JSON items in a single HTTP request:

curl -X POST "https://api.apify.com/v2/acts/your-username~sam-gov-federal-contracts-opportunities/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"recipientState": "VA",
"minAwardAmount": 500000,
"maxItems": 25
}'

Standalone CLI Execution (Offline / Local Dev)

Run locally without any Apify cloud dependencies. Extracted data is saved automatically to storage/datasets/default/results.json:

# Clone the repository and install dependencies
git clone <repo-url>
cd sam-gov-federal-contracts-opportunities
pip install -r requirements.txt
# Run zero-config default extraction
python3 src/main.py
# Or pass custom input JSON file
ACTOR_INPUT_PATH=my_input.json python3 src/main.py