Skip to the content

Scraper API

USAspending

usaspending.awardsAvailable

US federal awards search

Federal awards: number, recipient, amount, agency, dates, description, NAICS and PSC codes or assistance listing, with the ids that read the award and the recipient in full.

Give it Words, a recipient, an agency, a NAICS code, a state or dates.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
11
Record
18 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/usaspending.awards/runs

{
"input": {
"query": "cybersecurity",
"state": "TX",
"naics": "541512",
"date_from": "2026-01-01",
"date_to": "2026-11-20",
"max_results": 3
}
}

sent, and answered

a record of the run18 fields

{
award_id: "W9124J23F0073"
internal_id: "CONT_AWD_W9124J23F0073_9700_47QTCB21D0337_4732"
url: "https://www.usaspending.gov/award/CONT_AWD_W9124J23F0073_9700_47QTCB21…
award_type: "contracts"
recipient_name: "DIGITAL CONSULTANTS, LLC"
recipient_id: "8dd9fc1c-e2fd-ad71-022d-944130f90dd7-C"
amount: 11869315.85
awarding_agency: "Department of Defense"
awarding_sub_agency: "Department of the Army"
… 9 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 18 fields are set down here; the whole record is below.

usaspending.gov
The page US federal awards search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 23 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Find who wins contracts
Search a NAICS code and state, and rank each recipient_name by amount.
Spot teaming partners
See which companies hold awards from an awarding_agency you want to sell to.
Time your outreach
Sort awards by end_date to reach incumbents and buyers before a contract is recompeted.

What you send

Words, a recipient, an agency, a NAICS code, a state or dates. These are its 11 inputs, as its schema has them.

award_typestring Optional
contracts, idvs (indefinite-delivery vehicles), grants, direct_payments or other.Default contracts
querystring Optional
Words in the award's description, recipient or agency.
recipientstring Optional
Only awards to a recipient whose name holds this text.
agencystring Optional
Only awards made by this department, by its full name.
naicsstring Optional
Only contracts in this NAICS code, 2 to 6 digits.
statestring Optional
Only work done in this US state.
date_fromstring Optional
Only awards active on or after this day. Default: a year back.
date_tostring Optional
Only awards active on or before this day. Default: today.
sortstring Optional
amount (largest first) or newest.Default amount
max_resultsinteger Optional
Awards a page, up to 100.Default 25
pageinteger Optional
The page of results, from 1.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/usaspending.awards/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"cybersecurity","state":"TX","naics":"541512","date_from":"2026-01-01","date_to":"2026-11-20","max_results":3}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("usaspending.awards", {
    "query": "cybersecurity",
    "state": "TX",
    "naics": "541512",
    "date_from": "2026-01-01",
    "date_to": "2026-11-20",
    "max_results": 3,
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("usaspending.awards", {
  query: "cybersecurity",
  state: "TX",
  naics: "541512",
  date_from: "2026-01-01",
  date_to: "2026-11-20",
  max_results: 3,
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "usaspending.awards", map[string]any{"query": "cybersecurity", "state": "TX", "naics": "541512", "date_from": "2026-01-01", "date_to": "2026-11-20", "max_results": 3})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("usaspending.awards", Map.of("query", "cybersecurity", "state", "TX", "naics", "541512", "date_from", "2026-01-01", "date_to", "2026-11-20", "max_results", 3));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run usaspending.awards --input-json '{"query":"cybersecurity","state":"TX","naics":"541512","date_from":"2026-01-01","date_to":"2026-11-20","max_results":3}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Federal awards: number, recipient, amount, agency, dates, description, NAICS and PSC codes or assistance listing, with the ids that read the award and the recipient in full. A record has 18 fields. One we could not read is null, never an empty string or a zero.

A record usaspending.awards returned
{
  "award_id": "W9124J23F0073",
  "internal_id": "CONT_AWD_W9124J23F0073_9700_47QTCB21D0337_4732",
  "url": "https://www.usaspending.gov/award/CONT_AWD_W9124J23F0073_9700_47QTCB21D0337_4732",
  "award_type": "contracts",
  "recipient_name": "DIGITAL CONSULTANTS, LLC",
  "recipient_id": "8dd9fc1c-e2fd-ad71-022d-944130f90dd7-C",
  "amount": 11869315.85,
  "awarding_agency": "Department of Defense",
  "awarding_sub_agency": "Department of the Army",
  "start_date": "2023-05-09",
  "end_date": "2026-11-14",
  "description": "HELP DESK, IT OPERATIONS, AND CYBERSECURITY SERVICES",
  "naics_code": "541512",
  "naics_description": "COMPUTER SYSTEMS DESIGN SERVICES",
  "psc_code": "DG01",
  "psc_description": "IT AND TELECOM - NETWORK SUPPORT SERVICES (LABOR)",
  "assistance_listing": null,
  "fetched_at": "2026-11-23T23:15:36.517838Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

award_idstring
The award's number (PIID or FAIN), e.g. FA862118F6251.
internal_idstring
USAspending's id of the award, which usaspending.award takes, e.g. CONT_AWD_FA862118F6251_9700_FA862115D6276_9700.
urlstring
The award's page on usaspending.gov.
award_typestring
What was searched: contracts, idvs, grants, direct_payments or other.
recipient_namestring or null
Who received the award.
recipient_idstring or null
USAspending's id of the recipient, which usaspending.recipient takes.
amountnumber or null
The amount of the award, in US dollars.
awarding_agencystring or null
The department that made the award.
awarding_sub_agencystring or null
The agency within it.
start_datestring or null
The start of the period of performance, YYYY-MM-DD.
end_datestring or null
Its end, YYYY-MM-DD; for an indefinite-delivery vehicle the last day to order.
descriptionstring or null
The award's description.
naics_codestring or null
The NAICS industry code of a contract.
naics_descriptionstring or null
What that code means.
psc_codestring or null
The product or service code of a contract.
psc_descriptionstring or null
What that code means.
assistance_listingstring or null
The assistance listing number (CFDA) of a grant.
fetched_atdatetime
When USAspending was asked, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • Awards appear as agencies report them, so the newest can be missing.
  • A filter USAspending refuses ends as failed with the reason invalid_query, and costs nothing.

The bounds its schema sets

award_type
contracts, idvs, grants, direct_payments, other; contracts unless you say otherwise
sort
amount, newest; amount unless you say otherwise
max_results
1 to 100; 25 unless you say otherwise
page
1 to 1,000; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does US federal awards search return?

Federal awards: number, recipient, amount, agency, dates, description, NAICS and PSC codes or assistance listing, with the ids that read the award and the recipient in full. A record has 18 fields, among them award_id, internal_id, url, award_type, recipient_name and recipient_id. A value that could not be read is null, never an empty string or a zero.

What do I send?

Words, a recipient, an agency, a NAICS code, a state or dates. Optional: award_type, query, recipient, agency, naics, state, date_from, date_to, sort, max_results and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: award_type contracts, idvs, grants, direct_payments, other (contracts unless you say otherwise); sort amount, newest (amount unless you say otherwise); max_results 1 to 100 (25 unless you say otherwise); page 1 to 1,000 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

Awards appear as agencies report them, so the newest can be missing. A filter USAspending refuses ends as failed with the reason invalid_query, and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id usaspending.awards and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs US federal awards search as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Public sector

    Award Teaming Leads

    Companies that just won government contracts in your field, with what they won, their website and the email they publish.

USAspending

US federal contracts, grants and other awards from USAspending.gov: searches, one award in full, and the companies that receive them.

  • US federal award

    usaspending.award

    USAspending's id of an award, or its address. The award in full: amounts and ceiling, dates, agencies and office, recipient and parent, place of performance, NAICS and PSC codes, competition, offers, set-aside, and subawards.

  • US federal award recipient

    usaspending.recipient

    USAspending's id of a recipient, or a company's name. The recipient: name, Unique Entity ID, level, parent, business types, place, and what it received in the last 12 months.

USAspending on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.