# Government Grants & Federal Contracts Scraper | 2Space (`2space/gov-grants-contracts-radar`) Actor

Fast government grants and federal contracts scraper for Grants.gov, USAspending.gov, and SBIR.gov. Scrape open RFPs, awarded contracts, funding amounts, and recipient websites in JSON/CSV.

- **URL**: https://apify.com/2space/gov-grants-contracts-radar.md
- **Developed by:** [2Space Group](https://apify.com/2space) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 awards or grant extracted

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

> **Built by 2Space Group** — Fast, lightweight AI & B2B data Actors on Apify. Zero browser bloat, predictable Pay-Per-Event pricing, and 1-step MCP support for ChatGPT, Claude Code, Cursor, Antigravity & n8n.

Looking for a fast **government grants scraper**, **federal contracts API**, and **Grants.gov USAspending SBIR extractor** with zero headless browsers or external LLM costs? **US Federal Grants, SBIR & USAspending Award Radar** (`reminiscent_medaka/gov-grants-contracts-radar`) queries official U.S. government REST APIs (`api.grants.gov`, `api.usaspending.gov`, and `api.www.sbir.gov`) directly and normalizes open RFPs, awarded federal contracts, and SBIR/STTR awards into flat, CRM-ready JSON records.

***

### Features

- **Official Government APIs (No API Keys Required)**: Queries `Grants.gov` for open/forecasted RFPs, `USAspending.gov` for awarded federal contracts and grants, and `SBIR.gov` for SBIR/STTR Phase I/II winners.
- **Two High-Value B2B & GovCon Workflows**:
  1. **Grant & RFP Discovery (`grants_gov`)**: Track open federal opportunities enriched with `awardCeilingUsd`, `awardFloorUsd`, `cfdaNumber`, and `eligibilitySummary`.
  2. **Funded Buyer Intelligence (`usaspending`, `sbir`)**: Discover contractors, universities, and biotech/deeptech startups that recently won federal funding (`awardAmountUsd`, `recipientName`, `recipientCity`, `recipientState`, `recipientWebsite`, `naicsCode`).
- **Per-Source Fault Isolation & `RUN_DIAGNOSTICS`**: If one upstream government API returns a temporary error or maintenance status, the remaining sources finish cleanly and write full diagnostics to `RUN_DIAGNOSTICS` in the Key-Value Store.
- **No Data, No Charge & Pre-Charge Caps**: `award-extracted` charges only on valid pushed records, and `awardee-domain-matched` charges only when `recipientWebsite` is present and normalized, strictly bounded by `maxItems` and `maxCostUsd`.

#### Extracted Data Fields

| Field | Type | Description |
| :--- | :--- | :--- |
| `source` | `string` | `"grants_gov"`, `"usaspending"`, or `"sbir"` |
| `opportunityOrAwardId` | `string` | Official grant opportunity number or contract/award ID |
| `title` / `agencyName` | `string` | Opportunity/award title and awarding federal agency |
| `status` | `string` | Opportunity status (`posted`, `forecasted`) or award type |
| `postedDate` / `closeDate` | `string \| null` | ISO `YYYY-MM-DD` posting/start and close/end dates |
| `awardCeilingUsd` / `awardFloorUsd` / `awardAmountUsd` | `number \| null` | Funding ceiling, floor, or awarded USD amount |
| `recipientName` / `recipientCity` / `recipientState` | `string \| null` | Winning contractor or grantee details |
| `recipientWebsite` | `string \| null` | Normalized company website (when published by source) |
| `naicsCode` / `cfdaNumber` / `eligibilitySummary` | `string \| null` | Industry classification, CFDA code, and eligibility metadata |
| `sourceUrl` | `string` | Canonical link to Grants.gov, USAspending.gov, or SBIR.gov |

***

### Input & Output Examples

See the **Input** tab in Apify Console for all filters (`sources`, `keywords`, `agencyCodes`, `minAwardUsd`, `maxAwardUsd`, `postedWithinDays`, `openOnly`, `enrichDetails`, `maxItems`, `maxCostUsd`, `requestTimeoutSecs`). Running with empty `{}` input queries `grants_gov` and `usaspending` for `"artificial intelligence"` within 90 days capped at `15` items.

#### Example Input

```json
{
  "sources": ["grants_gov", "usaspending"],
  "keywords": ["artificial intelligence"],
  "postedWithinDays": 90,
  "openOnly": true,
  "enrichDetails": true,
  "maxItems": 15,
  "maxCostUsd": 2.0
}
```

#### Example Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{
  "source": "usaspending",
  "opportunityOrAwardId": "70B04C26F00001201",
  "title": "CTO/TECHNOLOGY ROADMAP FOR ARTIFICIAL INTELLIGENCE AND NEXT-GENERATION COMPUTING (TRAIN-C) AND CSPD/TRADE IT MODERNIZATION PROJECTS.",
  "agencyName": "Department of Homeland Security",
  "status": "DELIVERY ORDER",
  "postedDate": "2026-09-30",
  "closeDate": "2027-09-29",
  "awardCeilingUsd": null,
  "awardFloorUsd": null,
  "awardAmountUsd": 14175438.63,
  "recipientName": "BOOZ ALLEN HAMILTON INC",
  "recipientCity": "MCLEAN",
  "recipientState": "VA",
  "recipientWebsite": null,
  "naicsCode": "541612",
  "cfdaNumber": null,
  "eligibilitySummary": "Category Business; Corporate Entity Not Tax Exempt; U.S.-Owned Business",
  "sourceUrl": "https://www.usaspending.gov/award/CONT_AWD_70B04C26F00001201_7014_47QREA21D0001_4732",
  "extractedAt": "2026-11-27T21:21:39.373Z"
}
```

***

### Connect Permanently to Your AI Agent (1 Step)

Give your AI agents and GovCon pipelines direct access to live federal grants and contract awards:

- **ChatGPT**: Open `Settings -> Apps & Connectors -> Create -> Apify MCP OAuth` and connect `https://mcp.apify.com?tools=reminiscent_medaka/gov-grants-contracts-radar`.
- **Claude Code**: Run this single command in your terminal:
  ```bash
  claude mcp add 2space "https://mcp.apify.com?tools=reminiscent_medaka/gov-grants-contracts-radar" -t http
  ```
- **Cursor / Antigravity**: Register `https://mcp.apify.com?tools=reminiscent_medaka/gov-grants-contracts-radar` in your MCP settings to search open RFPs and recently funded contractors.
- **n8n**: Use **`@apify/n8n-nodes-apify`**, import [`n8n/sbir-funded-leads-pipeline.json`](./n8n/sbir-funded-leads-pipeline.json), or call `https://api.apify.com/v2/acts/reminiscent_medaka~gov-grants-contracts-radar/run-sync-get-dataset-items`.
- **Make**: Connect the **Apify** module targeting `reminiscent_medaka/gov-grants-contracts-radar` to route funded awardees into HubSpot, Airtable, or Slack.
- **Zapier**: Schedule recurring runs in Zapier and send matching federal RFPs or contract awards directly to your team.

***

### Troubleshooting & Support

- **0 results for a niche keyword or short window?** Increase `postedWithinDays` (e.g., `180` or `365`), clear `agencyCodes`, or set `openOnly: false`. Inspect `RUN_DIAGNOSTICS` for per-source counts and suggested fixes.
- **SBIR.gov returning HTTP 403/503 during upstream maintenance?** Keep `grants_gov` and `usaspending` enabled; source isolation ensures they continue cleanly without failing the run.
- **Ethical Data Notice**: This Actor retrieves only official public federal procurement and grant records published by U.S. government APIs.
- **Need additional government data sources or custom filters?** Open an Apify **Issue** on the **Issues** tab and our team will assist you.

***

### More Tools by 2Space Group

Explore the complete **2Space Group** suite at <https://apify.com/reminiscent_medaka>:

- [B2B Domain Enricher (`b2b-domain-enricher`)](https://apify.com/reminiscent_medaka/b2b-domain-enricher) — Contact info scraper, email extractor & tech stack detector
- [SaaS Pricing Extractor (`saas-pricing-extractor`)](https://apify.com/reminiscent_medaka/saas-pricing-extractor) — Competitor pricing & subscription plan parser
- [ATS Career Jobs API (`ats-career-jobs-api`)](https://apify.com/reminiscent_medaka/ats-career-jobs-api) — Greenhouse, Lever, Ashby, Workable, SmartRecruiters & Recruitee jobs extractor
- [Shopify Store Intel (`shopify-store-intel`)](https://apify.com/reminiscent_medaka/shopify-store-intel) — Shopify app detector, catalog pricing & MX-verified DTC leads
- [SEC EDGAR Intelligence (`sec-edgar-intelligence`)](https://apify.com/reminiscent_medaka/sec-edgar-intelligence) — Form D funding rounds, 10-K/10-Q XBRL financials & 13F filings API
- [Gov Grants & Contracts Radar (`gov-grants-contracts-radar`)](https://apify.com/reminiscent_medaka/gov-grants-contracts-radar) — Grants.gov, USAspending & SBIR/STTR award radar
- [LLMs & Sitemap RAG MCP (`llms-sitemap-rag-mcp`)](https://apify.com/reminiscent_medaka/llms-sitemap-rag-mcp) — Turn documentation sites and sitemaps into clean AI/RAG Markdown
- [Tech Stack, DNS & WHOIS MCP (`tech-stack-dns-whois-mcp`)](https://apify.com/reminiscent_medaka/tech-stack-dns-whois-mcp) — Deep DNS, WHOIS, SSL, and infrastructure fingerprinting
- [GitHub Repo B2B Signals (`github-repo-b2b-signals`)](https://apify.com/reminiscent_medaka/github-repo-b2b-signals) — Developer adoption, contributor & open-source commercial signals
- [JSON-LD & AI SEO Auditor (`jsonld-ai-seo-auditor`)](https://apify.com/reminiscent_medaka/jsonld-ai-seo-auditor) — Structured data, schema.org & AI search readiness auditor
- [YouTube Transcript & Metadata MCP (`youtube-transcript-metadata-mcp`)](https://apify.com/reminiscent_medaka/youtube-transcript-metadata-mcp) — Fast YouTube captions, chapters & video metadata extraction
- [Google News Article Scraper MCP (`google-news-article-scraper-mcp`)](https://apify.com/reminiscent_medaka/google-news-article-scraper-mcp) — Real-time news monitoring and clean article body extraction
- [Universal Web Extractor MCP (`universal-web-extractor-mcp`)](https://apify.com/reminiscent_medaka/universal-web-extractor-mcp) — Lightweight Markdown, metadata & link extraction for AI agents

# Actor input Schema

## `sources` (type: `array`):

Official US government APIs to query: grants_gov (open/forecasted RFPs), usaspending (awarded federal contracts and grants), and sbir (SBIR/STTR awards).

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

Search keywords or topics (e.g. artificial intelligence, cybersecurity, biotechnology). Each keyword is queried across selected sources and deduplicated.

## `agencyCodes` (type: `array`):

Optional agency codes or abbreviations to filter results (e.g. NSF, DOD, HHS, DOE, NASA, NIH).

## `minAwardUsd` (type: `number`):

Optional minimum award amount or ceiling in USD. Leave empty for no lower bound.

## `maxAwardUsd` (type: `number`):

Optional maximum award amount or ceiling in USD. Leave empty for no upper bound.

## `postedWithinDays` (type: `integer`):

Lookback window in days based on postedDate (grants_gov/sbir) or award start date (usaspending).

## `openOnly` (type: `boolean`):

When enabled, Grants.gov queries only posted and forecasted opportunities instead of closed or archived listings.

## `enrichDetails` (type: `boolean`):

Fetches secondary detail JSON endpoints for Grants.gov (award ceiling/floor, eligibility) and USAspending (recipient city/state, NAICS).

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

Hard cap on total deduplicated records pushed and billed across all sources.

## `maxCostUsd` (type: `number`):

Pre-charge circuit breaker in USD. Stops pushing and charging before estimated event spend exceeds this cap.

## `requestTimeoutSecs` (type: `integer`):

HTTP timeout in seconds per API request.

## Actor input object example

```json
{
  "sources": [
    "grants_gov",
    "usaspending"
  ],
  "keywords": [
    "artificial intelligence"
  ],
  "agencyCodes": [],
  "postedWithinDays": 90,
  "openOnly": true,
  "enrichDetails": true,
  "maxItems": 15,
  "maxCostUsd": 2,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `overview` (type: `string`):

All normalized grant, contract, and SBIR/STTR records stored in the default dataset.

# 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 = {
    "sources": [
        "grants_gov",
        "usaspending"
    ],
    "keywords": [
        "artificial intelligence"
    ],
    "agencyCodes": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("2space/gov-grants-contracts-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 = {
    "sources": [
        "grants_gov",
        "usaspending",
    ],
    "keywords": ["artificial intelligence"],
    "agencyCodes": [],
}

# Run the Actor and wait for it to finish
run = client.actor("2space/gov-grants-contracts-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 '{
  "sources": [
    "grants_gov",
    "usaspending"
  ],
  "keywords": [
    "artificial intelligence"
  ],
  "agencyCodes": []
}' |
apify call 2space/gov-grants-contracts-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,2space/gov-grants-contracts-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/6t1y1BkuRwnXe7LnH/builds/S5r7KScpTdIct2XkT/openapi.json
