# US Federal Awards Search — Contracts & Grants Winners (`openregistry/us-federal-awards-search`) Actor

Find who wins US federal contracts, grants and loans, from the open USAspending.gov API. Filter by keyword, agency, dates, amount, state, NAICS and recipient. One flat row per award with recipient address, amounts and links.

- **URL**: https://apify.com/openregistry/us-federal-awards-search.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 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

## US Federal Awards Search — Contracts & Grants Winners

See who wins US federal money: contracts, indefinite delivery vehicles, grants, direct payments and loans, read from the **open USAspending.gov API** (`api.usaspending.gov`, no key needed).

No login, no cookies, no proxy, no browser. This is an independent tool, not affiliated with or endorsed by the US government.

### What it is good for

- **Government sales leads**: companies that just won a contract in your field need subcontractors, staff, software, insurance and office space. Filter *new awards only* over the last week and you have a fresh list with addresses.
- **Competitor watch**: follow what a named company or UEI wins, from which agency and for how much.
- **Market sizing**: every award above an amount for a NAICS code, an agency or a state.
- **Grant research**: which organizations received funding under a given assistance listing, and how much.
- **Journalism and due diligence**: award history of a recipient since 2007.

### What you get for each award

| Field | Example |
|---|---|
| `awardId`, `awardGroup`, `awardType` | FA862118F6251, contracts, DELIVERY ORDER |
| `recipientName`, `recipientUei` | LOCKHEED MARTIN CORPORATION, KDT2YLB34NT6 |
| `amount`, `totalOutlays` | 666315748.84, 242708.65 |
| `description` | free-text purpose of the award |
| `awardingAgency`, `awardingSubAgency`, `fundingAgency`, `fundingSubAgency` | Department of Defense, Department of the Air Force |
| `startDate`, `endDate`, `baseObligationDate`, `lastModifiedDate` | 2018-02-08, 2027-01-31 |
| `recipientAddress`, `recipientCity`, `recipientState`, `recipientZip`, `recipientCounty` | 100 GLOBAL INNOVATION CIR, ORLANDO, FL, 32825 |
| `performanceCity`, `performanceState`, `performanceZip` | where the work is done |
| `naicsCode`, `naicsDescription`, `pscCode`, `pscDescription` | 336413, J069 (contracts) |
| `assistanceListings` | program number and title (grants, loans, payments) |
| `awardUrl`, `recipientUrl` | direct links to the award and recipient pages |

Loans carry their face value in `amount` and their `loanSubsidyCost`.

### Input

Give at least one filter. Everything else is optional.

```json
{
  "keywords": ["cybersecurity"],
  "awardTypes": ["contracts"],
  "awardingAgencies": ["DOD", "Department of Homeland Security"],
  "dateFrom": "2026-10-01",
  "dateType": "newAwards",
  "minAmount": 250000,
  "recipientStates": ["VA", "MD"],
  "maxResults": 500
}
```

- **Agencies** accept the full name or the usual abbreviation (DOD, NASA, HHS, GSA…). The Actor checks them against the reference list first: a typo stops the run with suggestions instead of quietly returning nothing.
- **Award types** are searched one by one and interleaved, so asking for contracts and grants with a small maximum gives you both.
- **Sort** decides what you receive first when you cap the number of results: largest amounts by default, or latest start date, or last modified.

### Limits to know

- The search covers awards from fiscal year 2008 (1 October 2007) onward.
- Each row is a prime award, summed over its modifications. Individual transactions and sub-awards are not listed.
- Amounts and descriptions are what agencies reported; some descriptions are terse or coded.
- Recipient contact names, e-mails and phone numbers are not part of this data set. You get the legal name, UEI and address.
- Very recent awards can take days to weeks to appear, depending on the agency (the Department of Defense delays publication by about 90 days).

### Personal data

Recipients are mostly organizations, but some awards go to individuals or sole proprietors, whose name and address are then published by the source. This Actor returns only what USAspending.gov publishes. You are responsible for using the data in line with the laws that apply to you.

### Pricing

Pay per award delivered. `maxResults` caps the bill, and duplicates are never charged.

### Step-by-step guide

- [Find who wins US federal contracts in your NAICS code (USAspending, export to Excel)](https://app.mahedesk.com/outils/guides/find-federal-contract-winners-naics/)

# Actor input Schema

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

Words or phrases searched in the award description, recipient and codes, e.g. cybersecurity, solar, broadband. At least 3 characters each. An award matches if it contains any of them.

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

Each type is searched separately and the results are interleaved, so every type you pick is represented.

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

Full name or abbreviation of top-tier agencies, e.g. Department of Defense, DOD, NASA, HHS. Unknown names stop the run with suggestions.

## `fundingAgencies` (type: `array`):

Same format as awarding agencies, for the agency that pays.

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

Start of the period (YYYY-MM-DD). The search covers awards from 2007-10-01 onward.

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

End of the period (YYYY-MM-DD).

## `dateType` (type: `string`):

Pick New awards only to list fresh winners, e.g. for a weekly watch.

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

Keep awards of at least this amount.

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

Keep awards of at most this amount.

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

Two-letter codes of the states where recipients are located, e.g. TX, VA.

## `performanceStates` (type: `array`):

Two-letter codes of the states where the work is performed.

## `recipientNames` (type: `array`):

Recipient name fragments or UEI numbers, e.g. Leidos, to follow specific companies or competitors.

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

Industry codes for contracts, e.g. 541512 (computer systems design). A shorter prefix such as 5415 covers the whole group.

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

Contract PSC codes, e.g. D302, R425.

## `assistanceListings` (type: `array`):

Program numbers for grants, loans and payments, e.g. 10.855.

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

With a maximum number of results, the sort decides which awards you get first.

## `sortOrder` (type: `string`):

Direction of the sort.

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

The run stops once this many awards are delivered, so you control the cost.

## Actor input object example

```json
{
  "keywords": [
    "cybersecurity"
  ],
  "awardTypes": [
    "contracts",
    "grants"
  ],
  "dateType": "action",
  "sortBy": "amount",
  "sortOrder": "desc",
  "maxResults": 100
}
```

# Actor output Schema

## `awards` (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 = {
    "keywords": [
        "cybersecurity"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/us-federal-awards-search").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": ["cybersecurity"] }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/us-federal-awards-search").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 '{
  "keywords": [
    "cybersecurity"
  ]
}' |
apify call openregistry/us-federal-awards-search --silent --output-dataset

```

## MCP server setup

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

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/vrijVNTJ0sEPPsRRd/builds/QM4Uj2ykF7Gqd8zAN/openapi.json
