US Federal Contracts & Grants API (USASpending & Grants.gov) avatar

US Federal Contracts & Grants API (USASpending & Grants.gov)

Pricing

from $1.50 / 1,000 federal records

Go to Apify Store
US Federal Contracts & Grants API (USASpending & Grants.gov)

US Federal Contracts & Grants API (USASpending & Grants.gov)

Fast, browserless HTTP API combining awarded US federal contracts and grants (USASpending.gov v2) with live Grants.gov funding opportunities into one unified JSON schema.

Pricing

from $1.50 / 1,000 federal records

Rating

0.0

(0)

Developer

Franco García Bailez

Franco García Bailez

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Fast, browserless Pay-Per-Event Apify Actor combining USASpending.gov v2 (awarded federal contracts and grants) and Grants.gov Search2 (open and forecasted federal funding opportunities) into a single clean 18-field JSON schema—built for GovCon BD teams, SaaS/defense sales, grant writers, and AI agents (MCP / n8n).

Covered Official Feeds

Dataset KeyOfficial Government APIData Returned
USASPENDING_CONTRACTSUSASpending.gov API v2Prime federal contracts (A/B/C/D), recipient name, award amount USD, NAICS code, awarding agency & state
USASPENDING_GRANTSUSASpending.gov API v2Awarded federal grants (02/03/04/05), recipient organization, obligated USD amount, start/end dates
GRANTS_GOV_OPPORTUNITIESGrants.gov API v1 (search2)Live posted and forecasted funding opportunities, CFDA codes, agency code, open/close dates

Example Input

{
"datasets": [
"USASPENDING_CONTRACTS",
"USASPENDING_GRANTS",
"GRANTS_GOV_OPPORTUNITIES"
],
"keywords": ["cloud", "cybersecurity"],
"minAwardAmount": 100000,
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"grantStatuses": ["posted", "forecasted"],
"maxResultsPerDataset": 25
}

Example Output Record

{
"dataset": "USASPENDING_CONTRACTS",
"recordId": "FA873226F0001",
"title": "Enterprise Cloud Security Modernization & Zero Trust Operations...",
"recipientOrApplicant": "EXAMPLE TECH SOLUTIONS LLC",
"awardingAgency": "Department of Defense",
"awardingSubAgency": "Department of the Air Force",
"awardAmountUsd": 4250000.0,
"status": "AWARDED",
"awardType": "Federal Contract",
"startDate": "2026-02-01",
"endDate": "2029-01-31",
"closeDate": null,
"stateCode": "VA",
"countryCode": "US",
"naicsOrCfdaCodes": ["541512"],
"description": "Enterprise Cloud Security Modernization & Zero Trust Operations...",
"url": "https://www.usaspending.gov/award/CONT_AWD_...",
"scrapedAt": "2026-11-30T10:40:00+00:00"
}

How Much Does It Cost?

Transparent Pay-Per-Event (PPE) pricing with zero proxies and 128–512 MB lightweight HTTP execution:

EventFreeBronzeSilverGold / Platinum / Diamond
Actor Start (apify-actor-start)$0.005$0.005$0.005$0.005
Federal record (apify-default-dataset-item)$0.003$0.0025$0.002$0.0015
  • Example cost for 100 records: $0.305 on Free ($0.005 + 100 × $0.003) down to $0.155 on Gold+ ($0.005 + 100 × $0.0015).
  • Strict Budget Protection: Checks maxTotalChargeUsd before and after fetching so AI agents never overspend.

Use with AI Agents (Apify MCP Server — Claude Desktop & Cursor)

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?actors=francogb/us-federal-contracts-grants-api"
}
}
}

Example AI prompt:

"Use francogb/us-federal-contracts-grants-api to pull the largest 2026 US federal contracts over $500,000 for cybersecurity plus open Grants.gov opportunities matching cloud."

Python SDK (apify-client) & cURL

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("francogb/us-federal-contracts-grants-api").call(
run_input={
"datasets": ["USASPENDING_CONTRACTS", "GRANTS_GOV_OPPORTUNITIES"],
"keywords": ["cloud"],
"minAwardAmount": 100000,
"maxResultsPerDataset": 25,
}
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Fetched {len(items)} federal records")
curl -X POST "https://api.apify.com/v2/acts/francogb~us-federal-contracts-grants-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"datasets": ["USASPENDING_CONTRACTS", "USASPENDING_GRANTS", "GRANTS_GOV_OPPORTUNITIES"],
"keywords": ["cloud"],
"maxResultsPerDataset": 25
}'

FAQ

  • Does this Actor require Playwright or residential proxies? No. It queries official api.usaspending.gov and api.grants.gov endpoints over pure HTTP/JSON.
  • Can I filter by NAICS code, US state, recipient, or minimum award size? Yes. Filter by naicsCodes, stateCode, recipientOrCompany, agency, minAwardAmount, and date range.
  • Does it return both past awarded money and open grant RFPs? Yes. USASPENDING_CONTRACTS & USASPENDING_GRANTS return awarded obligations, while GRANTS_GOV_OPPORTUNITIES returns open/forecasted applications with close dates.

More Fast, Official-API Actors by francogb