Federal Contracts Spending Scraper - USAspending.gov avatar

Federal Contracts Spending Scraper - USAspending.gov

Pricing

from $3.40 / 1,000 award records

Go to Apify Store
Federal Contracts Spending Scraper - USAspending.gov

Federal Contracts Spending Scraper - USAspending.gov

Federal award and contract spending data: awards, transactions, subawards, funding, recipient profiles and spending breakdowns by agency, industry, product/service code, state and fiscal year. Export to CSV, Excel, JSON.

Pricing

from $3.40 / 1,000 award records

Rating

0.0

(0)

Developer

PunkRecordsData

PunkRecordsData

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

PunkRecordsData

๐Ÿ›๏ธ Federal Contracts Spending Scraper: USAspending.gov Awards & Recipients, PunkRecordsData

๐Ÿš€ Every federal contract a company holds, plus its transaction history, subcontractors, funding sources and full spending profile, in one run. Straight from USAspending.gov, the U.S. government's own official spending API. No login, no API key.

Scrape U.S. federal contract data straight from api.usaspending.gov, the government's own public spending transparency API: every contract awarded to a company, every modification and transaction on that contract, every subcontractor paid out of it, the federal accounts and agencies funding it, the recipient's full registration profile, and its total federal spending broken down by agency, industry (NAICS), product/service code (PSC), state and fiscal year. No login, no API key, no scraping SAM.gov's rendered pages, just the government's own structured data.

Built for the Apify platform: schedule a monthly run to track a competitor's new awards, screen a contractor's federal footprint before a partnership, or feed spending time series straight into a business-intelligence dashboard.

๐Ÿ“‹ What the Federal Contracts Spending Scraper does

Give it a company name (like "Lockheed Martin") and it returns one row per matching federal contract: award ID, amount, awarding agency, dates, and description. Turn on Transaction history for every modification on that contract, Subawards for every subcontractor paid out of it, and Federal account funding for the government accounts and agencies actually funding it. Turn on Recipient profile for the company's federal registration record (UEI, DUNS, business types, total federal transaction volume), and any of the four spending breakdowns (by agency, industry, product/service code, or state) plus spending by fiscal year for the company's full federal footprint, computed once per company and never re-billed twice for the same underlying fact.

๐Ÿ’ก Why it matters: most federal-contract scrapers on the market return a flat list of awards and stop there. This one also resolves the transaction, subcontractor and funding detail behind each contract, and profiles the recipient's entire federal business across every agency and industry it works with, ten distinct real data types from the government's own numbers, not a single flat export.

๐Ÿ“Š Output

Real sample fields from a verified run against "Lockheed Martin", one of two record types identified by recordType.

award-record (primary, one row per matched contract):

{
"awardId": "N0001917C0001",
"recipientName": "LOCKHEED MARTIN CORPORATION",
"awardAmount": 35135514910.2,
"awardingAgency": "Department of Defense",
"startDate": "2017-11-17",
"endDate": "2031-03-31",
"transactions": [{ "actionDate": "2026-04-15", "type": "DEFINITIVE CONTRACT", "modificationNumber": "P00112", "description": "UPDATE EXHIBIT M" }],
"subawards": [{ "subawardNumber": "6574071033", "recipientName": "NTS TECHNICAL SYSTEMS, LLC", "amount": 64262 }],
"funding": [{ "federalAccount": "057-3600", "accountTitle": "Research, Development, Test, and Evaluation, Air Force", "objectClassName": "Research and development contracts" }]
}

recipient-profile-record (one row per unique company, computed once regardless of how many of its contracts matched):

{
"recipientName": "LOCKHEED MARTIN CORP",
"profile": { "uei": "FYHNA5WC8XD7", "duns": "926784042", "businessTypes": ["manufacturer_of_goods", "other_than_small_business"], "totalTransactionAmount": 3072753827.22, "totalTransactions": 334 },
"agencyBreakdown": [{ "code": "DOD", "name": "Department of Defense", "amount": 812574874076.95 }],
"naicsBreakdown": [{ "code": "336411", "name": "Aircraft Manufacturing", "amount": 377163683691.43 }]
}

Every extra you don't enable returns "Not Requested" instead of an empty field, and data a contract genuinely doesn't have (many contracts have no reported subawards) returns "N/A". You always know why a field is empty, never guess.

โœจ Why choose this Actor

  • Ten real data types from one government source, one run. Awards, transactions, subawards, funding, recipient profile, and spending broken down by agency, industry, product/service code, state and fiscal year, no need to stitch together SAM.gov and USAspending yourself.
  • Company-level facts computed once, not re-billed per contract. A company's spending breakdowns and registration profile are the same regardless of which of its 50 contracts you're looking at, so they're charged once per company, never duplicated across every award row.
  • No login, no API key. USAspending.gov is public with no registration; nothing to expire or get rate-limited on your account, unlike SAM.gov's own API which requires weeks of entity registration for real usage limits.
  • Government's own numbers, not a scrape of a rendered page. Every field comes straight from USAspending's structured JSON API.

๐Ÿ“ˆ How it compares to alternatives

Measured against the closest published USAspending/SAM.gov actors on the Apify Store:

ActorPrimary priceBillable events
Raw SAM.gov scraper (11 users/30d)$3.00 / 1,0001
Raw USAspending scraper$1.00 / 1,0001
AI-enriched competitor (recompete/PWin scoring)$20.00 / 1,0008, several AI-inferred
This Actor$4.00 / 1,00010 (award, transaction, subaward, funding, recipient profile, and 5 spending breakdowns), all raw government data, none inferred

๐Ÿš€ How to use

  1. Create a free Apify account. New accounts get $5 in free credit.
  2. Open the Federal Contracts Spending Scraper and enter a company name (e.g. "Lockheed Martin").
  3. Toggle on the extras you need: transactions, subawards, funding, recipient profile, spending breakdowns.
  4. Click Start and wait for the run to finish.
  5. Download your data as CSV, Excel, JSON or XML, or pull it via the API.

๐Ÿ’ผ Business use cases

Govcon business development & capture management Track a competitor's new awards and modifications, or screen a target company's full federal footprint before a teaming decision.

Supply chain & subcontractor intelligence Pull the subaward chain behind a prime contract to map out who's actually doing the work.

Investment research & market analysis Screen a contractor's spending mix by agency and industry to gauge diversification and government-revenue concentration risk.

Compliance & due diligence Verify a company's federal registration status (UEI, DUNS, business type) and total federal transaction history before a partnership or acquisition.

๐Ÿ”Œ Automating Federal Contracts Spending Scraper

Connect this Actor to Make, Zapier, Slack or Airbyte to push new awards or modifications into a spreadsheet, database or channel automatically. Schedule a weekly run per competitor or prospect to catch new contract activity as it's reported.

๐ŸŒŸ Beyond business use cases

Research: academic public-policy and government-spending research using real USAspending data. Personal projects: check a company's federal contract history before applying to work there. Non-profit: government-transparency and accountability projects tracking federal contract spending. Experimentation: test spend-forecasting or anomaly-detection models against real structured award data.

๐Ÿค– Ask an AI assistant about this scraper

Paste this Actor's Store page into ChatGPT, Claude or Perplexity and ask: "Does this federal contracts scraper charge separately for a company's spending profile on every contract, or only once per company?" The README and input schema are structured so AI assistants can answer accurately from the page alone.

โ“ Frequently Asked Questions

Do I need a SAM.gov or USAspending API key? No. USAspending.gov's API is fully public with no registration required anywhere in this Actor.

Why are spending breakdowns billed once per company, not once per contract? Because a company's spending-by-agency mix (or by industry, state, etc.) doesn't change based on which one of its contracts you happen to be viewing, it's the same underlying fact. Billing it on every contract row would charge you multiple times for one real number.

Why does subawards return "N/A" for some contracts? Because not every prime contract has publicly reported subcontractors, subaward reporting coverage varies by contract type and age. "N/A" means the Actor checked and confirmed none are on record, not that it skipped the check.

What happens if a company name doesn't match any awards? The Actor finishes with a clear status message telling you nothing matched, rather than silently returning nothing. Try a more exact or different name.

Does this cover grants or loans, not just contracts? This version covers the four federal contract award types (definitive contracts, purchase orders, delivery orders, and BPA calls). Grants, loans and other financial-assistance award types use a different USAspending award-type family and are out of scope for this Actor.

How fresh is the data? As fresh as USAspending.gov itself, most federal contract actions appear within days of being reported to the government.

๐Ÿ”Œ Integrate with any app

Every run's output is available as CSV, Excel, JSON or XML, or through Apify's API and client libraries for Python and JavaScript.

Browse the rest of the PunkRecordsData catalog for more scrapers covering SEC filings, bank regulatory data, court records and sports data.

๐Ÿ’ก Pro Tip: browse the complete PunkRecordsData collection.

๐Ÿ†˜ Need Help? contact.punkrecordsdata@gmail.com

โš ๏ธ Disclaimer: This is an independent tool, not affiliated with, endorsed by, or sponsored by the U.S. government or USAspending.gov. It collects only publicly available federal spending data from their own public API.