# Federal Contract Award Leads (US Government Contract Winners) (`benenjoyscoding/federal-contract-award-leads`) Actor

Companies that just won US federal contracts, from the official USAspending.gov API. Award amount, agency, NAICS and PSC codes, description, dates, company address and UEI. Filter by industry, state, agency and size. Only-new mode for daily schedules.

- **URL**: https://apify.com/benenjoyscoding/federal-contract-award-leads.md
- **Developed by:** [Ben Becker](https://apify.com/benenjoyscoding) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 award delivereds

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

## Federal Contract Award Leads

Get the companies that just won US federal contracts, in one clean table, straight from the official USAspending.gov API.

A company that just won a federal contract has to deliver on it. It often needs subcontractors, staff, equipment, office space, insurance, bonding, financing and software, and it needs them now. Subcontractors, staffing firms, lenders, surety agents, IT resellers, consultants and B2B sales teams use these lists to reach new winners at the moment they are buying.

### What you get

Each award comes back with:

- **The company:** name, UEI (the federal entity ID), street address, city, state, ZIP, country, congressional district, and a link to its USAspending recipient profile
- **The award:** award ID, type (definitive contract, purchase order, delivery order, or a contract vehicle), amount, outlays so far, and what it is for
- **Who is buying:** awarding agency and sub-agency, funding agency and sub-agency
- **The industry:** NAICS code and description, product and service code (PSC) and description
- **When and where:** award date, start and end dates, last change, and the place the work is performed
- **Source:** a link to the award's page on USAspending.gov

Awards to individuals are left out, along with redacted and placeholder recipients. A small number of small firms whose registered name reads like a person's name may be left out too.

### How to use it

1. Set the window: days back, or a fixed date range. The default is the last 7 days.
2. Add filters if you want: minimum and maximum amount, NAICS codes, PSC codes, company state, state where the work happens, awarding agency, keywords.
3. Pick award kinds: contracts and orders (the default), contract vehicles (IDVs) like GWACs and IDIQs, or both.
4. Run it, then export to CSV, Excel or JSON, or connect it to Google Sheets, Zapier, Make or your CRM.

Results come largest award first, so a low **Max awards per run** still gets you the biggest wins.

#### Fresh leads on a schedule

Turn on **Only new awards** and schedule the actor to run every morning. It remembers which awards it already delivered and skips them, so each run gives you only new winners and you never pay twice for the same award.

If you run several schedules with different filters, give each one its own **Memory name**.

### Example inputs

New IT services contracts over $250,000 in the last week:

```json
{
  "naicsCodes": ["5415"],
  "minAwardAmount": 250000,
  "daysBack": 7
}
```

Construction contracts won by Texas and Oklahoma companies, delivered daily:

```json
{
  "naicsCodes": ["23"],
  "recipientStates": ["TX", "OK"],
  "daysBack": 3,
  "onlyNew": true
}
```

New Department of Veterans Affairs contracts and vehicles for October:

```json
{
  "agencies": ["Department of Veterans Affairs"],
  "awardKinds": ["contracts", "idvs"],
  "dateFrom": "2026-10-01",
  "dateTo": "2026-10-31"
}
```

### Pricing

You pay per award delivered. Filters run on USAspending's side before anything reaches you, so awards you filter out cost nothing. Set **Max awards per run** to cap the cost of any run.

### How it works

USAspending.gov is the official source for US federal spending, run by the Treasury Department, and its API is public and free for automated use. The actor asks it for awards whose base award date falls in your window, reads them 100 at a time, and waits between requests to keep the load light. No website pages are scraped and no logins or API keys are needed.

Every run saves a `COVERAGE` record with the window, the filters, how many awards were read, how many were skipped and how many were delivered.

### Notes

- Agencies report awards to the federal procurement system, and USAspending loads them from there, usually within a few days. Department of Defense contract details are published with a delay of about 90 days, so recent windows hold mostly civilian agency awards.
- The award amount is the total obligated on the award so far. Later changes to an award can raise or lower it.
- One search returns at most 10,000 awards. Narrow the filters if you need more for a long window.
- Want grants, subawards or contract opportunities too? Ask in the Issues tab.

# Actor input Schema

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

New awards from the last this many days, counting today. Ignored when you set a start date.

## `dateFrom` (type: `string`):

Optional. Start of a fixed date range, inclusive.

## `dateTo` (type: `string`):

Optional. End of a fixed date range, inclusive. Defaults to today.

## `minAwardAmount` (type: `integer`):

Skip awards smaller than this.

## `maxAwardAmount` (type: `integer`):

Skip awards larger than this.

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

Industry codes, 2 to 6 digits. A short code matches everything under it, so 23 is all construction and 5415 is all IT services.

## `pscCodes` (type: `array`):

Federal product and service codes, for example DA01 or 7030.

## `recipientStates` (type: `array`):

2-letter state codes of the winning company's address, for example VA or TX.

## `placeOfPerformanceStates` (type: `array`):

2-letter state codes where the work happens.

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

Top-level agency names exactly as USAspending writes them, for example Department of Defense, Department of Veterans Affairs, General Services Administration.

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

Words to search in the award description and other text, for example cybersecurity, roofing or janitorial. At least 3 characters each.

## `awardKinds` (type: `array`):

Contracts are definitive contracts, purchase orders and delivery orders. IDVs are new vehicles like GWACs, IDIQs and BPAs that later orders run through. Leave empty for contracts only.

## `onlyNew` (type: `boolean`):

Remember which awards earlier runs delivered and skip them. Turn this on for a daily or weekly schedule so you only pay for fresh leads.

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

Use a different name per saved task if you run several schedules with different filters.

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

Stop after this many awards. Results come largest first. You pay per award.

## Actor input object example

```json
{
  "daysBack": 7,
  "minAwardAmount": 100000,
  "awardKinds": [
    "contracts"
  ],
  "onlyNew": false,
  "stateStoreName": "federal-contract-award-leads-state",
  "maxResults": 100
}
```

# Actor output Schema

## `results` (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 = {
    "daysBack": 7,
    "minAwardAmount": 100000,
    "awardKinds": [
        "contracts"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("benenjoyscoding/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 = {
    "daysBack": 7,
    "minAwardAmount": 100000,
    "awardKinds": ["contracts"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("benenjoyscoding/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 '{
  "daysBack": 7,
  "minAwardAmount": 100000,
  "awardKinds": [
    "contracts"
  ],
  "maxResults": 100
}' |
apify call benenjoyscoding/federal-contract-award-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benenjoyscoding/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/Lws9YDJs1HuyBMstx/builds/KfBLKcAqrLSYp2arz/openapi.json
