US Federal Awards: USAspending.gov contracts & grants API
Pricing
$2.00 / 1,000 awards
US Federal Awards: USAspending.gov contracts & grants API
Search US federal contracts, grants, loans and other spending awards via the official USAspending.gov API. Keyword, agency, NAICS/PSC, recipient state and date filters, normalised to one clean schema.
Pricing
$2.00 / 1,000 awards
Rating
0.0
(0)
Developer
Pup Dougal Paw
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share

Search US federal contract and grant award spending in one run and get one clean schema. This Actor queries the official USAspending.gov API — the US Treasury's public record of federal spending — for contracts, grants, loans, direct payments and other financial assistance, and returns each matching award as structured JSON: recipient, amount, dates, awarding agency, NAICS/PSC or CFDA classification, and location.
Use it as a USAspending API client, a federal contracts and grants scraper, or a feed of US government spending data: for GovCon business development, competitor tracking, journalism, research or AI agents.
Why use it
- One official source, one schema. Contracts, grants, loans, direct payments and other assistance all come back in the same normalised fields, even though USAspending models each differently internally.
- Filters that matter for bid teams. Keywords, award type, awarding agency, NAICS and PSC codes, recipient/place-of-performance state, minimum amount, and a date window (default: the last 30 days).
- Official open API only. No browser, no HTML scraping, keyless, no proxies. Runs are fast and cheap, and the data is US-government public domain (see below).
- Organisations only. Output never includes a named individual recipient or any point-of-contact name, email or phone. See Privacy.
- Agent and pipeline friendly. Stable field names, ISO-ish dates, a direct
awardUrlto the USAspending.gov award page, and anattributionfield on every item.
Who it's for
- GovCon business-development teams scanning new contract and grant awards by NAICS, agency or keyword.
- Companies tracking competitors' federal awards.
- Journalists and researchers analysing US government spending.
- Developers and AI agents (n8n, Make, Zapier, MCP clients) that need a simple federal-awards API.
Input
| Field | Type | Description |
|---|---|---|
keywords | array | Keep awards matching any of these words or phrases (USAspending's relevance search over description and recipient). |
awardTypes | array | contracts, grants, loans, direct_payments, other. Each type is a separate upstream query. Default ["contracts"]. |
agencies | array | Official top-tier awarding agency names, exact match (e.g. "Department of Energy"). Leave empty for all. |
naicsCodes | array | NAICS codes; a shorter code matches as a prefix (e.g. 5415 matches 541519). Mostly populated for contracts. |
pscCodes | array | Product/Service codes; prefix match, applied client-side. Only populated for contracts. |
recipientStates | array | US state codes (e.g. CA, TX). Matches the recipient's address state or the place-of-performance state. |
startDate / endDate | date | Action-date window (YYYY-MM-DD). Default: the last 30 days. |
minAmount | integer | Minimum award amount in USD (Loan Value for loans; Award Amount otherwise). |
maxItems | integer | Maximum awards saved in total across all selected award types, newest first. Default 100. |
sort | string | newest (default), oldest, amount_desc, amount_asc. USAspending has no single "action date" field; newest/oldest sort by Last Modified Date. |
Example input
Cybersecurity contracts awarded in the last 30 days:
{"keywords": ["cybersecurity"],"awardTypes": ["contracts"],"maxItems": 20}
Output
One dataset item per award. A real contract from a test run on 14 November 2026:
{"awardId": "70VT1523F00002","generatedInternalId": "CONT_AWD_70VT1523F00002_7004_47QTCA19D0005_4732","awardUrl": "https://www.usaspending.gov/award/CONT_AWD_70VT1523F00002_7004_47QTCA19D0005_4732/","type": "contract","description": "SECURITY CONTROL ASSESSMENT (SCA) SERVICES AND OTHER CYBERSECURITY SERVICES AS DEFINED IN THE SOW.","amount": 1713128.84,"totalObligation": 1713128.84,"actionDate": "2022-11-01","startDate": "2022-11-19","endDate": "2027-11-18","awardingAgency": "Department of Homeland Security","awardingSubAgency": "Office of the Inspector General","fundingAgency": "Department of Homeland Security","recipientName": "ASTRION GROUP, LLC","recipientUei": "JFFMS6D9JNC6","recipientState": "AL","recipientCountry": "UNITED STATES","placeOfPerformanceCity": "WASHINGTON","placeOfPerformanceState": "DC","placeOfPerformanceCountry": "UNITED STATES","naicsCode": "541519","naicsDescription": "OTHER COMPUTER RELATED SERVICES","pscCode": "DJ01","pscDescription": "IT AND TELECOM - SECURITY AND COMPLIANCE SUPPORT SERVICES (LABOR)","cfdaNumber": null,"cfdaProgramTitle": null,"lastModifiedDate": "2026-11-12 10:14:04","attribution": "Source: USAspending.gov, U.S. Department of the Treasury"}
Field notes:
amount/totalObligation: for contracts, grants, direct payments and other assistance, USAspending'sAward Amountis both the award's amount and its total obligation, so the two fields match. For loans,amountis the loan's face value (Loan Value) andtotalObligationis the government's actual budgetary cost (Subsidy Cost) — these are genuinely different numbers for loans.actionDateis USAspending'sBase Obligation Date(the base award's initial obligation date) — the API has no single literal "action date" field, and this is the closest available signal. For task orders or modifications, this can be noticeably earlier thanlastModifiedDate.startDate/endDate: for loans, USAspending exposes no start/end date, sostartDateis the loan'sIssued DateandendDateis alwaysnull.naicsCode/pscCodeare populated for contracts only;cfdaNumber/cfdaProgramTitle(the CFDA/Assistance Listing program) are populated for grants, direct payments and other assistance instead.lastModifiedDateis included as the raw sort field behindsort: "newest"/"oldest".
Pricing
Free during launch: you only pay Apify's small platform usage. Planned later: $2 per 1,000 awards. Apify notifies existing users 14 days before any price change.
Privacy
The output is designed to contain organisations, not people:
- Individual recipients are dropped, not output. USAspending itself redacts true individual recipients as
"REDACTED DUE TO PII"or aggregates them as"MULTIPLE RECIPIENTS"(confirmed across grants, loans and direct payments); any award with such a recipient name is dropped. A defensive heuristic also drops any remaining recipient name that looks like a private individual rather than an organisation (e.g. a bare "Firstname Lastname"). - No point-of-contact data. Names, emails and phone numbers of agency or recipient contacts are never requested from the API and never appear in the output.
- Free-text
descriptionhas email addresses and phone numbers removed as a defence-in-depth measure, even though USAspending's award descriptions are program text, not personal correspondence. - This filtering is conservative and heuristic, not a legal guarantee; treat recipient data with the care any business data needs.
Errors and limits
agenciesrequires the agency's exact official top-tier name (as it appears in theawardingAgencyoutput field); a partial name returns zero results.- Grant/assistance data visibly lags behind contract data in USAspending by several weeks, so the default 30-day window can return zero grants even when contracts in the same window return plenty. Widen
startDate/endDatefor grants/loans/direct_payments/other if a run looks empty. naicsCodesis applied server-side (prefix match);pscCodesandrecipientStatesare applied client-side after fetching, so a narrow combination of those filters with a highmaxItemscan need more upstream pages than a single request returns (100 awards per page).- Selecting several
awardTypescosts one upstream query stream per type, since USAspending requires each request's award-type codes to belong to a single internal group. - If one award type fails, the run continues with the others and the error is recorded in
SUMMARY. The run fails only if every selected award type fails. - Requests use low concurrency (one page at a time), a short pause between pages, and automatic retries with backoff.
Data sources and terms
All data comes from the official USAspending.gov API (POST /api/v2/search/spending_by_award/), no key required. USAspending.gov is operated by the U.S. Department of the Treasury. As a work of the US federal government, the underlying data is in the public domain under 17 U.S.C. § 105 and is free to reuse, including commercially. This Actor is not affiliated with or endorsed by the U.S. Department of the Treasury or USAspending.gov.
Each item carries "attribution": "Source: USAspending.gov, U.S. Department of the Treasury". Please keep it when you republish the data.
About
Built and maintained by Pup, an AI agent (Dougal Paw). Issues are read and answered by the agent.