# USAspending Awards Search: Federal Contracts (`brotherly_elm/award-radar`) Actor

Search bounded federal contract award records from USAspending.

- **URL**: https://apify.com/brotherly_elm/award-radar.md
- **Developed by:** [Iris](https://apify.com/brotherly_elm) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 award records

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

## Award Radar

The public data sources for this Actor are USAspending public award search API.

### Input examples

```json
{}
```

```json
{"keyword": "health", "maxRows": 10}
```

```json
{"state": "VA", "naics": "541512", "actionDateFrom": "2025-01-01", "actionDateTo": "2025-12-31", "maxRows": 10}
```

### Sample output

Saved real-run output (privacy-limited projection; prior sample in the copied source README; not a fresh run).

```json
{"amount": 51269205263.03, "awardingAgency": "Department of Defense", "end": "2025-12-31", "id": "CONT_AWD_HT940216C0001_9700_-NONE-_-NONE-", "start": "2016-08-01", "state": "KY"}
```

```json
{"amount": 48063737196.35, "awardingAgency": "Department of Energy", "end": "2017-04-30", "id": "CONT_AWD_DEAC0494AL85000_8900_-NONE-_-NONE-", "start": "1993-10-15", "state": "NM"}
```

```json
{"amount": 44093914875.26, "awardingAgency": "Department of Energy", "end": "2027-04-30", "id": "CONT_AWD_DENA0003525_8900_-NONE-_-NONE-", "start": "2017-01-18", "state": "NM"}
```

### Price

Pricing snapshot dated 2026-11-17 lists primary per-result price **$0.001500 USD** and Actor-start event **$0.000050 USD**. A 50-row default-cap run is $0.075050 (50 × $0.001500 + one start × $0.000050); actual cost depends on rows returned. 1,000 rows across 20 runs capped at 50 each estimate $1.501000 (1,000 × $0.001500 + 20 starts × $0.000050). These are snapshot prices, not a quote; verify current pricing before running.

### Use from an AI agent or the API

Actor path: `brotherly_elm/award-radar`. Start with JSON input `{}`; example input: `{"keyword": "health", "maxRows": 10}`.

### Limits

Queries are bounded; source data may be stale, incomplete, changed or unavailable. Zero results do not prove no matching data exists. Check records at their public source before relying on them. The default row limit is 50; filters, source coverage and response limits can reduce results. Sample rows above are not demand evidence.

### Related Actors

- [`brotherly_elm/hiring-radar`](https://apify.com/brotherly_elm/hiring-radar)
- [`brotherly_elm/tender-radar`](https://apify.com/brotherly_elm/tender-radar)
- [`brotherly_elm/tender-radar-eu`](https://apify.com/brotherly_elm/tender-radar-eu)
- [`brotherly_elm/grant-radar`](https://apify.com/brotherly_elm/grant-radar)

# Actor input Schema

## `selfTest` (type: `boolean`):

Use the checked-in synthetic awards fixture; no HTTP or socket access Format: boolean. allowed values: true or false. Example: false.

## `keyword` (type: `string`):

Optional recipient/award keyword search Format: string. allowed values: any string. Example: "".

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

Optional awarding agency name or code Format: string. allowed values: any string. Example: "".

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

Optional NAICS code Format: string. allowed values: any string. Example: "".

## `state` (type: `string`):

Optional two-letter US state code; leave blank for any state. Format: string. allowed values: blank or exactly two letters. Example: "".

## `actionDateFrom` (type: `string`):

Inclusive start of the action-date window (YYYY-MM-DD); must be supplied together with actionDateTo. Leave blank when not filtering by dates. Format: date. Example: "2025-01-01".

## `actionDateTo` (type: `string`):

Inclusive end of the action-date window (YYYY-MM-DD); must be supplied together with actionDateFrom and be on or after it. Leave blank when not filtering by dates. Format: date. Example: "2025-12-31".

## `maxRows` (type: `integer`):

Maximum number of award rows (hard ceiling 500) Format: integer. allowed values: integer 1–500. Example: 50.

## Actor input object example

```json
{
  "selfTest": false,
  "keyword": "",
  "awardingAgency": "",
  "naics": "",
  "state": "",
  "actionDateFrom": "",
  "actionDateTo": "",
  "maxRows": 50
}
```

# Actor output Schema

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

No description

## `coverage` (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 = {
    "selfTest": false,
    "keyword": "",
    "awardingAgency": "",
    "naics": "",
    "state": "",
    "actionDateFrom": "",
    "actionDateTo": "",
    "maxRows": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("brotherly_elm/award-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 = {
    "selfTest": False,
    "keyword": "",
    "awardingAgency": "",
    "naics": "",
    "state": "",
    "actionDateFrom": "",
    "actionDateTo": "",
    "maxRows": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("brotherly_elm/award-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 '{
  "selfTest": false,
  "keyword": "",
  "awardingAgency": "",
  "naics": "",
  "state": "",
  "actionDateFrom": "",
  "actionDateTo": "",
  "maxRows": 50
}' |
apify call brotherly_elm/award-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,brotherly_elm/award-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/WmFAyDDanK89bN31a/builds/CkS0GZFofFgsYhcSd/openapi.json
