US Federal Contracts & Grants API (USASpending & Grants.gov)
Pricing
from $1.50 / 1,000 federal records
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
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 Key | Official Government API | Data Returned |
|---|---|---|
USASPENDING_CONTRACTS | USASpending.gov API v2 | Prime federal contracts (A/B/C/D), recipient name, award amount USD, NAICS code, awarding agency & state |
USASPENDING_GRANTS | USASpending.gov API v2 | Awarded federal grants (02/03/04/05), recipient organization, obligated USD amount, start/end dates |
GRANTS_GOV_OPPORTUNITIES | Grants.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:
| Event | Free | Bronze | Silver | Gold / 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.305on Free ($0.005 + 100 × $0.003) down to$0.155on Gold+ ($0.005 + 100 × $0.0015). - Strict Budget Protection: Checks
maxTotalChargeUsdbefore 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-apito pull the largest 2026 US federal contracts over$500,000forcybersecurityplus openGrants.govopportunities matchingcloud."
Python SDK (apify-client) & cURL
import osfrom apify_client import ApifyClientclient = 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.govandapi.grants.govendpoints 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_GRANTSreturn awarded obligations, whileGRANTS_GOV_OPPORTUNITIESreturns open/forecasted applications with close dates.