# GovCon Recompetes: expiring contracts by NAICS + incumbent (`citature/govcon-recompetes`) Actor

Federal contracts whose period of performance ends within a month window, soonest first — the recompete pipeline. Filter by NAICS and awarding agency. Every row names the incumbent (by UEI) and its obligated total, with a receipt: source URL, retrieval time, caveats, and guardrails.

- **URL**: https://apify.com/citature/govcon-recompetes.md
- **Developed by:** [citature](https://apify.com/citature) (community)
- **Categories:** AI, Lead generation
- **Stats:** 2 total users, 0 monthly users, 96.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$150.00 / 1,000 answer serveds

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/platform/actors/running/actors-in-store#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

## GovCon Recompetes — contracts expiring soon, with the incumbent

Which federal contracts **in your NAICS expire soon, who holds them, and what did
they charge?** This actor returns the recompete pipeline: contracts whose period of
performance ends within a month window, soonest first, each row naming the
incumbent and its obligated dollars — with a full citation receipt.

Built for capture and business-development teams who need a defensible pipeline of
upcoming recompetes, and for AI agents doing the same research, with the exact
public source attached to every number.

Data comes straight from **USASpending.gov** — the primary, public-domain federal
record of contract awards. No aggregator, no scoring, no editorializing.

### What you can ask

- Which contracts in **NAICS 541512** (IT services) expire between **2025-07** and
  **2026-06**, and who are the **incumbents**?
- What is the **Department of Defense** recompete pipeline for the next year?
- Sorted soonest-first, what expires next in my market, and how big is each?

Keywords: government contracts, recompete, period of performance, contract
expiration, incumbent, NAICS, capture management, business development, GovCon,
federal contracting, contract pipeline, USAspending, awarding agency, UEI,
contract vehicles, defense contracts, re-compete, opportunity pipeline.

### Input

| Field | Type | Required | Notes |
|---|---|---|---|
| `expiring_from` | string `YYYY-MM` | yes | First expiry month. |
| `expiring_to` | string `YYYY-MM` | yes | Last expiry month. |
| `naics` | string | no | NAICS code or 2–6 digit prefix. |
| `agency` | string | no | Awarding-agency name prefix. |
| `limit` | integer 1–500 | no (default 50) | Max rows. |

```json
{ "expiring_from": "2025-07", "expiring_to": "2026-06", "naics": "5415", "limit": 25 }
```

### Output — an answer with a receipt

The actor returns one receipt object (also stored as the run's `OUTPUT`). The
`answer` is the list of expiring contracts; `matches` declares the exact
cross-source joins the answer relied on, and `citations` is the exact source you
can re-run yourself.

```json
{
  "answer": [
    {
      "contract_award_id": "CONT_AWD_…",
      "piid": "W58RGZ21C0011",
      "expiry_month": "2025-09",
      "pop_end_date": "2025-09-29",
      "award_type": "contract",
      "naics_code": "541512",
      "naics_description": "COMPUTER SYSTEMS DESIGN SERVICES",
      "awarding_agency": "Department of Defense",
      "awarding_agency_code": "097",
      "recipient_uei": "ABC123DEF456",
      "recipient_name": "EXAMPLE CONTRACTOR INC",
      "amount_cents": 4250000000,
      "fiscal_year": 2022
    }
  ],
  "matches": [
    {
      "match_method": "exact",
      "left_key": "usaspending.recipient_uei",
      "right_key": "citature.entity_recipient.uei"
    },
    {
      "match_method": "exact",
      "left_key": "usaspending.awarding_agency_code",
      "right_key": "citature.entity_agency_code.agency_code"
    }
  ],
  "coverage": [
    "Coverage reflects records currently in citature's dataset, not the full upstream history.",
    "Recompete timing reflects each contract's current period-of-performance end date as reported to the awarding agency; option years and modifications can push the actual recompete later."
  ],
  "guardrails": [
    "Research over public-domain federal records — not legal, financial, or eligibility advice.",
    "citature reports what the record says. It never renders a compliance verdict, a screening pass/fail, or a recommendation.",
    "Entity-level records only (committees, candidates, recipients, agencies, contracts). No individual-person data."
  ],
  "schema_version": "0.1.0"
}
```

Money is always integer **cents** (`amount_cents`). The incumbent is resolved on
the **UEI** (the universal federal awardee key) and the agency on its official
**toptier code** — both exact joins, declared in `matches`.

### Guardrails

- Research over public-domain federal records — **not** legal, financial, or
  eligibility advice.
- Recompete timing reflects the reported period-of-performance end date. Option
  years and modifications can push the actual recompete later.
- citature reports what the record says. It never renders a determination or a
  recommendation.
- Entity-level records only. No individual-person data is ever returned.

### Pricing

Pay per successful answer. You are charged only when an answer is served; a
rejected or failed request is never billed.

# Actor input Schema

## `expiring_from` (type: `string`):

First period-of-performance end month to include, YYYY-MM.

## `expiring_to` (type: `string`):

Last period-of-performance end month to include, YYYY-MM.

## `naics` (type: `string`):

Restrict to a NAICS code or a hierarchical prefix, 2 to 6 digits (e.g. 5415 for all IT services).

## `agency` (type: `string`):

Restrict to an awarding agency by the start of its name (e.g. Department of Defense).

## `limit` (type: `integer`):

Maximum number of expiring contracts to return (1 to 500).

## Actor input object example

```json
{
  "expiring_from": "2025-07",
  "expiring_to": "2026-06",
  "limit": 50
}
```

# Actor output Schema

## `receipts` (type: `string`):

No description

## `receipt` (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 = {
    "expiring_from": "2025-07",
    "expiring_to": "2026-06"
};

// Run the Actor and wait for it to finish
const run = await client.actor("citature/govcon-recompetes").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 = {
    "expiring_from": "2025-07",
    "expiring_to": "2026-06",
}

# Run the Actor and wait for it to finish
run = client.actor("citature/govcon-recompetes").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 '{
  "expiring_from": "2025-07",
  "expiring_to": "2026-06"
}' |
apify call citature/govcon-recompetes --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=citature/govcon-recompetes",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Hpoa3R8heQzqY91QF/builds/eCp3WQaU7bNrMWW0G/openapi.json
