# USAspending Mid-Size Federal Awards Data (`zecro-apps/federal-contract-awards`) Actor

New mid-size US federal contract actions from the public USAspending API. Obligated amounts, set-aside, and sole-proprietor flag. No DUNS, UEI, or street addresses. No API key.

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

## Pricing

from $1.00 / 1,000 contract award

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

## USAspending Mid-Size Federal Awards Data

New mid-size US federal **contract actions** published on [USAspending.gov](https://www.usaspending.gov/), returned as one dataset row per award or order. Amounts are labelled **obligated** — the obligation on that first action, not total or potential contract value.

This Actor is a product of **Zecro LLC**, published by [zecro-apps](https://apify.com/zecro-apps). It is **not affiliated with or endorsed by the U.S. government, USAspending.gov, the U.S. Department of the Treasury, or GSA.**

This Actor is compiled with AI-assisted tooling from public records. Verify figures against the published award record before relying on them. **This is not legal or procurement advice.**

**Contact:** zecroapp@gmail.com

### Licence

Licence: one business may use this data for its own commercial purposes; no resale or redistribution of the files.

### What you get

Each run queries the public, documented, keyless USAspending API and writes qualifying **Mod 0** contract actions (definitive contracts, purchase orders, delivery orders, and BPA calls) whose **obligated** amount on that first action is between $100,000 and $10,000,000 (you can change the range). The default input covers the last **21 calendar days** (ending on the previous weekday in America/Los_Angeles, or today if the run starts at or after 6 PM PT) with `maxResults` set to **10**, so a first run stays small, cheap, and non-empty on weekends and U.S. holidays. Civilian USAspending publications can lag about a week, which this window also covers. You can raise `maxResults` to **1,000** on any plan; 10 is a default, not a free-plan cap.

For each output row, the Actor can also request award detail from the USAspending awards API (one extra API call per row) to fill:

- `set_aside` — the published `type_set_aside_description` (for example “SMALL BUSINESS SET ASIDE - TOTAL”)
- `sole_proprietor` — `Y` when published business categories include a sole proprietorship or individual, otherwise `N`

Street addresses, ZIP codes, DUNS numbers, and UEI are **omitted**. Recipient name, city, and state are included.

If you contact recipients, follow CAN-SPAM, TCPA and Do-Not-Call rules and applicable state laws, and never state or imply government affiliation or that the government referred you. Some recipients may be individuals trading under their own name; treat those rows as personal data. Each row’s `source_url` opens the USAspending award page, which may include names and addresses.

### Coverage and the DoD 90-day delay

USAspending normally publishes civilian contract actions within about a week; **Defense (DoD) and Army Corps of Engineers actions are published after a 90-day delay** and are generally not in recent results.

That wording follows the [USAspending Data Sources](https://www.usaspending.gov/data-sources) page: civilian contract actions are generally reported to FPDS within three business days and published on USAspending a couple of days after that. Submission of Department of Defense and U.S. Army Corps of Engineers data to FPDS is delayed 90 days.

The USAspending search remains free. This Actor is a filtered extract with stable columns and optional set-aside enrichment, not a substitute for that search or a paid bid-matching service.

### Public API only

This Actor uses only the public, documented, keyless USAspending API:

- `POST https://api.usaspending.gov/api/v2/search/spending_by_transaction/`
- `GET https://api.usaspending.gov/api/v2/awards/{generated_internal_id}/` (when `includeSetAside` is on)

It does **not** scrape the USAspending website. Requests are sent at **no more than one per second**, with User-Agent `ZecroLLC zecroapp@gmail.com` (you may set your own). Retries with backoff on HTTP 429/5xx and network errors.

API documentation: [api.usaspending.gov/docs/endpoints](https://api.usaspending.gov/docs/endpoints)

### Dun & Bradstreet attribution

Recipient names and locations may include data supplied by Dun & Bradstreet, Inc. (D\&B).

Commercial reuse of USAspending data is subject to the Limitation on Permissible Use of Dun & Bradstreet, Inc. Data ([usaspending.gov/db_info](https://www.usaspending.gov/db_info), also referenced from [usaspending.gov/about](https://www.usaspending.gov/about)).

The USAspending About page states that the data may be copied, adapted, redistributed, or otherwise used for non-commercial or commercial purposes, subject to that D\&B limitation. D\&B Open Data (business name, street address, city, state, country, county, and ZIP, and related codes) may not be used without written attribution to D\&B and may not be accessed, used, or disseminated **in bulk** as a substitute for a D\&B product. Other D\&B data may not be used for commercial, resale, or marketing purposes.

This Actor ships recipient **name, city, and state**, which are D\&B Open Data element types, and therefore includes the written attribution above. Street addresses, ZIP codes, DUNS numbers, and UEI are omitted.

### How to run

1. Open the Actor and leave the default input, or set `startDate` and `endDate` (`YYYY-MM-DD`).
2. Keep `maxResults` at 10 for a first run, or raise it up to 1,000.
3. Click **Start**. A default 21-day, 10-row run with set-aside enrichment typically finishes in well under a minute, because the Actor stops once `maxResults` is filled.
4. Open the **Dataset** tab and export JSON or CSV. A run summary, including the DoD 90-day delay note and D\&B attribution, is stored as `RUN_SUMMARY`.

To try the same default input locally (no publish step): `apify run --input-file INPUT.local.json`.

#### Example input

```json
{
  "lookbackDays": 21,
  "maxResults": 10,
  "minObligatedAmount": 100000,
  "maxObligatedAmount": 10000000,
  "newAwardsOnly": true,
  "awardTypeCodes": ["A", "B", "C", "D"],
  "includeSetAside": true,
  "userAgent": "ZecroLLC zecroapp@gmail.com"
}
```

### Input

| Field | Default | Notes |
|---|---|---|
| `startDate` / `endDate` | (blank) | `YYYY-MM-DD`. If End date is blank, it is the previous weekday in America/Los_Angeles, or today if the run starts at or after 6 PM PT. |
| `lookbackDays` | **21** | Used only when `startDate` is blank. 1–31 calendar days ending on `endDate`. The default 21-day window covers weekends, U.S. holidays, and the roughly one-week lag on civilian publications. |
| `maxResults` | **10** | Maximum rows after filters, largest obligated amount first. Default 10; you can raise this to 1,000 on any plan. |
| `minObligatedAmount` / `maxObligatedAmount` | 100,000 / 10,000,000 | Applied to the obligation on the first action, not potential value. |
| `newAwardsOnly` | true | Keep modification number 0 only. |
| `awardTypeCodes` | A, B, C, D | Definitive contract, purchase order, delivery order, BPA call. |
| `includeSetAside` | true | One extra award-detail request per output row. |
| `awardingAgency` | (blank) | Optional substring match on agency or sub-agency. |
| `naicsPrefix` | (blank) | Optional NAICS prefix (for example `54`). |
| `recipientState` / `popState` | (blank) | Optional two-letter state codes. |
| `userAgent` | `ZecroLLC zecroapp@gmail.com` | Declared User-Agent. |

### Output

One dataset item per qualifying action:

`action_date`, `award_id`, `generated_internal_id`, `recipient_name`, `award_type`, `mod`, **`obligated_amount`**, `set_aside`, `sole_proprietor`, `awarding_agency`, `awarding_sub_agency`, `naics_code`, `naics_description`, `psc_code`, `psc_description`, `pop_city`, `pop_state`, `pop_country`, `recipient_city`, `recipient_state`, `source_url`.

#### Example output

```json
{
  "action_date": "2026-11-20",
  "award_id": "75FCMC27F0006",
  "generated_internal_id": "CONT_AWD_75FCMC27F0006_7530_GS35F128BA_4732",
  "recipient_name": "NIMBUS CONSULTING LLC",
  "award_type": "DELIVERY ORDER",
  "mod": "0",
  "obligated_amount": "7335233.64",
  "set_aside": "SMALL BUSINESS SET ASIDE - TOTAL",
  "sole_proprietor": "N",
  "awarding_agency": "Department of Health and Human Services",
  "awarding_sub_agency": "Centers for Medicare and Medicaid Services",
  "naics_code": "541511",
  "naics_description": "CUSTOM COMPUTER PROGRAMMING SERVICES",
  "psc_code": "DA01",
  "psc_description": "IT AND TELECOM - BUSINESS APPLICATION/APPLICATION DEVELOPMENT SUPPORT SERVICES (LABOR)",
  "pop_city": "COLUMBIA",
  "pop_state": "MD",
  "pop_country": "UNITED STATES",
  "recipient_city": "COLUMBIA",
  "recipient_state": "MD",
  "source_url": "https://www.usaspending.gov/award/CONT_AWD_75FCMC27F0006_7530_GS35F128BA_4732"
}
```

A run summary, including the DoD 90-day delay note and D\&B attribution, is written to the default key-value store as `RUN_SUMMARY`.

Example of obligated vs potential value, checked live on 24 November 2026 against the USAspending awards API: DynaNet Corporation, award `75N98027F00018`, had **$7,321,038.00 obligated** on the first action, while `base_and_all_options` was **$48,805,844.00**. This Actor reports the obligated figure.

### Pricing (proposed, not yet set on the Store)

Pay per result via Apify’s `apify-default-dataset-item` event:

- **$1.00 per 1,000 award rows** ($0.001 each)
- Actor start: $0.00005 (one event per GB of memory, minimum one)

The default input returns up to 10 rows, so a first run — including on a free Apify plan — stays small and cheap. `maxResults` can be raised to 1,000 on any plan. You are not charged for skipped API pages — only for rows written to the dataset.

This proposed price sits at the low end of live USAspending Actors checked on 24 November 2026 (America/Los_Angeles), which ranged from $0.50 to $12.00 per 1,000 results. It is recommended over the $0.50 floor so award-detail enrichment and Apify’s 80% payout still leave margin.

### Limits

- Date window: at most 31 calendar days per run.
- `maxResults`: 1–1,000 (default 10). The Actor stops paging the search API once the cap is filled.
- DoD and Army Corps awards generally appear only after the 90-day delay.
- The Actor does not scrape usaspending.gov HTML and does not return DUNS numbers, UEI, street addresses, or ZIP codes.

### Contact and governing law

Questions about this product: zecroapp@gmail.com

© 2026 Zecro LLC. Washington State governing law.

# Actor input Schema

## `startDate` (type: `string`):

First action date to include, YYYY-MM-DD. Leave blank to start lookbackDays before End date (or before the default end date).

## `endDate` (type: `string`):

Last action date to include, YYYY-MM-DD. Leave blank to use the previous weekday in America/Los_Angeles (or today if the run starts at/after 6 PM PT).

## `lookbackDays` (type: `integer`):

If Start date is blank, cover this many calendar days ending on End date. Ignored when Start date is set. Cap is 31. The default of 21 covers weekends, U.S. holidays, and the roughly one-week lag on civilian USAspending publications. DoD and Army Corps actions lag about 90 days.

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

Maximum number of output rows after filters, largest obligated amount first. Defaults to 10 so a first run stays small and cheap. You can raise this up to 1,000 on any plan.

## `minObligatedAmount` (type: `number`):

Keep a row only if the obligated amount on that first action is at least this amount. This is not total or potential contract value.

## `maxObligatedAmount` (type: `number`):

Keep a row only if the obligated amount on that first action is at most this amount.

## `newAwardsOnly` (type: `boolean`):

When on, only modification number 0 is kept (a new award or order, not a later modification).

## `awardTypeCodes` (type: `array`):

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

## `includeSetAside` (type: `boolean`):

When on, one awards-API request is made per output row to fill set_aside and sole_proprietor. This adds about one second per row. Leave on for the default 10-row run.

## `awardingAgency` (type: `string`):

Optional case-insensitive substring match on awarding agency or sub-agency. Leave blank for all agencies.

## `naicsPrefix` (type: `string`):

Optional NAICS code prefix, for example 54 or 541512. Leave blank for all industries.

## `recipientState` (type: `string`):

Optional two-letter recipient state code, for example CA. Street addresses are never included.

## `popState` (type: `string`):

Optional two-letter place-of-performance state code.

## `userAgent` (type: `string`):

Declared User-Agent sent to the public USAspending API. The default identifies this Actor.

## Actor input object example

```json
{
  "lookbackDays": 21,
  "maxResults": 10,
  "minObligatedAmount": 100000,
  "maxObligatedAmount": 10000000,
  "newAwardsOnly": true,
  "awardTypeCodes": [
    "A",
    "B",
    "C",
    "D"
  ],
  "includeSetAside": true,
  "userAgent": "ZecroLLC zecroapp@gmail.com"
}
```

# Actor output Schema

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

Default dataset items: mid-size US federal contract actions that passed the Actor filters.

# 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 = {
    "lookbackDays": 21,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("zecro-apps/federal-contract-awards").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 = {
    "lookbackDays": 21,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("zecro-apps/federal-contract-awards").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 '{
  "lookbackDays": 21,
  "maxResults": 10
}' |
apify call zecro-apps/federal-contract-awards --silent --output-dataset

```

## MCP server setup

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

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/9Glel82oTrjTPg0VS/builds/XCk159lVv6r5J0STA/openapi.json
