# Federal Contract Awards Tracker: New US Government Awards (`datacrate/federal-contract-awards-tracker`) Actor

Who just won US federal contracts? New contract, IDV, grant and loan awards from the official USAspending API. Filter by agency, NAICS, PSC, state, recipient, set-aside and amount. Delta mode for daily alerts.

- **URL**: https://apify.com/datacrate/federal-contract-awards-tracker.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (community)
- **Categories:** Lead generation, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 federal award returneds

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

## Federal Contract Awards Tracker: new US government contracts, grants and loans

**See who just won federal money, as clean rows you can schedule, filter and diff.** This actor reads the official USAspending.gov API and returns newly awarded federal contracts, IDVs (IDIQ, BPA, GWAC, schedule vehicles), grants and loans with the recipient, awarding agency, amount, NAICS and PSC codes, place of performance, dates and a link to the award page. Filter by agency, industry, state, recipient, set-aside and size. Delta mode returns only awards you have not seen yet.

**First run cost:** the default run returns the 25 largest new contracts of the last 7 days for about **$0.0375** at **$0.0015 per result** (the first 5 seconds of compute are covered by Apify). 1,000 results cost about **$1.50**, less on higher Apify plans.

This is the *post-award* side of government sales: use it to see competitors' wins, find subcontracting targets, size a market or spot recompete dates. For open solicitations that are still bidding, use our [Government Contract Opportunities](https://apify.com/datacrate/gov-contract-opportunities) actor.

### Who it is for

- **Business developers and capture teams** who need a weekly list of new awards in their NAICS codes and states.
- **Subcontractors and suppliers** looking for prime contractors that just won large work.
- **Investors and analysts** following which listed companies win government contracts.
- **Journalists and watchdogs** tracking large awards by agency.
- **Agents and dashboards** that need a stable JSON feed of federal spending.

### What you get per award

`rank`, `kind` (contract, idv, grant, loan), `awardId`, `generatedId`, `recipientName`, `recipientUei`, `amountUsd`, `totalOutlaysUsd`, `subsidyCostUsd` (loans), `awardingAgency`, `awardingSubAgency`, `fundingAgency`, `awardType`, `parentAwardId`, `naicsCode` and `naicsDescription`, `pscCode` and `pscDescription`, `assistanceListings` (grants and loans), `description`, `baseObligationDate`, `startDate`, `endDate`, `lastModified`, `placeCity`, `placeState`, `placeZip`, `recipientCity`, `recipientState`, `recipientCountry`, `changeType` (new or updated in delta mode), `url`, `checkedAt`.

### Input

| Field | Meaning |
|---|---|
| `awardKind` | `contracts`, `idvs`, `grants`, `loans` |
| `sinceDays` | look back window, 1 to 365 days (default 7) |
| `dateMode` | `newAwardsOnly` (first obligation in the window) or `anyActivity` (also modifications) |
| `keywords`, `awardingAgencies`, `naicsCodes`, `pscCodes`, `placeStates`, `recipientSearch`, `setAsideCodes` | narrow the list |
| `minAmount`, `maxAmount` | award size in USD |
| `sortBy` | `amount`, `lastModified`, `startDate` |
| `maxItems` | cap on rows and cost (default 25) |
| `onlyNewSinceLastRun`, `stateKey` | delta mode, one watchlist per state name |

Default input:

```json
{ "awardKind": "contracts", "sinceDays": 7, "maxItems": 25 }
```

New small-business IT awards over $100,000 in Virginia, once each:

```json
{ "awardKind": "contracts", "sinceDays": 14, "naicsCodes": ["5415"], "placeStates": ["VA"], "setAsideCodes": ["SBA"], "minAmount": 100000, "onlyNewSinceLastRun": true, "maxItems": 200 }
```

### Sample output (trimmed)

```json
{
  "kind": "contract",
  "awardId": "70ZS0727FPCNI0002",
  "recipientName": "WHITING-TURNER CONTRACTING COMPANY, THE",
  "amountUsd": 155000000,
  "awardingAgency": "Department of Homeland Security",
  "awardingSubAgency": "U.S. Coast Guard",
  "awardType": "DELIVERY ORDER",
  "naicsCode": "236220",
  "pscCode": "Y1CZ",
  "placeState": "CT",
  "baseObligationDate": "2026-11-16",
  "url": "https://www.usaspending.gov/award/CONT_AWD_70ZS0727FPCNI0002_7008_70Z04723DPCNI0006_7008"
}
```

### FAQ

**How fresh is the data?** Civilian agencies report contract awards within days. Department of Defense contract data is published by DoD with a delay of up to about 90 days, so DoD awards appear later than the rest. Grant and loan data is reported monthly and can lag by weeks; if a short window returns nothing for grants, widen `sinceDays`.

**What is the difference between new awards and any activity?** `newAwardsOnly` returns awards whose first obligation falls in your window. `anyActivity` also returns older awards that were modified in the window (options exercised, funding added). With delta mode, a modified award comes back with `changeType: "updated"`.

**Is `amountUsd` the contract value?** It is the total obligated amount reported to USAspending for that award, not necessarily the ceiling value of an IDIQ.

**Personal data?** No individuals' contact details are returned. Recipients are organisations as reported to the government (the government itself redacts individual assistance recipients). Street addresses are not included, only city, state and ZIP of the place of performance and city and state of the recipient.

**Do I need an API key?** No. The USAspending API is open.

### Terms and robots evidence (checked 2026-11-21)

- Data comes from the documented public USAspending API (`api.usaspending.gov/api/v2/search/spending_by_award/`), no login or key. The project describes the API as "open source and provided to the public as part of the DATA Act" and its code is released under CC0.
- `usaspending.gov/robots.txt` allows crawling of the site except PHP and query-string pages; the API host publishes no robots file (HTTP 404) and is documented for programmatic use.
- Federal award data is public information published by the US Treasury. The actor identifies itself with a descriptive User-Agent, makes one request per 100 rows and honours error responses with backoff.

### Integrations

Schedule daily, push new awards to Slack, email or a CRM through a webhook, or call it from an AI agent through the Apify MCP server. Export JSON, CSV or Excel.

### Pricing

Pay per result: **$0.0015 per award row** (volume tiers on higher Apify plans), plus Apify's usual start event. Only rows returned are billed; `maxItems` caps the bill.

### Related actors

[Government Contract Opportunities](https://apify.com/datacrate/gov-contract-opportunities) (open bids), [Federal Register Rules Monitor](https://apify.com/datacrate/federal-register-rules-monitor), [US Tariff HTS Lookup](https://apify.com/datacrate/us-tariff-hts-lookup).

### Changelog

- 1.0: first release (contracts, IDVs, grants, loans; delta mode; set-aside, NAICS, PSC, agency and state filters).

# Actor input Schema

## `awardKind` (type: `string`):

Contracts (purchase orders, definitive contracts, delivery orders), IDVs (indefinite-delivery vehicles and framework agreements), grants (block, formula, project, cooperative agreements) or loans.

## `sinceDays` (type: `integer`):

How many days back to search. Federal agencies report with a delay, so 7 to 30 days is typical.

## `dateMode` (type: `string`):

New awards only = awards first obligated in the period. Any activity = also awards that were modified in the period (adds, option exercises, funding changes).

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

Match words in the award description, e.g. cybersecurity, drones, janitorial. Any keyword matches.

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

Top-tier agency names as shown on USAspending, e.g. Department of Homeland Security, National Aeronautics and Space Administration. Empty = all agencies.

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

Industry codes (contracts and IDVs). A prefix matches the whole branch, e.g. 5415 for computer services.

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

Contracts and IDVs, e.g. D302, R425, 1560.

## `placeStates` (type: `array`):

Two-letter US state codes, e.g. TX, VA.

## `recipientSearch` (type: `string`):

Company or organisation name text, e.g. Lockheed, Booz Allen.

## `setAsideCodes` (type: `array`):

Contracts and IDVs only, e.g. SBA (small business), 8A, HZC (HUBZone), SDVOSBC (service-disabled veteran-owned), WOSB.

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

Keep awards of at least this size.

## `maxAmount` (type: `integer`):

Keep awards up to this size. Leave empty for no limit.

## `sortBy` (type: `string`):

Largest awards first, most recently modified first, or newest start date first.

## `maxItems` (type: `integer`):

Upper bound on rows (and on cost).

## `onlyNewSinceLastRun` (type: `boolean`):

Skip awards returned by an earlier run with the same state name unless they were modified since. The first run returns everything and sets the baseline.

## `stateKey` (type: `string`):

Use different names to keep separate watchlists.

## Actor input object example

```json
{
  "awardKind": "contracts",
  "sinceDays": 7,
  "dateMode": "newAwardsOnly",
  "keywords": [],
  "awardingAgencies": [],
  "naicsCodes": [],
  "pscCodes": [],
  "placeStates": [],
  "setAsideCodes": [],
  "sortBy": "amount",
  "maxItems": 25,
  "onlyNewSinceLastRun": false,
  "stateKey": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per federal award with recipient, agency, amount, NAICS/PSC, place of performance and links.

# 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 = {
    "awardKind": "contracts",
    "sinceDays": 7,
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/federal-contract-awards-tracker").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 = {
    "awardKind": "contracts",
    "sinceDays": 7,
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/federal-contract-awards-tracker").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 '{
  "awardKind": "contracts",
  "sinceDays": 7,
  "maxItems": 25
}' |
apify call datacrate/federal-contract-awards-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacrate/federal-contract-awards-tracker"
        }
    }
}
```

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/o84ZfeUZDO4KXlRfS/builds/NUMhyFruklKauVOaf/openapi.json
