# Federal Recompete Radar - Expiring US Government Contracts (`cprussin/federal-recompete-radar`) Actor

Find US federal contracts whose period of performance ends soon (upcoming recompetes). Filter by NAICS, PSC, agency, state, set-aside and value. Data from USAspending.gov.

- **URL**: https://apify.com/cprussin/federal-recompete-radar.md
- **Developed by:** [Connor Prussin](https://apify.com/cprussin) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 contract 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?

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 Recompete Radar: find expiring US government contracts

**Federal Recompete Radar** finds US federal contracts that are about to expire, so you can position for the recompete before the solicitation drops. It searches official [USAspending.gov](https://www.usaspending.gov) data for contracts whose **current period of performance ends in your chosen window** (for example, 6 to 18 months from today). You can filter by NAICS, PSC, agency, place of performance, set-aside and dollar value.

Each result names the incumbent contractor (with UEI), the contracting agency and office, the value, the current and potential end dates, and a link to the award on USAspending.

- ✅ No API key, login or proxy needed. The data is public.
- ✅ Contracts are returned soonest-expiring first.
- ✅ **Delta mode** returns only contracts you haven't seen yet, which suits weekly scheduled alerts.
- ✅ You pay per contract returned. Empty runs cost next to nothing.

### Who tracks expiring federal contracts?

- **Business development and capture teams** at government contractors fill their pipeline 12 to 18 months ahead of RFPs.
- **Small businesses (8(a), HUBZone, SDVOSB, WOSB)** find set-aside work coming up for recompete in their NAICS codes.
- **Teaming and subcontracting:** see who holds the incumbent contract and reach out before the recompete.
- **Market research and competitive intelligence:** track which competitors' contracts are about to roll off.
- **Consultants, proposal writers and GovCon newsletters** get a steady feed of leads.

### How does the federal recompete radar work?

1. Pick an expiry window in months from today, plus any filters you want.
2. The actor queries the USAspending.gov award search API for contract awards (types A, B, C and D), sorted by current end date. It jumps straight to the start of your window.
3. By default it also loads each award's detail record. That adds the potential end date (with all options exercised), the potential value, the set-aside type, the contracting office, the number of offers received and the PIID.
4. Results go to the dataset, and you can export them as JSON, CSV, Excel or through the API.

### How do I filter expiring federal contracts?

| Field                                 | Description                                                               | Example                              |
| ------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------ |
| `endsInMonthsMin` / `endsInMonthsMax` | Expiry window in months from today                                        | `6` / `18`                           |
| `naicsCodes`                          | NAICS codes (6 digits) or 2/4-digit prefixes                              | `["541512", "5415"]`                 |
| `pscCodes`                            | Product/Service Codes                                                     | `["DA01", "R425"]`                   |
| `keywords`                            | Free-text keywords                                                        | `["cloud migration"]`                |
| `awardTypes`                          | A = BPA call, B = PO, C = delivery order, D = definitive contract         | `["C", "D"]`                         |
| `awardingAgencies`                    | Top-tier agency names                                                     | `["Department of Veterans Affairs"]` |
| `awardingSubAgencies`                 | Sub-tier agency names                                                     | `["Department of the Army"]`         |
| `placeOfPerformanceStates`            | 2-letter state codes                                                      | `["VA", "MD", "DC"]`                 |
| `setAsideTypes`                       | FPDS set-aside codes                                                      | `["SBA", "8A", "SDVOSBC"]`           |
| `minAwardValue` / `maxAwardValue`     | Obligated amount range (USD)                                              | `1000000`                            |
| `minPotentialValue`                   | Minimum base-and-all-options value (USD)                                  | `5000000`                            |
| `maxResults`                          | Maximum number of contracts to return                                     | `100`                                |
| `includeDetails`                      | Load award detail records (recommended)                                   | `true`                               |
| `onlyNew`                             | Delta mode: skip contracts returned by earlier runs with the same filters | `true`                               |

Example input:

```json
{
  "endsInMonthsMin": 6,
  "endsInMonthsMax": 18,
  "naicsCodes": ["541512", "541519"],
  "awardingAgencies": ["Department of Veterans Affairs"],
  "setAsideTypes": ["SDVOSBC"],
  "minAwardValue": 1000000,
  "maxResults": 100,
  "onlyNew": true
}
```

### What data do you get for each expiring contract?

One dataset item per contract:

```json
{
  "awardId": "CONT_AWD_36C10B22C0001_3600_-NONE-_-NONE-",
  "piid": "36C10B22C0001",
  "parentIdvPiid": null,
  "recipientName": "ACME FEDERAL SOLUTIONS LLC",
  "recipientUei": "ABCDEF123456",
  "parentRecipientName": "ACME HOLDINGS INC",
  "awardingAgency": "Department of Veterans Affairs",
  "awardingSubAgency": "Veterans Affairs, Department of",
  "awardingOffice": "TECHNOLOGY ACQUISITION CENTER NJ (36C10B)",
  "contractType": "DEFINITIVE CONTRACT",
  "naicsCode": "541512",
  "naicsDescription": "COMPUTER SYSTEMS DESIGN SERVICES",
  "pscCode": "DA01",
  "pscDescription": "IT AND TELECOM - BUSINESS APPLICATION/APPLICATION DEVELOPMENT SUPPORT SERVICES (LABOR)",
  "description": "IT OPERATIONS AND MAINTENANCE SUPPORT SERVICES",
  "setAsideType": "SDVOSBC",
  "setAsideDescription": "SERVICE DISABLED VETERAN OWNED SMALL BUSINESS SET-ASIDE",
  "extentCompeted": "FULL AND OPEN COMPETITION",
  "pricingType": "FIRM FIXED PRICE",
  "numberOfOffers": 3,
  "obligatedAmount": 4250000.5,
  "outlayedAmount": 3100000,
  "currentValue": 5100000,
  "potentialValue": 8750000,
  "startDate": "2022-04-01",
  "currentEndDate": "2027-03-29",
  "potentialEndDate": "2029-03-31",
  "daysUntilExpiry": 181,
  "placeOfPerformance": {
    "city": "ARLINGTON",
    "county": "ARLINGTON",
    "state": "VA",
    "zip": "22201",
    "country": "USA"
  },
  "lastModifiedDate": "2026-08-14",
  "usaspendingUrl": "https://www.usaspending.gov/award/CONT_AWD_36C10B22C0001_3600_-NONE-_-NONE-"
}
```

(This is an illustrative record. Real values come from USAspending.)

**Field notes**

- `obligatedAmount` is the amount obligated so far. `currentValue` is the base plus exercised options. `potentialValue` is the base plus all options.
- `currentEndDate` is the end date as currently modified. `potentialEndDate` assumes every option is exercised. A contract whose potential end date is well past its current end date may be extended instead of recompeted.
- Detail-only fields (`potentialValue`, `potentialEndDate`, `setAsideType`, `awardingOffice` and similar) are `null` when `includeDetails` is off.

### How much does it cost to find federal recompetes?

This actor is priced **per result** (pay-per-event):

| Event                                     | Price     |
| ----------------------------------------- | --------- |
| Contract result (one item in the dataset) | **$0.01** |

For example, 100 contracts cost $1.00, and a weekly delta-mode alert that returns 20 new contracts costs about $0.20. If you set a **maximum cost per run**, the actor stops cleanly when it reaches that limit, so you never pay more than you set.

### Tips for finding federal recompete opportunities

- **Weekly alerts:** schedule the actor with `onlyNew: true` and connect it to email, Slack or Google Sheets through Apify integrations. Each run returns only newly surfaced contracts.
- **Agency names** must match USAspending exactly, for example "Department of Defense" or "Department of Homeland Security". Check spelling on usaspending.gov if you get zero results.
- **IDVs** (GWACs, IDIQs, BPAs themselves) aren't included. The actor covers the contract awards and task/delivery orders under them.
- The data comes from FPDS through USAspending and usually lags by a few days. DoD data is published with a 90-day delay.

### Federal recompete radar FAQ

**Is this data official?** Yes. It comes from USAspending.gov, the official source for federal spending data (DATA Act).

**Why is a contract missing?** Some awards are classified or unreported, and some are recorded under a different NAICS or PSC than you expect. Try broader NAICS prefixes or keywords.

**Can I use it through the API or with AI agents?** Yes. Call it through the Apify API, the MCP server or any Apify integration.

**Disclaimer:** This actor is not affiliated with USAspending.gov or the US Government. Always confirm opportunities on SAM.gov.

### Related actors

- [new-business-registrations](https://apify.com/cprussin/new-business-registrations): New LLC and corporation filings from state open-data portals.
- [trustpilot-reviews](https://apify.com/cprussin/trustpilot-reviews): Trustpilot reviews, ratings and TrustScore for any company.

# Actor input Schema

## `endsInMonthsMin` (type: `integer`):

Only contracts whose current period of performance ends at least this many months from today. Use 0 to include contracts ending now.

## `endsInMonthsMax` (type: `integer`):

Only contracts whose current period of performance ends at most this many months from today.

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

NAICS codes to include, e.g. 541512 (Computer Systems Design Services). 2- or 4-digit prefixes are accepted. Leave empty for all industries.

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

Product/Service Codes to include, e.g. DA01 or R425.

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

Free-text keywords matched against award descriptions and other fields.

## `awardTypes` (type: `array`):

USAspending contract type codes: A = BPA call, B = purchase order, C = delivery order, D = definitive contract. Default: all four.

## `awardingAgencies` (type: `array`):

Exact USAspending top-tier agency names, e.g. "Department of Defense", "Department of Veterans Affairs".

## `awardingSubAgencies` (type: `array`):

Exact USAspending sub-tier agency names, e.g. "Department of the Army", "Defense Information Systems Agency".

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

Two-letter US state codes, e.g. VA, MD, DC.

## `setAsideTypes` (type: `array`):

FPDS set-aside codes, e.g. SBA (small business), 8A, 8AN (8(a) sole source), HZC (HUBZone), SDVOSBC (service-disabled veteran), WOSB, EDWOSB, NONE.

## `minAwardValue` (type: `integer`):

Minimum total obligated amount of the award.

## `maxAwardValue` (type: `integer`):

Maximum total obligated amount of the award.

## `minPotentialValue` (type: `integer`):

Minimum base-and-all-options value. Applied after fetching award details.

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

Maximum number of contracts to return. Each result is billed as one event.

## `includeDetails` (type: `boolean`):

Fetch each award's detail record for potential end date, potential value, set-aside, contracting office and PIID. Slower but much richer.

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

Skip contracts already returned by earlier runs with the same search settings. Ideal for scheduled weekly alerts.

## Actor input object example

```json
{
  "endsInMonthsMin": 6,
  "endsInMonthsMax": 18,
  "naicsCodes": [
    "541512"
  ],
  "minAwardValue": 1000000,
  "maxResults": 25,
  "includeDetails": true,
  "onlyNew": false
}
```

# 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 = {
    "endsInMonthsMin": 6,
    "endsInMonthsMax": 18,
    "naicsCodes": [
        "541512"
    ],
    "minAwardValue": 1000000,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("cprussin/federal-recompete-radar").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 = {
    "endsInMonthsMin": 6,
    "endsInMonthsMax": 18,
    "naicsCodes": ["541512"],
    "minAwardValue": 1000000,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("cprussin/federal-recompete-radar").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 '{
  "endsInMonthsMin": 6,
  "endsInMonthsMax": 18,
  "naicsCodes": [
    "541512"
  ],
  "minAwardValue": 1000000,
  "maxResults": 25
}' |
apify call cprussin/federal-recompete-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cprussin/federal-recompete-radar"
        }
    }
}
```

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/njRwoclnp0BtDTlB2/builds/FuqsMb89sE41JmyXb/openapi.json
