# US USAspending Federal Contract Awards & Funded GovCon Leads (`regpulse-data/us-usaspending-federal-contract-award-leads`) Actor

Extract newly obligated US federal contracts, IDVs & grants from USAspending.gov API v2 with prime contractor UEIs, award & ceiling USD amounts, Small Business / 8(a) / SDVOSB status, NAICS/PSC codes & street addresses.

- **URL**: https://apify.com/regpulse-data/us-usaspending-federal-contract-award-leads.md
- **Developed by:** [RegPulse Data](https://apify.com/regpulse-data) (community)
- **Categories:** Business, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.40 / 1,000 usaspending federal contract or grant award lead records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 USAspending.gov Federal Contract & Grant Award Leads

Automated **GovCon lead generation, subcontracting intelligence, and federal award monitoring** powered directly by the official **U.S. Department of the Treasury USAspending.gov REST API v2** — zero API keys required.

Extract newly obligated **US federal contracts**, **Indefinite Delivery Vehicles (IDVs/IDIQs/GWACs)**, and **federal grants & cooperative agreements**, enriched in real time with **SAM.gov UEI**, **recipient street address & ZIP**, **parent company**, **Small Business / 8(a) / SDVOSB / WOSB / HUBZone classifications**, **NAICS & PSC codes**, **base-and-all-options contract ceilings**, and **stateful watchlist diffing**.

***

### Why Use This Actor?

Every week, U.S. federal agencies obligate billions of dollars in newly signed prime contracts and grants — triggering immediate hiring, software procurement, cybersecurity compliance (CMMC/FedRAMP), staffing, insurance, surety bonding, and tier-2 subcontracting demand at winning contractors.

This Actor converts USAspending.gov's multi-endpoint federal award graph (`/api/v2/search/spending_by_award/` + `/api/v2/awards/{id}/`) into clean, CRM-ready JSON/CSV records and an **MCP-ready tool**:

1. **Newly Obligated Prime Contract Leads (`recent_contracts`)** — Pinpoint newly signed federal contracts (`newAwardsOnly: true`) filtered by dollar threshold (`$100K+`, `$1M+`, mid-market cap), federal agency (`DoD`, `HHS`, `GSA`, `VA`, `DHS`, `NASA`, etc.), NAICS industry codes (`541511`, `541512`, `236220`, etc.), place-of-performance US states, and description keywords.
2. **Full Award Detail Enrichment (`enrichAwardDetails: true`)** — Concurrently fetches `/api/v2/awards/{generated_internal_id}/` (concurrency `6`) to append full recipient street address, city, state, ZIP+4, congressional district, parent legal entity, SBA small business / 8(a) / SDVOSB / WOSB / HUBZone tags, set-aside type, subaward counts, and total contract ceiling (`baseAndAllOptionsCeilingUsd`).
3. **Federal Grants & Cooperative Agreements (`federal_grants`)** — Track newly awarded federal research, infrastructure, healthcare, and public-sector grants with CFDA assistance listing numbers and recipient details.
4. **Prime Contractor & UEI Lookup (`recipient_search`)** — Pull a complete portfolio of Contracts, IDVs, and Grants for any prime contractor by legal name or 12-character **SAM.gov UEI** (e.g., `BOOZ ALLEN`, `PALANTIR`, `FYHNA5WC8XD7`).
5. **Continuous GovCon Watchlist Diffing (`watchlist_diff`)** — Persists snapshots in Apify Key-Value Store and emits structured deltas whenever a new federal award is signed (`NEW_AWARD`) or an existing contract receives additional obligation, ceiling expansion, or period-of-performance extension (`AWARD_MODIFIED`).

***

### 4 Operating Modes

| Mode | Best For | Description |
| :--- | :--- | :--- |
| `recent_contracts` | B2B GovCon outbound sales, subcontracting & staffing triggers | Extracts newly obligated federal contracts (and optionally IDVs) filtered by agency, NAICS, state, amount, and keywords. |
| `federal_grants` | Research, university, healthcare, energy & state-government sales | Extracts federal grants and cooperative agreements with CFDA numbers and recipient locations. |
| `recipient_search` | Account research, competitive intelligence & KYB due diligence | Searches Contracts, IDVs, and Grants for a specific prime contractor name or 12-character SAM.gov UEI. |
| `watchlist_diff` | Daily/weekly Slack/CRM webhook alerts on new federal wins | Stores stateful snapshots in Apify Key-Value Store and outputs only newly won or modified awards. |

***

### Example Input (`recent_contracts`)

```json
{
  "mode": "recent_contracts",
  "daysBack": 30,
  "minAwardAmountUsd": 1000000,
  "agencies": [
    "Department of Defense",
    "Department of Health and Human Services",
    "General Services Administration"
  ],
  "naicsCodes": ["541511", "541512", "541519"],
  "states": ["VA", "MD", "CA", "TX"],
  "enrichAwardDetails": true,
  "maxResults": 100
}
```

### Example Output Record

```json
{
  "recordType": "USASPENDING_AWARD_LEAD",
  "entityId": "CONT_AWD_47QFNA27F0001_4732_47QTCA20D00D9_4732",
  "awardId": "47QFNA27F0001",
  "generatedInternalId": "CONT_AWD_47QFNA27F0001_4732_47QTCA20D00D9_4732",
  "awardCategory": "CONTRACT",
  "contractAwardType": "DELIVERY ORDER",
  "recipientName": "INTEGRATED DATA SERVICES, LLC",
  "recipientUei": "NRLEGBF55K19",
  "parentRecipientName": "INTEGRATED DATA SERVICES, LLC",
  "businessCategories": [
    "Category Business",
    "Limited Liability Corporation",
    "Small Business"
  ],
  "isSmallBusiness": true,
  "awardAmountUsd": 6996610,
  "baseAndAllOptionsCeilingUsd": 21500000,
  "awardingAgency": "General Services Administration",
  "awardingSubAgency": "Federal Acquisition Service",
  "startDate": "2026-11-03",
  "endDate": "2027-11-02",
  "description": "ENTERPRISE FINANCIAL SYSTEMS ENGINEERING SUPPORT",
  "naicsCode": "541511",
  "naicsDescription": "CUSTOM COMPUTER PROGRAMMING SERVICES",
  "pscCode": "DA01",
  "placeOfPerformanceCity": "RESTON",
  "placeOfPerformanceState": "VA",
  "placeOfPerformanceCountry": "USA",
  "recipientAddress": "12000 SUNRISE VALLEY DR",
  "recipientCity": "RESTON",
  "recipientState": "VA",
  "recipientZip": "20191",
  "usaSpendingUrl": "https://www.usaspending.gov/award/CONT_AWD_47QFNA27F0001_4732_47QTCA20D00D9_4732",
  "scrapedAt": "2026-11-20T14:00:00.000Z"
}
```

***

### Pricing (Pay-Per-Event)

Billed transparently per structured federal award lead delivered (`result-delivered` — **$0.008 / lead**). You only pay for matched, delivered records up to `maxResults`.

***

### Official Public-Data Attribution

All award records are retrieved live from the **U.S. Department of the Treasury's USAspending.gov Public API v2** (`api.usaspending.gov`), published under the Digital Accountability and Transparency Act (DATA Act). Provided by **RegPulse Data** for B2B market intelligence, GovCon prospecting, and compliance research.

# Actor input Schema

## `mode` (type: `string`):

Select 'recent_contracts' for newly obligated federal contract awards (prime & subcontracting leads), 'federal_grants' for federal grants and cooperative agreements, 'recipient_search' to look up awards by prime contractor name or SAM.gov UEI, or 'watchlist_diff' for stateful monitoring of new awards and obligation changes.

## `query` (type: `string`):

In 'recent_contracts', 'federal_grants', or 'watchlist_diff' mode, filters award descriptions by keyword (e.g., 'cybersecurity', 'cloud migration', 'HVAC'). In 'recipient_search' mode, matches recipient name or 12-character SAM.gov UEI (e.g., 'BOOZ ALLEN', 'PALANTIR', 'FYHNA5WC8XD7').

## `daysBack` (type: `integer`):

Number of days prior to endDate to scan when startDate is not explicitly set (1 to 1825 days).

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

Explicit ISO start date (e.g., '2026-10-01'). Overrides daysBack when provided.

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

Explicit ISO end date (e.g., '2026-11-20'). Defaults to today (UTC).

## `minAwardAmountUsd` (type: `number`):

Minimum obligated award amount in USD. Defaults to $100,000 in 'recent_contracts' and 'watchlist_diff' modes (set 0 for no floor).

## `maxAwardAmountUsd` (type: `number`):

Optional upper bound on obligated award amount in USD (useful for targeting mid-market or small-business prime contractors).

## `agencies` (type: `array`):

Filter by awarding federal department/agency names or abbreviations (e.g., 'Department of Defense', 'Department of Health and Human Services', 'General Services Administration', or shortcuts 'DoD', 'HHS', 'GSA', 'VA', 'DHS', 'NASA').

## `naicsCodes` (type: `array`):

Filter contracts by 2-to-6-digit NAICS codes (e.g., '541511', '541512', '541519', '236220').

## `states` (type: `array`):

Filter by 2-letter US state/territory codes for Place of Performance (e.g., 'VA', 'MD', 'CA', 'TX', 'DC').

## `includeIdvs` (type: `boolean`):

When enabled in 'recent_contracts' or 'watchlist_diff' mode, also extracts newly obligated Indefinite Delivery Vehicles (IDIQ, GWAC, BPA, FSS) alongside definitive contracts and delivery orders. Always enabled in 'recipient_search' mode.

## `newAwardsOnly` (type: `boolean`):

When true (default for 'recent_contracts' and 'watchlist_diff'), filters by base award obligation date so legacy multi-year contracts modified recently do not crowd out newly won awards. Set false to include modifications to existing awards.

## `enrichAwardDetails` (type: `boolean`):

Calls USAspending.gov /api/v2/awards/{id}/ (concurrency 6) to populate recipient street address, city/state/ZIP, congressional district, parent company name, Small Business / 8(a) / SDVOSB / WOSB categories, set-aside type, and base-and-all-options ceiling.

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

Maximum number of billed award leads pushed to the dataset (1 to 5,000).

## `stateStoreName` (type: `string`):

Named Apify Key-Value Store used to persist snapshots across scheduled runs in 'watchlist_diff' mode.

## `watchlistStateKey` (type: `string`):

Record key inside the Key-Value Store for storing the award watchlist snapshot.

## Actor input object example

```json
{
  "mode": "recent_contracts",
  "daysBack": 30,
  "minAwardAmountUsd": 100000,
  "includeIdvs": false,
  "newAwardsOnly": true,
  "enrichAwardDetails": true,
  "maxResults": 100,
  "stateStoreName": "us-usaspending-watchlist-state",
  "watchlistStateKey": "USASPENDING_AWARD_WATCHLIST_SNAPSHOT"
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

No description

# 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("regpulse-data/us-usaspending-federal-contract-award-leads").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("regpulse-data/us-usaspending-federal-contract-award-leads").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 regpulse-data/us-usaspending-federal-contract-award-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,regpulse-data/us-usaspending-federal-contract-award-leads"
        }
    }
}
```

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/2JPX5taPNXa5OB3x5/builds/8Oe6cEXlAvwRk2Dfl/openapi.json
