# US Government RFP Contracts Scraper – USAspending B2G Leads (`robinworld/us-government-rfp-contract-tracker`) Actor

Tracks active US federal agency RFPs, defense contracts, NAICS award opportunities, and government subcontracts from USAspending for B2G contractors.

- **URL**: https://apify.com/robinworld/us-government-rfp-contract-tracker.md
- **Developed by:** [Robin world](https://apify.com/robinworld) (community)
- **Categories:**
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🏛️ US Government RFP & Contract Tracker

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue.svg)](https://apify.com)
[![Pricing](https://img.shields.io/badge/Pricing-Pay--Per--Event%20\($0.0150\)-green.svg)](https://apify.com)
[![Data Quality](https://img.shields.io/badge/Source-Official%20US%20Spending%20Data-orange.svg)](https://www.usaspending.gov)

Track high-value US Federal and State Government contract awards, solicitations, procurement trends, and Prime Contractor subcontracting intelligence in real time.

***

### 🎯 What Does This Actor Do?

The US Federal Government is the world's largest buyer of goods and services, spending over **$1 Trillion annually** across defense, cybersecurity, cloud infrastructure, AI, and healthcare.

This Actor continuously queries official federal procurement and award databases (USAspending & federal contracting feeds) to provide institutional-grade sales leads and market intelligence:

1. **High-Value Contract Awards**: Discover multi-million dollar contracts awarded to top vendors (Lockheed, Raytheon, Booz Allen, Accenture, AWS, Palantir, etc.).
2. **Small Business Subcontracting Teaming Opportunities**: Under Federal Acquisition Regulation (FAR 19.7), large prime contractors are required to submit small business subcontracting plans. This actor flags large awards where prime vendors actively seek boutique software, staffing, and engineering subcontractors.
3. **Agency Spending Insights**: Filter by awarding agency (Department of Defense, Department of Homeland Security, HHS, NASA, Energy, etc.).
4. **Direct Audit Verification Links**: Every single contract record includes a direct URL to official federal audit records on `usaspending.gov`.

***

### 💰 Monetization & Pricing

- **Pricing Model**: `Pay-Per-Event` (Pay only for what you extract)
- **Cost per Record**: **`$0.0150 USD`** per verified government contract record
- **Sample Cost**: 100 high-value federal contract leads = **`$1.50 USD`**

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `keywords` | Array | `["Artificial Intelligence", "Cybersecurity", "Cloud"]` | Industry keywords to filter solicitations and statement of works. |
| `min_award_amount` | Number | `100000` | Minimum contract value in USD (e.g. $100,000 or $1,000,000). |
| `start_date` | String | `"2024-01-01"` | Start of the contract action period (`YYYY-MM-DD`). |
| `end_date` | String | `"2026-03-01"` | End of the contract action period (`YYYY-MM-DD`). |
| `sort_by` | String | `"Award Amount"` | Order by `"Award Amount"` (highest value first) or `"Action Date"`. |
| `max_items` | Integer | `20` | Maximum number of contract records to retrieve (1 ~ 500). |

***

### 📤 Sample Output Record

```json
{
  "award_id": "W911QX20C0023",
  "contract_title": "RESEARCH AND DEVELOPMENT EFFORT TO DESIGN AND DEVELOP PROTOTYPES TO ARTIFICIAL INTELLIGENCE...",
  "recipient_name": "ECS FEDERAL, LLC",
  "award_amount_usd": 120575059.35,
  "awarding_agency": "Department of Defense",
  "awarding_sub_agency": "Department of the Army",
  "contract_award_type": "DEFINITIVE CONTRACT",
  "naics_code": "541715",
  "description": "RESEARCH AND DEVELOPMENT EFFORT TO DESIGN AND DEVELOP PROTOTYPES TO ARTIFICIAL INTELLIGENCE/MACHINE LEARNING ALGORITHMS.",
  "subcontracting_potential": "HIGH (Mandatory Small Business Subcontracting Plan under FAR 19.7)",
  "action_date": "2024-06-15",
  "usa_spending_url": "https://www.usaspending.gov/award/CONT_AWD_W911QX20C0023_9700_-NONE-_-NONE-",
  "scraped_at": "2026-09-08T03:35:42.123456+00:00"
}
```

***

### 💼 Primary Use Cases

- **B2G Business Development**: Identify which prime contractors just won massive federal contracts and pitch them specialized sub-consulting services.
- **Defense & GovTech Intelligence**: Track government investment trends in AI, drones, cyber, cloud migration, and autonomous systems.
- **Competitive Analysis**: Monitor which competitors are capturing federal awards and identify expiring contract vehicles.

# Actor input Schema

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

Keywords to search in contract titles and descriptions (e.g. Artificial Intelligence, Cybersecurity, Cloud, Healthcare, Defense).

## `min_award_amount` (type: `integer`):

Filter for contracts with an award value equal to or greater than this threshold.

## `start_date` (type: `string`):

Start date for filtering contracts by action period.

## `end_date` (type: `string`):

End date for filtering contracts by action period.

## `sort_by` (type: `string`):

Sort results by total award dollar amount or most recent action date.

## `max_items` (type: `integer`):

Maximum number of contracts to collect and store.

## `proxy_configuration` (type: `object`):

Optional Apify Proxy configuration (direct requests are supported by default).

## Actor input object example

```json
{
  "keywords": [
    "Artificial Intelligence",
    "Cybersecurity",
    "Cloud"
  ],
  "min_award_amount": 100000,
  "start_date": "2024-01-01",
  "end_date": "2026-03-01",
  "sort_by": "Award Amount",
  "max_items": 20
}
```

# Actor output Schema

## `results` (type: `string`):

Federal procurement contracts and B2G opportunity dataset items

# 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("robinworld/us-government-rfp-contract-tracker").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("robinworld/us-government-rfp-contract-tracker").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 robinworld/us-government-rfp-contract-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,robinworld/us-government-rfp-contract-tracker"
        }
    }
}

```

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/6lw6Ca8Mxr0ZDs9Tm/builds/gbxQyWsupiyuWxJjJ/openapi.json
