# Government Contract Winner Leads: New Federal Contract Awards (`scrapemint/government-contract-winner-leads`) Actor

Companies that just won federal contracts, as sales leads. Filter new awards by keyword, NAICS, agency and amount, with winner enrichment: address, UEI, business types, lifetime award total. A fresh win means hiring, buying and subcontracting. Keyless official API, no browser.

- **URL**: https://apify.com/scrapemint/government-contract-winner-leads.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Government Contract Winner Leads: New Federal Contract Awards

Reach a company the week it wins a federal contract. A fresh award is the strongest timed buying signal in B2B: the winner is about to hire, buy software and equipment, rent space, line up subcontractors, and need bonding, insurance and compliance help. This actor pulls new contract awards from the official USAspending.gov API (keyless, no login, no browser), filtered by your keywords, industry codes, agencies and amount floor, and enriches every winner with their address, UEI, business-type flags and lifetime award total.

Platforms selling this alert charge hundreds of dollars per month. Here it is pay per row.

### What you get

One row per new award, with:

- `awardId`, `recipientName`, `awardAmount`, `description`
- `awardingAgency`, `awardingSubAgency`
- `naicsCode`, `naicsDescription`, `pscCode`, `pscDescription`
- `placeOfPerformanceState`, `startDate`, `endDate`, `usaspendingUrl`
- Winner profile: `addressLine1`, `city`, `state`, `zip`, `uei`
- `businessTypes` (small business, veteran owned, minority owned, ...), `smallBusiness`
- `lifetimePrimeAwards` (first-time winner vs entrenched incumbent)

A first-time winner with a $5M award is setting up everything from payroll to facilities. A small business that just landed a prime contract needs subcontractors and suppliers. An incumbent stacking wins in your state is a qualified enterprise prospect with confirmed budget.

### Input

- `keywords` (matched against award descriptions, e.g. software, construction, security)
- `naicsCodes` (optional industry filter; prefixes work, 54 = all professional services)
- `agencies` (optional, full names like Department of Defense)
- `daysBack` (awards signed in the last N days, default 7)
- `minAmount` (skip small awards)
- `smallBusinessOnly` (only registered small business winners)
- `enrichRecipient` (default on)
- `maxAwards` (default 50, up to 500, largest first)

### Example input

```json
{
  "keywords": ["software"],
  "daysBack": 7,
  "minAmount": 250000,
  "maxAwards": 50
}
````

### Example output

```json
{
  "awardId": "2032H526F00080",
  "recipientName": "IMPRES TECHNOLOGY SOLUTIONS, INC",
  "awardAmount": 49673734.15,
  "description": "VMWARE MIGRATION TO NUTANIX...",
  "awardingAgency": "Department of the Treasury",
  "awardingSubAgency": "Internal Revenue Service",
  "naicsCode": "541519",
  "placeOfPerformanceState": "WV",
  "addressLine1": "810 HESTERS CROSSING RD",
  "city": "ROUND ROCK",
  "state": "TX",
  "uei": "MSSQQ551LG41",
  "businessTypes": ["small_business", "minority_owned_business"],
  "smallBusiness": true,
  "lifetimePrimeAwards": 176664320.41,
  "enriched": true
}
```

### Uses

- B2B sales: companies with fresh, publicly confirmed budget in your niche, addressable by name and location
- Subcontracting and teaming: catch primes the week they win, before they finish staffing
- Recruiters: a services contract award means immediate hiring against a start date
- Insurance, bonding, and compliance sellers: every new winner needs coverage and audits
- Market intel: who is winning in your NAICS, at which agencies, at what amounts
- Chain winners into the Website Contact Scraper for emails and phone numbers

### Pricing

Pay per row. Rows with winner profile enrichment (address, UEI, business types, lifetime totals) are lead rows; rows where enrichment is off or the profile is unavailable are cheaper award rows. The first 2 rows of every run are free so you can validate output before you scale up.

### Notes

- Data is the official USAspending.gov API, covering all federal prime contract awards; new awards appear within days of signing.
- `date_signed` filtering returns genuinely new awards, not modifications to old ones.
- Rows sort by award amount, so the biggest wins come first under any cap.
- Run it weekly with your niche keywords for a standing new-winner feed.

# Actor input Schema

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

Matched against award descriptions, e.g. software, construction, security, janitorial. Empty = all new awards.

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

Only awards under these NAICS industry codes, e.g. 541519. Prefixes work (54 = all professional services).

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

Full top-tier agency names, e.g. Department of Defense, Department of Veterans Affairs. Empty = all agencies.

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

Awards signed in the last N days.

## `minAmount` (type: `integer`):

Skip awards below this value. 0 = no floor.

## `smallBusinessOnly` (type: `boolean`):

Only awards won by registered small businesses. Useful for teaming, subcontracting and SMB-focused sellers.

## `enrichRecipient` (type: `boolean`):

Per winner: street address, UEI, business-type flags (small business, veteran owned, ...) and lifetime prime award total. Rows without enrichment are billed as cheaper award rows.

## `maxAwards` (type: `integer`):

Cap on award rows returned (largest first). Controls total cost.

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "naicsCodes": [],
  "agencies": [],
  "daysBack": 7,
  "minAmount": 0,
  "smallBusinessOnly": false,
  "enrichRecipient": true,
  "maxAwards": 50
}
```

# 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 = {
    "keywords": [
        "software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/government-contract-winner-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 = { "keywords": ["software"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/government-contract-winner-leads").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "software"
  ]
}' |
apify call scrapemint/government-contract-winner-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapemint/government-contract-winner-leads",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Government Contract Winner Leads: New Federal Contract Awards",
        "description": "Companies that just won federal contracts, as sales leads. Filter new awards by keyword, NAICS, agency and amount, with winner enrichment: address, UEI, business types, lifetime award total. A fresh win means hiring, buying and subcontracting. Keyless official API, no browser.",
        "version": "0.1",
        "x-build-id": "SwbuM6iCaMbytafvH"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapemint~government-contract-winner-leads/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapemint-government-contract-winner-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapemint~government-contract-winner-leads/runs": {
            "post": {
                "operationId": "runs-sync-scrapemint-government-contract-winner-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapemint~government-contract-winner-leads/run-sync": {
            "post": {
                "operationId": "run-sync-scrapemint-government-contract-winner-leads",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Matched against award descriptions, e.g. software, construction, security, janitorial. Empty = all new awards.",
                        "default": [
                            "software"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "naicsCodes": {
                        "title": "NAICS codes (optional)",
                        "type": "array",
                        "description": "Only awards under these NAICS industry codes, e.g. 541519. Prefixes work (54 = all professional services).",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "agencies": {
                        "title": "Awarding agencies (optional)",
                        "type": "array",
                        "description": "Full top-tier agency names, e.g. Department of Defense, Department of Veterans Affairs. Empty = all agencies.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "daysBack": {
                        "title": "Days back",
                        "minimum": 1,
                        "maximum": 90,
                        "type": "integer",
                        "description": "Awards signed in the last N days.",
                        "default": 7
                    },
                    "minAmount": {
                        "title": "Minimum award amount (USD)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Skip awards below this value. 0 = no floor.",
                        "default": 0
                    },
                    "smallBusinessOnly": {
                        "title": "Small business winners only",
                        "type": "boolean",
                        "description": "Only awards won by registered small businesses. Useful for teaming, subcontracting and SMB-focused sellers.",
                        "default": false
                    },
                    "enrichRecipient": {
                        "title": "Enrich winner profiles",
                        "type": "boolean",
                        "description": "Per winner: street address, UEI, business-type flags (small business, veteran owned, ...) and lifetime prime award total. Rows without enrichment are billed as cheaper award rows.",
                        "default": true
                    },
                    "maxAwards": {
                        "title": "Max awards per run",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Cap on award rows returned (largest first). Controls total cost.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
