# US Federal Government Contract Awards & DoD B2B Lead Scraper (`mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper`) Actor

Extract official USAspending.gov US Federal Government & Pentagon (DoD) contract awards into clean JSON/CSV. Search by keyword (AI, Cybersecurity, Solar) or company (Palantir, Lockheed) to find newly funded B2B contractor leads & defense stock catalysts. Ready for n8n & MCP AI agents.

- **URL**: https://apify.com/mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper.md
- **Developed by:** [Mehdad Sharifi](https://apify.com/mehdad-datalabs) (community)
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 extracted federal contract awards

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Federal Government Contract Awards, DoD Spending & B2B Lead Scraper API

Extract official US Federal Government and Department of Defense (DoD) contract awards directly into clean JSON, CSV, or Excel datasets. Search by keyword, industry, technology (Artificial Intelligence, Cybersecurity, Cloud, Medical, Autonomous Systems), or company name (Palantir, Lockheed Martin, Microsoft, Booz Allen) and filter by minimum dollar award size.

Built for B2B lead generation agencies, government contracting (GovCon) consultants, quantitative stock traders, n8n and Make automation workflows, and AI agents (Claude MCP and Cursor)—with zero proxy fees required.

***

### Why Choose This US Federal Government Contract Awards Scraper?

| Feature | How Buyers Profit From This Data |
| :--- | :--- |
| B2B Cold Outreach & Subcontracting Leads | Companies that just won a USD 500K to USD 50M federal contract have immediate, verified cash flow and actively hire subcontractors, IT and cloud vendors, technical staffing agencies, and compliance firms. |
| Defense & GovTech Stock Catalyst Tracking | Spot multi-million-dollar Pentagon (DoD), DHS, NASA, VA, and HHS contract awards to public companies (PLTR, LMT, RTX, BAH, LDOS, AMZN, MSFT) before retail news outlets cover them. |
| Competitor GovCon & Re-Compete Intelligence | Monitor exact dollar award amounts, awarding sub-agencies, contract descriptions, and performance end dates (re-compete windows) for any GovCon competitor. |
| Zero Proxy or API Key Costs | Built with resilient government data extraction pipelines—fast, reliable, and zero residential proxy costs. |
| AI Agent & MCP Server Ready | Plug directly into Claude Desktop, Cursor, Clay, n8n, Make, or Zapier for automated GovCon lead enrichment and defense stock alerts. |

***

### What Data Does This Actor Extract? (Sample JSON Output)

Every federal contract award is flattened into a clean, structured JSON record:

```
{
  "awardId": "W56KGY25C0014",
  "recipientName": "PALANTIR USG INC",
  "awardAmountUsd": 178400000.0,
  "awardingAgency": "Department of Defense",
  "awardingSubAgency": "Department of the Army",
  "fundingAgency": "Department of Defense",
  "contractAwardType": "DEFINITIVE CONTRACT",
  "startDate": "2026-03-15",
  "endDate": "2028-03-14",
  "description": "TITAN AI MISSION COMMAND SYSTEM PROTOTYPE & DEPLOYMENT",
  "matchedKeywords": "Artificial Intelligence, Cybersecurity, Palantir",
  "usaSpendingUrl": "https://www.usaspending.gov/award/CONT_AWD_W56KGY25C0014_9700_-NONE-_-NONE-"
}
```

***

### How to Use US Federal Government Contract Awards Scraper

1. Enter Search Keywords or Company Names: Add one or more technology verticals, defense programs, or contractor names (e.g., Artificial Intelligence, Cybersecurity, Cloud, Solar, Palantir, Lockheed).
2. Set Minimum Contract Award Value (USD): Filter out tiny micro-purchases and isolate high-value contracts (default: 100000 for USD 100,000+ awards).
3. Choose Start Date & End Date: Specify your target date window in YYYY-MM-DD format.
4. Set Max Contracts to Extract: Choose how many federal contract records to retrieve (sorted automatically by largest dollar value first).
5. Run & Export: Click Start and download your dataset in JSON, CSV, Excel, or XML, or send leads directly into Clay, HubSpot, Salesforce, or Google Sheets via the Apify REST API.

***

### Federal Contract & GovCon Intelligence Fields Reference

| Field Name | Description | B2B Sales & Stock Trading Value |
| :--- | :--- | :--- |
| recipientName | Winning Prime Contractor Legal Name | Identifies the exact company that won the federal award—ideal for B2B SDR enrichment in Clay or Apollo. |
| awardAmountUsd | Total Obligated Contract Value (USD) | Confirms exact budget size so B2B agencies and subcontractors can prioritize USD 1M+ contract winners. |
| awardingAgency & awardingSubAgency | Federal Department & Sub-Agency | Shows which specific agency awarded the deal (e.g., Department of the Army, U.S. Air Force, NIH, Cybersecurity and Infrastructure Security Agency). |
| startDate & endDate | Period of Performance Dates | Reveals both newly signed contracts (for immediate subcontracting outreach) and expiring contracts (for GovCon re-compete bidding). |
| description | Statement of Work / Program Summary | Details the exact software, hardware, R\&D, or service being procured by the US government. |

***

### Transparent Pay-Per-Event Pricing

You only pay for the exact federal contract award records extracted:

- Actor Startup (apify-actor-start): USD 0.01 per run.
- Extracted Contract Award (contract-award-extracted): USD 0.005 per parsed federal contract award (USD 5.00 per 1,000 contracts).
- Free Tier Friendly: With Apify's free USD 5.00 monthly credit, you can extract nearly 1,000 federal contract award records every month for free.

***

### Top Use Cases

- B2B Subcontracting & Agency Outbound Sales: Prime contractors winning USD 1M to USD 100M federal awards are frequently required to subcontract a percentage of the work to small businesses, IT staffing firms, cybersecurity auditors (CMMC), and software dev shops.
- Defense, Aerospace & AI Stock Catalyst Alerts: Track major Pentagon and federal awards won by public defense and tech companies (PLTR, LMT, NOC, GD, BAH, CACI, SAIC).
- GovCon Re-Compete Pipeline Tracking: Identify federal contracts whose endDate is approaching within the next 6 to 12 months so your proposal team can bid on the re-compete.
- AI GovCon & Defense Research Agents (MCP): Give Claude Desktop, Cursor, or LangChain live access to verified US federal contract award data via Apify's Model Context Protocol (MCP) server.

***

### Frequently Asked Questions (FAQ)

#### Why are newly awarded federal contractors the highest-converting B2B leads?

Unlike private companies whose budgets are unknown, a company that just won a US federal government contract has publicly verified, guaranteed government funding obligated for a specific project—and immediate pressure to hire engineers, buy software, achieve CMMC/FedRAMP compliance, and onboard subcontractors to deliver on schedule.

#### How can stock traders use federal contract award data?

Defense, aerospace, and GovTech companies derive a massive portion of their revenue from federal contracts. Monitoring contract obligations and SEC material federal contract disclosures helps quantitative and event-driven traders spot major revenue wins before quarterly earnings reports.

#### How can I connect this Federal Contracts API to Clay, n8n, Python, or Google Sheets?

You can call this Actor directly via the Apify REST API, the apify-client Python or Node.js SDK, or the native Apify integration node inside Clay, n8n, Make, and Zapier to automate GovCon lead generation.

***

### Explore Our Complete 20-API Financial, Biotech & B2B Intelligence Suite

- [SEC Form 4 Insider Trading Scraper & XML Parser API](https://apify.com/mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api)
- [SEC Form 13F Institutional Holdings & Hedge Fund Whale Scraper](https://apify.com/mehdad-datalabs/sec-13f-institutional-holdings-hedge-fund-whale-scraper)
- [SEC Form N-PORT Mutual Fund & ETF Portfolio Holdings API](https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper)
- [SEC 10-K & 10-Q XBRL Financial Statements & Earnings API](https://apify.com/mehdad-datalabs/sec-10k-10q-xbrl-financial-statements-earnings-api)
- [SEC Form 8-K Corporate Events, M\&A & Executive Change Scraper](https://apify.com/mehdad-datalabs/sec-8k-corporate-events-ma-executive-change-scraper)
- [SEC Schedule 13D & 13G Activist Investor & 5%+ Ownership API](https://apify.com/mehdad-datalabs/sec-schedule-13d-13g-activist-investor-ownership-api)
- [SEC Form S-1 IPO Pipeline & Form 144 Insider Sale Notice API](https://apify.com/mehdad-datalabs/sec-ipo-s1-form144-insider-sale-scraper)
- [SEC Form D Startup Funding, VC Raise & Founder B2B Lead API](https://apify.com/mehdad-datalabs/sec-form-d-startup-funding-vc-b2b-lead-scraper)
- [SEC DEF 14A Executive Compensation & Proxy Statement API](https://apify.com/mehdad-datalabs/sec-def14a-ceo-executive-compensation-proxy-scraper)
- [SEC Form 20-F & 6-K Global ADR & Foreign Stock Filings API](https://apify.com/mehdad-datalabs/sec-20f-6k-foreign-adr-international-stock-scraper)
- [CFPB Fintech & Bank Consumer Complaint Intelligence API](https://apify.com/mehdad-datalabs/cfpb-fintech-bank-consumer-complaint-b2b-scraper)
- [FDIC US Bank Directory, Deposits, Assets & B2B Lead API](https://apify.com/mehdad-datalabs/fdic-us-bank-directory-deposits-assets-b2b-scraper)
- [FDA 510(k) Medical Device Clearances & MedTech B2B Lead API](https://apify.com/mehdad-datalabs/fda-510k-medical-device-clearances-medtech-b2b-scraper)
- [FDA Drug, Device & Food Recall Enforcement & Legal Lead API](https://apify.com/mehdad-datalabs/fda-product-recalls-safety-enforcement-b2b-scraper)
- [US Pharmacy, Clinical Lab & Medical Supply B2B Lead API](https://apify.com/mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper)
- [US Public Company B2B Directory, SIC & HQ Phone API](https://apify.com/mehdad-datalabs/us-public-company-b2b-profile-sic-hq-phone-scraper)
- [FDA Drug Approvals, NDA/BLA Biotech Catalyst & Pharma API](https://apify.com/mehdad-datalabs/fda-drug-approvals-biotech-catalyst-pharma-b2b-scraper)
- [ClinicalTrials.gov Phase 1-3 Biotech Catalyst & B2B Lead API](https://apify.com/mehdad-datalabs/clinical-trials-biotech-catalyst-cro-b2b-lead-scraper)
- [US Doctor, Dentist & Medical Clinic B2B Lead Scraper API](https://apify.com/mehdad-datalabs/us-doctor-dentist-clinic-healthcare-b2b-lead-scraper)

# Actor input Schema

## `keywords` (type: `array`):

Enter keywords, industries, or recipient company names to search federal government contract awards.

## `minAwardAmountUsd` (type: `integer`):

Only return federal contracts with a total award amount greater than or equal to this dollar value.

## `startDate` (type: `string`):

Search contract awards signed on or after this date.

## `endDate` (type: `string`):

Search contract awards signed on or before this date.

## `maxResults` (type: `integer`):

Maximum number of federal contract awards to extract (sorted by largest dollar value first).

## Actor input object example

```json
{
  "keywords": [
    "Artificial Intelligence",
    "Cybersecurity",
    "Palantir"
  ],
  "minAwardAmountUsd": 100000,
  "startDate": "2025-01-01",
  "endDate": "2026-12-31",
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

Clean table of US federal government contract awards, recipient companies, awarding agencies, and dollar amounts

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/df3xqcMK0C3VwsuQ7/builds/Fecbmp5YCBpDRYf5X/openapi.json
