USAspending Scraper - Federal Contracts & Awards
Pricing
from $3.00 / 1,000 results
USAspending Scraper - Federal Contracts & Awards
Scrape and export USAspending federal awards as a clean JSON API: recipients, agencies, amounts, contract types, NAICS, CFDA, dates, and locations.
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Evp Labs
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
1
Monthly active users
7 hours ago
Last modified
Categories
Features
Share
Pull US federal contract, grant, loan and assistance awards from the official USAspending.gov public API into clean flat JSON. Filter by recipient name, awarding agency, minimum amount and date window; every award is enriched with NAICS / CFDA codes, recipient UEI, recipient city/state/country and a link to its USAspending profile. No headless browser, no CAPTCHAs, no API key.
Why use it
- GovCon business development teams: track competitors' contract wins, monitor an agency's largest obligations, and build account lists from real award data.
- Federal contractors & consultants: watch a rival's portfolio (
recipientSearch: "LOCKHEED") or find who holds the biggest awards in your NAICS market. - Journalists & watchdogs: get structured, citable records of where federal money goes, straight from the Treasury's official source.
- Investors & analysts: monitor government-exposed companies and agencies without paying for a GovCon data subscription.
What it scrapes
| Step | Trigger | Source |
|---|---|---|
| Award search | every run | POST api.usaspending.gov/api/v2/search/spending_by_award/ |
| Detail enrichment | includeDetails: true (default) | GET api.usaspending.gov/api/v2/awards/{id}/ |
All endpoints are the same public JSON API that powers usaspending.gov. No auth required.
Quick start input
Target source: usaspending.gov. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:
{"awardTypes": "contracts","agency": "Department of Defense","minAmount": 1000000,"sortBy": "amount","includeDetails": true,"maxItems": 10}
The default input is intentionally small. Raise maxItems only after validating the first federal award records.
Input
| Field | Type | Default | Description |
|---|---|---|---|
recipientSearch | string | "" | Recipient (contractor/grantee) name filter, e.g. "LOCKHEED", "BOOZ ALLEN". Empty = all recipients. |
awardTypes | enum | "contracts" | contracts (type codes A-D), grants (grants & cooperative agreements 02-05), or all (adds direct payments 06-08 and loans 09-11). |
agency | string | "" | Top-tier awarding agency name as on USAspending, e.g. "Department of Defense". Empty = all agencies. |
startDate | string | 90 days ago | Start of activity window YYYY-MM-DD. USAspending returns awards whose period of performance overlaps the window. |
endDate | string | today | End of activity window YYYY-MM-DD. |
minAmount | integer | none | Only awards with total obligation at or above this USD value. |
sortBy | enum | "amount" | amount = largest obligations first, date = newest start dates first. |
includeDetails | boolean | true | Enrich each award via its detail endpoint (adds NAICS/CFDA, UEI, recipient location). |
maxItems | integer | 10 | Maximum awards to output (1-500), strictly enforced. |
proxyConfiguration | object | { "useApifyProxy": false } | Optional. The USAspending API is public and needs no proxy. |
Output
One flat JSON item is produced per federal award. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.
Field reference
| Field | Type | Description |
|---|---|---|
awardId | string | Public award identifier (PIID for contracts, FAIN/URI for assistance) |
generatedId | string | USAspending generated unique award ID |
recipientName | string | Legal name of the award recipient (contractor / grantee) |
recipientUei | string | Unique Entity Identifier (UEI) of the recipient |
awardAmount | number | Total obligated amount in USD |
awardType | string | Award type description (e.g. DEFINITIVE CONTRACT, COOPERATIVE AGREEMENT) |
awardCategory | string | USAspending award category (contract, grant, direct payment, loan, idv) |
startDate | string | Period of performance start date |
endDate | string | Period of performance current end date |
awardingAgency | string | Top-tier awarding agency |
awardingSubAgency | string | Sub-tier awarding agency / office |
fundingAgency | string | Top-tier funding agency |
fundingSubAgency | string | Sub-tier funding agency / office |
description | string | Award description / purpose text |
naicsCode | string | NAICS industry code (contracts only) |
naicsDescription | string | NAICS industry description (contracts only) |
pscCode | string | Product or Service Code (contracts only) |
cfdaNumber | string | Assistance Listing (CFDA) number (grants and assistance only) |
cfdaTitle | string | Assistance Listing (CFDA) program title (grants and assistance only) |
recipientCity | string | Recipient city |
recipientState | string | Recipient state name |
recipientCountry | string | Recipient country |
url | string | Award profile page on usaspending.gov |
Real sample output (latest live dataset)
{"awardId": "DENA0003525","generatedId": "CONT_AWD_DENA0003525_8900_-NONE-_-NONE-","recipientName": "NATIONAL TECHNOLOGY & ENGINEERING SOLUTIONS OF SANDIA, LLC","recipientUei": "LUJEPCRRT377","awardAmount": 44093914875.26,"awardType": "DEFINITIVE CONTRACT","awardCategory": "contract","startDate": "2017-01-18","endDate": "2027-04-30","awardingAgency": "Department of Energy","awardingSubAgency": "Department of Energy","fundingAgency": "Department of Energy","fundingSubAgency": "Department of Energy","description": "IGF::CL,CT::IGF CONTRACT AWARD DE-NA0003525 TO THE NATIONAL TECHNOLOGY&ENGINEERING SOLUTIONS OF SANDIA, LLC (NTESS) FOR THE MANAGEMENT AND OPERATION OF THE DEPARTMENT OF ENERGY, NATIONAL NUCLEAR SECURITY ADMINISTRATION'S SANDIA NATIONAL LABORATORIES (SNL)","naicsCode": "561210","naicsDescription": "FACILITIES SUPPORT SERVICES","pscCode": "M1JZ","recipientCity": "ALBUQUERQUE","recipientState": "NEW MEXICO","recipientCountry": "UNITED STATES","url": "https://www.usaspending.gov/award/CONT_AWD_DENA0003525_8900_-NONE-_-NONE-"}
Use with AI agents (MCP), n8n, Make, and Python
- AI agents / MCP: add
https://mcp.apify.com/?tools=evpp/usaspendingto your MCP client, then ask the agent to scrape USAspending data or export the latest dataset. - n8n / Make / Zapier: run Actor
evpp/usaspendingwith the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow. - Python: install the client with
pip install apify-clientand run:
import jsonfrom apify_client import ApifyClientclient = ApifyClient()run_input = json.loads('''{"awardTypes":"contracts","agency":"Department of Defense","minAmount":1000000,"sortBy":"amount","includeDetails":true,"maxItems":10}''')run = client.actor("evpp/usaspending").call(run_input=run_input)items = list(client.dataset(run["defaultDatasetId"]).iterate_items())print(items[0])
The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.
Cost
The Actor makes lightweight JSON calls only: about 1 search call plus 1 detail call per award. A 10-item run finishes in seconds on minimal memory (256 MB). At the pay-per-event price of $3 per 1,000 results, monitoring the top-100 awards of a competitor or agency every day costs cents per month.
FAQ
Is this official data?
Yes. It calls the same public API (api.usaspending.gov) that powers usaspending.gov, the Treasury Department's official open-data source mandated by the DATA Act. No key, no login.
Why did a contract signed in 2016 show up in my 2025 date window?
The time_period filter matches awards whose period of performance overlaps the window, so large multi-year contracts that are still active (and still being funded) correctly appear.
How do I track one contractor?
Set recipientSearch to a distinctive part of the recipient's official name, e.g. "LOCKHEED" or "LEIDOS", and optionally narrow with agency and minAmount.
How do I get only big new contracts?
Combine awardTypes: "contracts", minAmount: 10000000, sortBy: "date" and a short startDate/endDate window.
Why are naicsCode or cfdaNumber missing on some items?
NAICS/PSC only exist on procurement contracts; CFDA only on assistance awards. Awards without a detail record keep their search fields. Empty fields are omitted from output.
Does it need proxies?
No. Defaults run direct against the public API. proxyConfiguration exists for users who want their own pool.