SAM.gov & USAspending Federal Contracts & Grants Scraper
Pricing
from $4.00 / 1,000 normalized us federal awards
SAM.gov & USAspending Federal Contracts & Grants Scraper
Scrape US federal contracts, IDVs & grants from USAspending.gov with SAM.gov UEI profiles, set-asides (8(a), SDVOSB, HUBZone), NAICS/PSC/CFDA codes, IDV child-order rollups, ceilings, outlays & sub-awards. Built for GovCon lead gen & Apify MCP.
Pricing
from $4.00 / 1,000 normalized us federal awards
Rating
0.0
(0)
Developer
Shuma Fujino
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 hours ago
Last modified
Categories
Features
Share
US Federal Procurement & Contract Awards Normalizer (USAspending.gov + SAM.gov)
Extract clean, reconciled, integrity-verified US federal contract awards, IDVs (Indefinite Delivery Vehicles), and federal grants directly from official, zero-proxy US Treasury USAspending.gov v2 REST APIs enriched with SAM.gov UEI entity profiles, socioeconomic designations, NAICS/PSC/CFDA hierarchies, IDV child-order rollups, and prime-to-subcontractor graphs — built for GovCon business development, capture intelligence, defense & federal analytics, grant tracking, and AI Agents via Apify MCP.
Why This Actor Beats Naive USAspending & SAM.gov Scrapers
| Capability | Naive Flat Search / HTML Scrapers | US Federal Procurement & Contract Awards Normalizer |
|---|---|---|
| Data Source & Cost | Scrapes JS-heavy SAM.gov UI or brittle portals (WAF blocks, proxy costs, missing API keys) | Uses official zero-proxy US Treasury USAspending.gov v2 REST APIs with multi-endpoint graph enrichment |
| NAICS, PSC & CFDA Resolution | Flat spending_by_award returns NAICS Code: null and PSC Code: null on nearly all awards, and omits grant CFDA listings | Resolves full 6-digit NAICS (+ 2-digit sector), 4-char PSC, and CFDA / Assistance Listing codes & descriptions across contracts, IDVs, and grants |
| IDV Child-Order Rollups | Flat search emits $0.0 obligations and End Date: null on Indefinite Delivery Vehicles (IDVs) | Queries /api/v2/idvs/amounts/{id}/ to reconcile effective_obligation_usd, idv_child_award_count, grandchild totals, and IDV ceilings |
| SAM.gov UEI & Socioeconomic Profile | Missing corporate parent UEI, trailing-12M vendor volume, and SAM.gov set-aside/socioeconomic tags | Enriches /api/v2/recipient/{hash}/ with validated 12-char SAM.gov UEI, parent UEI, direct sam_gov_entity_url, and normalized flags (small_business, 8(a), woman_owned, veteran_owned, sdvosb, hubzone, minority_owned) |
| Financial & Ceiling Reconciliation | Returns a single raw Award Amount without outlays, ceilings, or grant matching funds | Reconciles total_obligation_usd, base_exercised_options_usd, award_ceiling_usd, remaining_ceiling_usd, total_outlay_usd, outlay_ratio_pct, and non_federal_funding_usd |
| FPDS Competition & Sub-Award Graph | Misses solicitation numbers, set-asides, offer counts, and subcontractor flows | Extracts solicitation_identifier (+ direct sam_gov_solicitation_url), extent_competed, set_aside_type, offers_received, contract_pricing_type, and top 5 sub-awards |
| Cryptic FPDS & PoP Cleanup | Leaves cryptic IGF::OT::IGF descriptions and null Place of Performance on IDVs | Rewrites cryptic FPDS placeholders into readable NAICS/PSC summaries and applies deterministic SAM.gov HQ location fallback (place_of_performance_source) with formatted congressional districts (KY-03) |
| Deterministic Integrity Verification | Silent schema drift, malformed UEIs, and broken financial math | Built-in per-award accounting & schema verifier (integrity_valid, integrity_errors) — 100% pass across 24 real federal contracts, IDVs & grants (vs. 13.8% for naive flat search) |
Verified Output Schema Example (HT940216C0001)
{"generated_unique_award_id": "CONT_AWD_HT940216C0001_9700_-NONE-_-NONE-","award_id": "HT940216C0001","award_category": "contract","award_type_code": "D","award_type_description": "DEFINITIVE CONTRACT","description": "IGF::OT::IGF","normalized_summary": "Direct Health and Medical Insurance Carriers — Medical - General Health Care — DEFINITIVE CONTRACT","is_cryptic_fpds_description": true,"recipient_name": "HUMANA GOVERNMENT BUSINESS INC","recipient_uei": "ZE6ZM6NKSV43","recipient_uei_valid": true,"naics_code": "524114","naics_description": "Direct Health and Medical Insurance Carriers","psc_code": "Q201","total_obligation_usd": 51269205263.03,"effective_obligation_usd": 51269205263.03,"base_exercised_options_usd": 52641654181.19,"award_ceiling_usd": 56620536577.19,"remaining_ceiling_usd": 5351331314.16,"solicitation_identifier": "HT940215R0002","extent_competed": "A","set_aside_type": "NONE","offers_received": 4,"awarding_agency_name": "Department of Defense","awarding_sub_agency_name": "Defense Health Agency","place_of_performance_country": "USA","place_of_performance_state": "KY","place_of_performance_congressional_district": "KY-03","place_of_performance_source": "award_pop","subaward_count": 151,"total_subaward_amount_usd": 1917332761.94,"usaspending_url": "https://www.usaspending.gov/award/CONT_AWD_HT940216C0001_9700_-NONE-_-NONE-","sam_gov_entity_url": "https://sam.gov/search/?index=ei&q=ZE6ZM6NKSV43","sam_gov_solicitation_url": "https://sam.gov/search/?index=opp&q=HT940215R0002","integrity_valid": true,"integrity_errors": []}
Input Configuration
awardCategories: Any combination of["contracts", "idvs", "grants"](default: all three, round-robin balanced).keywords: Optional search terms matched against award descriptions (e.g.,["cybersecurity", "cloud"]).naicsCodes/pscCodes: Optional 2–6 digit NAICS or 4-char PSC code filters (e.g.,["541512"],["D302"]).recipientSearchTerms: Optional vendor names or 12-char SAM.gov UEIs (e.g.,["BOOZ ALLEN", "ZE6ZM6NKSV43"]).awardIds: Optional exact PIID, FAIN, orgenerated_unique_award_idvalues for direct lookup.awardingAgencies/placeOfPerformanceStates: Filter by federal agency name or 2-letter US state code (VA,MD,DC,TX).startDate/endDate/minAwardAmount/maxItems: Date window, minimum obligated USD, and output cap (1–500).includeRecipientProfile/includeSubawards/strictValidation: Toggle SAM.gov recipient profile enrichment, top-5 sub-awards, and strict accounting-verifier filtering.
Transparent Pay-Per-Event (PPE) Pricing
apify-actor-start:$0.005per run startaward-normalized:$0.004per normalized federal award ($4.00 / 1,000 awards, including multi-endpoint award detail, IDV child-order rollup, SAM.gov UEI/socioeconomic profile, sub-awards, and accounting verification)- Zero proxy surcharge: Powered strictly by official public US Treasury
api.usaspending.govREST endpoints.
Local Standalone Test (No Apify Credentials Needed)
$python -m src.main --local-test --categories contracts,idvs,grants --max-items 3