USAspending & Grants.gov API (Unofficial) avatar

USAspending & Grants.gov API (Unofficial)

Pricing

from $4.00 / 1,000 records

Go to Apify Store
USAspending & Grants.gov API (Unofficial)

USAspending & Grants.gov API (Unofficial)

Federal contract, IDV and grant awards from USAspending.gov plus posted and forecasted Grants.gov opportunities in one schema. Filter by agency, NAICS, state, keyword and Assistance Listing. Organisation recipients only, awards from April 4, 2022. Not affiliated with any US government agency.

Pricing

from $4.00 / 1,000 records

Rating

0.0

(0)

Developer

Gray Labs

Gray Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 days ago

Last modified

Categories

Features

Limited permissions

Share

Get US federal contract and grant awards from USAspending.gov and posted and forecasted grant opportunities from Grants.gov in one clean, flat schema, with no API key.

  • Awards: contracts, IDVs (GWACs, BPAs, IDIQs) and grants or cooperative agreements, with amount, outlays, agency and sub-agency, recipient organisation and UEI, place of performance, NAICS, PSC, Assistance Listings and dates.
  • Opportunities: number, title, agency, open and close dates, award ceiling and floor, estimated funding, expected number of awards, eligible applicants and synopsis.
  • Filters: agency, NAICS, state, minimum amount, keyword, recipient name or UEI, Assistance Listing (CFDA) number, Grants.gov agency code, funding category and eligibility.
  • Date windows (for example, the last 2 days) so a scheduled run picks up new awards and opportunities.
  • Organisation recipients only. Awards to individuals and sole proprietorships are dropped, and no contact names, emails or phone numbers are output.
  • Every row links back to its page on USAspending.gov or Grants.gov.

This is an independent tool. It is not affiliated with, endorsed by or certified by the U.S. Department of the Treasury, the Bureau of the Fiscal Service, USAspending.gov, Grants.gov, the U.S. Department of Health and Human Services or any other US government agency.

This product uses the Grants.gov API but is not endorsed or certified by the U.S. Department of Health and Human Services.

What you get

  • USAspending awards (recordType: "award"): contracts, IDVs (GWACs, BPAs, IDIQs) and grants or cooperative agreements, with award ID, amount, outlays, awarding agency and sub-agency, recipient organisation name, UEI, city/state/country, place of performance, NAICS, PSC, Assistance Listings, start/end dates and description.
  • Grants.gov opportunities (recordType: "opportunity"): posted and forecasted funding notices with number, title, agency, open and close dates, award ceiling and floor, estimated total funding, expected number of awards, cost sharing, eligible applicants, funding instruments and categories, and the synopsis text.
  • Organisation recipients only. Awards to individuals and sole proprietorships are dropped, and so are rows the source marks as individual, redacted or aggregated. No contact names, emails or phone numbers are output.
  • One run, both sources, with a run summary (RUN_SUMMARY) showing how many rows each source returned, saved and dropped.

Use cases

  • A daily feed of new federal contract and grant awards in your industry (NAICS) or state.
  • Track which agencies are funding a topic, and how much.
  • Watch Grants.gov for new opportunities in your funding category, with deadlines and award sizes.
  • Market and competitor research on public federal spending.

Input

FieldWhat it does
includeAwards, includeOpportunitiesPick one or both sources.
awardCategoriescontracts, idvs, grants.
awardDateTypenew (base obligation date in the window) or modified (awards changed in the window).
awardsLastNDays / awardsStartDate / awardsEndDateThe awards date window.
awardingAgenciesTop-tier agency names, e.g. Department of Energy.
recipientSearchRecipient organisation name or UEI text.
naicsCodesNAICS codes for contracts and IDVs.
placeOfPerformanceStatesTwo-letter state codes.
minAwardAmountSmallest award amount to include.
keywordsFree text, used for both sources.
assistanceListingsAssistance Listing (CFDA) numbers like 93.213, for grants and opportunities.
opportunityStatusesposted, forecasted, closed, archived.
opportunitiesPostedLastNDaysOnly opportunities posted recently (0 = no limit).
grantsGovAgencyCodes, fundingCategories, eligibilityCodesGrants.gov filters, using Grants.gov codes (e.g. HHS-NIH11, HL, 23).
includeOpportunityDetailsAdds synopsis text, award sizes and eligibility (one extra request per opportunity). On by default.
maxRecordsTotal rows to save, split evenly across the selected sources and award categories.
maxRequestsSafety cap on API calls.

Example: new contracts in IT services in Virginia and Maryland, plus open health grants.

{
"awardCategories": ["contracts"],
"awardsLastNDays": 14,
"naicsCodes": ["5415"],
"placeOfPerformanceStates": ["VA", "MD"],
"opportunityStatuses": ["posted"],
"fundingCategories": ["HL"],
"maxRecords": 500
}

More examples are in the examples/ folder.

Output

One flat row per record. Fields that don't apply to a record type are null (or an empty list).

{
"recordKey": "award:ASST_NON_R21AG095652_075",
"recordType": "award",
"identifier": "R21AG095652",
"title": "NONINVASIVE MEASUREMENT OF CEREBRAL ARTERIAL COMPLIANCE USING FAST 3D BLACK-BLOOD ...",
"category": "grants",
"awardType": "PROJECT GRANT (B)",
"agency": "Department of Health and Human Services",
"subAgency": "National Institutes of Health",
"amount": 192500,
"recipientName": "UNIVERSITY OF UTAH",
"recipientUei": "LL8GLEVH6MG3",
"recipientState": "UT",
"placeOfPerformanceState": "UT",
"assistanceListings": ["93.866"],
"postedDate": "2026-09-29",
"startDate": "2026-09-30",
"endDate": "2029-06-30",
"url": "https://www.usaspending.gov/award/ASST_NON_R21AG095652_075",
"source": "USAspending.gov API"
}
{
"recordKey": "opportunity:364124",
"recordType": "opportunity",
"identifier": "DHS-26-MT-029-000-98",
"title": "Fiscal Year 2026 Flood Mitigation Assistance",
"status": "posted",
"agency": "Department of Homeland Security",
"subAgency": "Department of Homeland Security - FEMA",
"estimatedTotalFunding": 400000000,
"expectedNumberOfAwards": 40,
"costSharingRequired": true,
"eligibleApplicants": ["State governments", "County governments", "City or township governments"],
"postedDate": "2026-10-22",
"closeDate": "2027-02-26",
"url": "https://www.grants.gov/search-results-detail/364124",
"source": "Grants.gov API"
}

Pricing

Pay per result: $0.004 per saved record ($4.00 per 1,000 records) plus $0.01 per run start. You pay only for rows saved to the dataset; dropped rows (individuals, duplicates) are free. Example: 1,000 records cost $4.01. A run with a $0.05 maximum cost saves up to 10 records and then stops cleanly.

Privacy

  • Awards whose recipient USAspending classifies as individuals or sole proprietorships are dropped. The check runs for every page; if it cannot run, that page is dropped rather than output unchecked.
  • Rows marked by the source as individual, redacted or aggregated (for example "INDIVIDUAL RECIPIENT", "MULTIPLE RECIPIENTS", "MISCELLANEOUS FOREIGN AWARDEES", "REDACTED DUE TO PII") are dropped.
  • Not output: recipient street addresses, ZIP+4, DUNS numbers, and all Grants.gov agency contact names, emails, phones and addresses.
  • Description text has emails and phone numbers replaced with placeholders, and names after contact cues ("Program Officer: …", "contact …") removed. Names are found by context, so a name without such a cue can remain; business names can contain a person's name (for example a professional corporation).

Data limits

  • No Dun & Bradstreet (D&B) data is included. No DUNS numbers, no recipient street addresses or ZIP+4 codes, and no awards with a first obligation date before April 4, 2022.
  • Earliest award date: 2022-04-04. Recipient names and addresses on older federal award records can be Dun & Bradstreet data, which USAspending.gov says may not be used in bulk. From April 4, 2022 the government uses its own Unique Entity ID (UEI), so this tool returns only awards whose base obligation date is on or after that day and never outputs DUNS numbers.
  • Agencies report grants to USAspending.gov with a delay of a few weeks; short windows can return few grants.
  • USAspending.gov contracts usually appear within days of signing.
  • Grants.gov search returns summary fields only; turn on includeOpportunityDetails for award sizes, eligibility and text.
  • This tool reads the official public APIs only (api.usaspending.gov, api.grants.gov). It does not log in, does not use proxies, and paces its requests.

Data source and licence

  • USAspending.gov, U.S. Department of the Treasury, Bureau of the Fiscal Service. USAspending.gov states that its data "is available to copy, adapt, redistribute, or otherwise use for non-commercial or for commercial purposes", subject to its Dun & Bradstreet data limitation (see Data limits). Each award row links to its USAspending.gov page.
  • Grants.gov, U.S. Department of Health and Human Services. Used under the Grants.gov API Terms of Service. This product uses the Grants.gov API but is not endorsed or certified by the U.S. Department of Health and Human Services.
  • Suggested citation: USAspending.gov, U.S. Department of Treasury, Bureau of the Fiscal Service, https://www.usaspending.gov. Accessed [date].

FAQ

Is this the official USAspending.gov or Grants.gov tool? No. It is an independent tool that reads their public APIs. It is not affiliated with any US government agency.

Do I need an API key? No. Both APIs are public and keyless.

Why are some awards missing? Awards to individuals and sole proprietorships are dropped on purpose, and awards before 2022-04-04 are not returned. The run summary shows how many rows were dropped and why.

Can I get only new records each day? Schedule a daily run with awardsLastNDays: 1 (or 2 to allow for late reporting) and opportunitiesPostedLastNDays: 1.

Can I get awards from before 2022? No. The Actor returns only awards whose first obligation date is on or after April 4, 2022, when the government's own Unique Entity ID replaced DUNS. No Dun & Bradstreet (D&B) data is included.

Does it tell me what changed since my last run? It doesn't keep a history between runs. Use a short date window instead (awardsLastNDays: 2, opportunitiesPostedLastNDays: 1), or awardDateType: "modified" to catch modified awards.

Why do I get few grants for the last week? Agencies report grant awards to USAspending.gov a few weeks late. Contracts usually appear within days.

Does it include SAM.gov contract opportunities? No. This Actor covers awards and grant opportunities. For open federal contract solicitations, see our separate SAM.gov Contract Opportunities API actor on the Apify Store.

What does it cost? $0.01 per run plus $0.004 per saved record ($4.00 per 1,000). Dropped rows are free.