USAspending API: Federal Contracts, Grants & Spending Search
Pricing
from $3.00 / 1,000 award records
USAspending API: Federal Contracts, Grants & Spending Search
Search US government contracts, grants and loans from the official USAspending.gov API. Filter by keyword, recipient, agency, award type, dates, NAICS/PSC, state and amount. Find who wins federal contracts. Organisations only, no personal data.
Pricing
from $3.00 / 1,000 award records
Rating
0.0
(0)
Developer
Sean
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
USAspending API: US Federal Contracts & Grants Awards
Search US federal contracts, grants, loans and other awards straight from the official USAspending.gov API, and get back one clean, flat record per award: who won it, how much, which agency paid, what it was for, when and where the work happens, and a link to the official award page.
Built for government-contracting (GovCon) business development, competitor research, market sizing, grant prospecting, journalism and AI agents that need reliable federal spending data without learning the USAspending filter syntax.
Why use it
- Official source. Data comes from the documented public USAspending.gov API v2, run by the U.S. Department of the Treasury. No scraping of web pages.
- Simple filters, the important ones. Keywords, recipient name or UEI, awarding agency, award type, date range, NAICS and PSC codes, state and minimum amount.
- Flat, consistent output. Contracts, IDVs, grants, loans and direct payments all come back in the same shape, ready for a spreadsheet, CRM or database.
- Organisations only. Awards to individuals, sole proprietorships and anonymised recipient groups are left out, so there is no personal data in the output. Street addresses are not included.
- Licence on every record. Each record carries its source and the attribution USAspending asks for.
- Agent-ready. Simple input, predictable JSON. Works through the Apify API and the Apify MCP server, so AI assistants (Claude, ChatGPT, Cursor and others) can call it as a tool.
Input
| Field | What it does |
|---|---|
keywords | Words to find in award descriptions, recipients and codes (3+ characters each). |
awardTypes | contracts (default), idvs (contract vehicles such as GWACs, IDIQs, BPAs), grants, loans, direct_payments, other_assistance. Pick several and the result limit is shared between them. |
recipientName | Only awards to this organisation, by name or 12-character UEI. |
agency | Awarding department or sub-agency, by name or abbreviation (Department of Defense, NASA, Department of the Air Force). |
dateFrom, dateTo | Date range for award activity (YYYY-MM-DD). Default: the last 12 months. Earliest: 2007-10-01. |
naicsCodes | NAICS industry codes, 2 to 6 digits; a prefix matches everything under it (contracts only). |
pscCodes | Product and Service Codes such as R425 (contracts only). |
states | Place-of-performance states, two-letter codes (TX, VA). |
minAmount | Only awards worth at least this many US dollars. |
sortBy | amount (largest first, default) or newest. |
maxItems | Maximum awards to return, 1 to 5,000 (default 50). |
Example: Department of Defense cybersecurity contracts in Virginia worth over $1 million, in computer-services NAICS codes:
{"keywords": ["cybersecurity"],"awardTypes": ["contracts"],"agency": "Department of Defense","naicsCodes": ["5415"],"states": ["VA"],"minAmount": 1000000,"dateFrom": "2025-10-01","dateTo": "2026-09-30","maxItems": 200}
Output
One record per award:
{"awardId": "FA862118F6251","awardCategory": "contract","awardType": "DELIVERY ORDER","recipientName": "LOCKHEED MARTIN CORPORATION","recipientUei": "KDT2YLB34NT6","recipientCity": "ORLANDO","recipientState": "FL","recipientCountry": "USA","amount": 666315748.84,"totalOutlays": 242708.65,"subsidyCost": null,"currency": "USD","awardingAgency": "Department of Defense","awardingSubAgency": "Department of the Air Force","fundingAgency": "Department of Defense","description": "IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO","startDate": "2018-02-08","endDate": "2027-01-31","baseObligationDate": "2018-02-08","lastModifiedDate": "2026-06-15","placeOfPerformanceCity": "ORLANDO","placeOfPerformanceCounty": "ORANGE","placeOfPerformanceState": "FL","placeOfPerformanceZip5": "32825","placeOfPerformanceCountry": "USA","congressionalDistrict": "FL-10","naicsCode": "336413","naicsDescription": "OTHER AIRCRAFT PARTS AND AUXILIARY EQUIPMENT MANUFACTURING","pscCode": "J069","pscDescription": "MAINT/REPAIR/REBUILD OF EQUIPMENT- TRAINING AIDS AND DEVICES","assistanceListingNumbers": null,"assistanceListingTitles": null,"url": "https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700","recipientProfileUrl": "https://www.usaspending.gov/recipient/ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C/latest","source": "USAspending.gov API v2 (U.S. Department of the Treasury, Bureau of the Fiscal Service)","licence": "USAspending.gov, U.S. Department of the Treasury, Bureau of the Fiscal Service. Data may be copied, adapted, redistributed and used commercially (https://www.usaspending.gov/about). Recipient name and location may include Dun & Bradstreet Open Data; source: D&B (https://www.usaspending.gov/db_info).","retrievedAt": "2026-11-03T20:00:00Z"}
Notes on fields:
amountis the award's total obligated amount; for loans it is the face value of the loan, andsubsidyCostis the government's estimated cost.startDateis the period-of-performance start (for loans, the issue date). For contract vehicles (IDVs),endDateis the last date to order.- NAICS and PSC are filled for contracts and IDVs; assistance listing (CFDA) numbers and titles are filled for grants, loans and other assistance.
Pricing
Pay per result: a small fee when a run starts plus a fee per award record returned. No subscription. You can set a maximum cost per run in the run options and the Actor stops when it reaches it. Runs with no matching awards cost only the start fee.
Data source and licence
- Source: USAspending.gov API v2 (
https://api.usaspending.gov), the official source for US federal spending data under the DATA Act, published by the U.S. Department of the Treasury, Bureau of the Fiscal Service. - Licence: USAspending states that its data "is available to copy, adapt, redistribute, or otherwise use for non-commercial or for commercial purposes", subject to the Dun & Bradstreet limitation (About page).
- Dun & Bradstreet: recipient business name and location can be D&B Open Data. Attribute D&B when you reuse those fields, and do not use this Actor to rebuild a bulk business directory (D&B terms). Each run is capped at 5,000 awards for this reason.
- Suggested citation: USAspending.gov, U.S. Department of Treasury, Bureau of the Fiscal Service, https://www.usaspending.gov. Accessed [date].
Good to know
- No personal data. Awards whose recipient is an individual or a sole proprietorship, and placeholder recipients such as "REDACTED DUE TO PII" or "MULTIPLE RECIPIENTS", are removed. The run's status message says how many were left out.
- Dates: the date range matches award activity (new awards and later modifications), as on USAspending's Advanced Search. Older awards with recent modifications can appear.
- Amounts and agencies are as reported by federal agencies to USAspending; agencies can revise them later.
- Prime awards only. Sub-awards are not included.
- Speed: roughly 15 seconds per 100 awards (5,000 awards take about 12 to 15 minutes). The default input finishes in about 10 seconds.
- If you set a maximum cost per run, the Actor stops cleanly when it is reached and says so in the status message.
- This Actor is not affiliated with or endorsed by the U.S. Department of the Treasury or USAspending.gov.
Use with AI agents (MCP)
Add this Actor to the Apify MCP server and your assistant can answer questions like "Which companies won the largest NASA contracts in the last year?" or "List grants over $1M to universities in Texas for water projects" by calling it with the filters above.