US Federal Contracts & Grants Extractor (SAM.gov & Grants) avatar

US Federal Contracts & Grants Extractor (SAM.gov & Grants)

Pricing

from $3.00 / 1,000 opportunity extracteds

Go to Apify Store
US Federal Contracts & Grants Extractor (SAM.gov & Grants)

US Federal Contracts & Grants Extractor (SAM.gov & Grants)

Extract US federal contract awards, open federal grant opportunities, and live SAM.gov solicitations into one clean schema. Works out-of-the-box with ZERO API keys on USAspending.gov & Grants.gov, plus optional SAM.gov v2 support.

Pricing

from $3.00 / 1,000 opportunity extracteds

Rating

0.0

(0)

Developer

EdenWood

EdenWood

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Features

Limited permissions

Share

US Federal Contracts & Grants Extractor (USAspending, Grants.gov & SAM.gov)

Extract structured US federal contract awards, open federal grant opportunities, and live SAM.gov solicitations into one clean, unified JSON/CSV dataset.

Built for GovCon business development teams, proposal agencies, grant writers, compliance researchers, n8n/Make pipelines, and AI agents (MCP).


Why Choose This GovCon & Grants Extractor?

  • Works Out-of-the-Box with ZERO API Keys: Queries official USAspending.gov (federal contract & grant awards) and Grants.gov (open & forecasted grant opportunities) immediately with zero signup.
  • Optional SAM.gov v2 Solicitations: Pass your free samApiKey (encrypted Apify secret, automatically scrubbed from all logs) with built-in request capping (maxSamRequests) and 365-day window clamping to protect your SAM.gov daily quota.
  • Clean Normalized Schema + Zero Duplicate Billing: Unifies notice numbers, agencies, award dollar amounts (awardAmountUsd), NAICS & CFDA codes, posted/close dates (YYYY-MM-DD), and direct .gov links — deduplicated across overlapping keywords before Pay-Per-Event charging.

Pay-Per-Event Pricing

  • opportunity-extracted: $3.00 / 1,000 records ($0.003 per record extracted)
  • apify-actor-start: $0.00005 platform startup fee

Input Example (Zero API Keys Required)

{
"sources": ["usaspending", "grants_gov"],
"usaSpendingAwardCategory": "contracts",
"keywords": ["cybersecurity", "artificial intelligence"],
"naicsCodes": ["541512"],
"agencyFilter": "",
"minAwardAmountUsd": 100000,
"maxResultsPerSource": 50,
"maxTotalResults": 100
}

Optional: Add "sam_gov" to sources and supply your free samApiKey from SAM.gov Account Details to pull live federal RFP/RFQ solicitations alongside USAspending & Grants.gov.


Output Example

{
"opportunityId": "usaspending:CONT_AWD_36C10B24F0281",
"source": "usaspending",
"recordType": "contract_award",
"noticeNumber": "36C10B24F0281",
"title": "CYBERSECURITY TRANSFORMATION PROGRAM",
"agency": "Department of Veterans Affairs",
"recipientName": "EXAMPLE SYSTEMS INC",
"awardAmountUsd": 104626598.48,
"postedDate": "2026-10-15",
"closeDate": "2027-10-14",
"status": "awarded",
"naicsCode": "541512",
"cfdaCodes": [],
"description": "CYBERSECURITY TRANSFORMATION PROGRAM...",
"url": "https://www.usaspending.gov/award/CONT_AWD_36C10B24F0281"
}

Use via Python API or MCP AI Agents

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("edenwood.ai/federal-contracts-grants").call(run_input={
"sources": ["usaspending", "grants_gov"],
"keywords": ["cybersecurity"],
"maxTotalResults": 50
})
records = list(client.dataset(run["defaultDatasetId"]).iterate_items())

FAQ

  • Do I need a SAM.gov API key to use this Actor? No — usaspending and grants_gov work immediately with zero API keys. samApiKey is only needed if you also select sam_gov.
  • Is my samApiKey safe? Yes — it is marked isSecret: true in Apify's encrypted input storage and automatically redacted from all logs and error messages.
  • Why are contracts and grants separated on USAspending? USAspending's official API requires separate award-type code sets for contracts (A–D) vs. grants (02–05); use usaSpendingAwardCategory to switch cleanly without HTTP 422 errors.